summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-12-14 19:57:10 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-12-17 15:33:11 +0000
commit48bf882b5f3a8e6c5c20be8a115d7ce79537c0ed (patch)
treeb9851ffbbd08f527d406cd7b0e198826fe1845ce /patches
parentfd4393057a88a9662a3af3a69925d25f3be28cf2 (diff)
downloadmidipix_build-48bf882b5f3a8e6c5c20be8a115d7ce79537c0ed.tar.bz2
midipix_build-48bf882b5f3a8e6c5c20be8a115d7ce79537c0ed.tar.xz
groups/231.native_packages_etc.group: adds openjazz (git master)
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/openjazz.local.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/openjazz.local.patch b/patches/openjazz.local.patch
new file mode 100644
index 00000000..89c167c3
--- /dev/null
+++ b/patches/openjazz.local.patch
@@ -0,0 +1,27 @@
+From 4adf2fb178b1bb20a5c48158f08a9b19e30d463a Mon Sep 17 00:00:00 2001
+From: Fabian Greffrath <fabian@greffrath.com>
+Date: Thu, 28 Nov 2019 10:44:06 +0100
+Subject: [PATCH] look in ~/.openjazz for data files
+
+This patch is now applied in both Arch Linux and Debian, so it probably
+makes sense to have it upstream.
+
+Presumably no users will ever want to have their openjazz data stored
+directly in their $HOME directory.
+---
+ src/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.cpp b/src/main.cpp
+index 59b3219..1e71867 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -196,7 +196,7 @@ void startUp (int argc, char *argv[]) {
+ #ifdef _WIN32
+ firstPath = new Path(firstPath, createString(getenv("HOME"), "\\"));
+ #else
+- firstPath = new Path(firstPath, createString(getenv("HOME"), "/."));
++ firstPath = new Path(firstPath, createString(getenv("HOME"), "/.openjazz/"));
+ #endif
+ #endif
+