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

12 lines
350 B
Diff

--- src/OSYS.cpp.orig 2020-10-09 21:04:48.099663838 +0700
+++ 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);