pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/libgig/patches



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Dec  3 09:33:11 UTC 2020

Added Files:
        pkgsrc/audio/libgig/patches: patch-src_Akai.h

Log Message:
libgag: Add missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libgig/patches/patch-src_Akai.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/libgig/patches/patch-src_Akai.h
diff -u /dev/null pkgsrc/audio/libgig/patches/patch-src_Akai.h:1.1
--- /dev/null   Thu Dec  3 09:33:11 2020
+++ pkgsrc/audio/libgig/patches/patch-src_Akai.h        Thu Dec  3 09:33:11 2020
@@ -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;



Home | Main Index | Thread Index | Old Index