aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gsi
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-19 02:05:47 +0800
committerkrion <krion@FreeBSD.org>2004-08-19 02:05:47 +0800
commit5918dd43c7695072ac49acb8d81b8fc3d100e98f (patch)
tree83e90d384695545a6523fb31c806f93c362fa550 /audio/gsi
parentc453eafc1c1f67dfa7c5169df7b0d4d93af06e81 (diff)
downloadfreebsd-ports-gnome-5918dd43c7695072ac49acb8d81b8fc3d100e98f.tar.gz
freebsd-ports-gnome-5918dd43c7695072ac49acb8d81b8fc3d100e98f.tar.zst
freebsd-ports-gnome-5918dd43c7695072ac49acb8d81b8fc3d100e98f.zip
Fix build with gcc-3.4
PR: ports/70626 Submitted by: Ports Fury
Diffstat (limited to 'audio/gsi')
-rw-r--r--audio/gsi/Makefile8
-rw-r--r--audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c10
2 files changed, 11 insertions, 7 deletions
diff --git a/audio/gsi/Makefile b/audio/gsi/Makefile
index b03a564aa7f1..b3b1baf05103 100644
--- a/audio/gsi/Makefile
+++ b/audio/gsi/Makefile
@@ -29,12 +29,6 @@ MAN5= gsi.conf.5
MAN7= gsi_overview.7
MAN8= gsi_server.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile with gcc 3.4.2"
-.endif
-
post-extract:
@${RM} -f ${WRKSRC}/lib/include/gsi/gsisynth.h
@@ -64,4 +58,4 @@ post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c b/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c
new file mode 100644
index 000000000000..ad44e184a8f9
--- /dev/null
+++ b/audio/gsi/files/patch-lib::gsimidi_pcm::midi_parse.c
@@ -0,0 +1,10 @@
+--- lib/gsimidi_pcm/midi_parse.c.orig Sun Jan 14 20:01:27 2001
++++ lib/gsimidi_pcm/midi_parse.c Wed Aug 18 18:34:03 2004
+@@ -349,6 +349,7 @@
+ case 0xfc: /* Midi stop */
+ case 0xfe: /* Active sense */
+ case 0xff: /* Reset */
++ ;
+ }
+ }
+