summaryrefslogtreecommitdiff
path: root/audio/xsidplay/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-12-09 02:32:55 +0000
committerhubertf <hubertf>2002-12-09 02:32:55 +0000
commit53f22a222659d7dc82efa4dbbcd0babedc60ea3c (patch)
tree726686cb108b780bef0fb634a3ecc07be223a52a /audio/xsidplay/patches
parent8d4098343b5b218acea5cf2379d01b1c108b5dae (diff)
downloadpkgsrc-53f22a222659d7dc82efa4dbbcd0babedc60ea3c.tar.gz
NFC how this ever compiled - there is no strnicmp on NetBSD.
#define it to use strncasecmp.
Diffstat (limited to 'audio/xsidplay/patches')
-rw-r--r--audio/xsidplay/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/xsidplay/patches/patch-ac b/audio/xsidplay/patches/patch-ac
new file mode 100644
index 00000000000..0d9b46bde42
--- /dev/null
+++ b/audio/xsidplay/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.5 2002/12/09 02:32:55 hubertf Exp $
+
+--- src/tools/TextFile.cpp.orig Wed Oct 11 20:01:40 2000
++++ src/tools/TextFile.cpp
+@@ -27,6 +27,8 @@
+ #include <strstream.h>
+ #endif
+
++#define strnicmp strncasecmp /* HF */
++
+ #include <sidplay/compconf.h>
+ #include <sidplay/fformat.h> // strnicmp stuff
+