pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libgig/patches libgag: Add missing patch
details: https://anonhg.NetBSD.org/pkgsrc/rev/43524ccce3d5
branches: trunk
changeset: 442893:43524ccce3d5
user: nia <nia%pkgsrc.org@localhost>
date: Thu Dec 03 09:33:11 2020 +0000
description:
libgag: Add missing patch
diffstat:
audio/libgig/patches/patch-src_Akai.h | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 1ca94e86134d -r 43524ccce3d5 audio/libgig/patches/patch-src_Akai.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libgig/patches/patch-src_Akai.h Thu Dec 03 09:33:11 2020 +0000
@@ -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