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

12 lines
349 B
Diff

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