summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-03 09:33:11 +0000
committernia <nia@pkgsrc.org>2020-12-03 09:33:11 +0000
commit39f9528a592c282d56ecd8787007a241fd0d599c (patch)
tree311608f46a0913b212aabe6c70c99b121d3a2b9b /audio
parent45906a4a0009be96ece0b3699e04d4e87848be5b (diff)
downloadpkgsrc-39f9528a592c282d56ecd8787007a241fd0d599c.tar.gz
libgag: Add missing patch
Diffstat (limited to 'audio')
-rw-r--r--audio/libgig/patches/patch-src_Akai.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/libgig/patches/patch-src_Akai.h b/audio/libgig/patches/patch-src_Akai.h
new file mode 100644
index 00000000000..826409667ee
--- /dev/null
+++ b/audio/libgig/patches/patch-src_Akai.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_Akai.h,v 1.1 2020/12/03 09:33:11 nia Exp $
+
+Make this build on non-Linux non-Apple unixes.
+
+--- src/Akai.h.orig 2019-02-20 19:12:49.000000000 +0000
++++ src/Akai.h
+@@ -30,7 +30,7 @@
+ # include <config.h>
+ #endif
+
+-#if !defined(_CARBON_) && !defined(__APPLE__) && !defined(WIN32)
++#if defined(__linux__)
+ # define LINUX 1
+ #endif
+
+@@ -147,7 +147,7 @@ public:
+ protected:
+ #ifdef WIN32
+ HANDLE mFile;
+-#elif defined _CARBON_ || defined(__APPLE__) || LINUX
++#else
+ int mFile;
+ #endif
+ bool mRegularFile;