void-packages/srcpkgs/7kaa/patches/default-data.patch

12 lines
359 B
Diff

--- a/7kaa/src/OSYS.cpp 2020-10-09 21:04:48.099663838 +0700
+++ b/7kaa/src/OSYS.cpp 2020-10-09 21:06:49.111299505 +0700
@@ -2777,6 +2777,8 @@
// test environment variable SKDATA for the path
env_data_path = getenv("SKDATA");
+ if (!env_data_path)
+ env_data_path = "/usr/share/7kaa";
if (env_data_path)
{
chdir(env_data_path);