aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-09-24 09:04:01 +0800
committerijliao <ijliao@FreeBSD.org>2004-09-24 09:04:01 +0800
commitae4ee7e45defb48b7513f7b3f5bc6d6594bf10b4 (patch)
treedb1907216470c10f3c59d7d1af31cf275e801800 /audio/xmp
parentbbc7ecbc5a6b40b3ce7846672be9399436d4eadd (diff)
downloadfreebsd-ports-gnome-ae4ee7e45defb48b7513f7b3f5bc6d6594bf10b4.tar.gz
freebsd-ports-gnome-ae4ee7e45defb48b7513f7b3f5bc6d6594bf10b4.tar.zst
freebsd-ports-gnome-ae4ee7e45defb48b7513f7b3f5bc6d6594bf10b4.zip
- Fix build on -current after gcc 3.3 import
PR: 71875, 71886 Submitted by: Ports Fury Approved by: portmgr (marcus)
Diffstat (limited to 'audio/xmp')
-rw-r--r--audio/xmp/Makefile12
-rw-r--r--audio/xmp/files/patch-src::loaders::ac1d_load.c10
-rw-r--r--audio/xmp/files/patch-src::loaders::pp10_load.c10
3 files changed, 27 insertions, 5 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 8e41e74727b4..e66b30479bc7 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -15,15 +15,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A player for many different Amiga and PC module formats
-USE_REINPLACE= yes
USE_BZIP2= yes
USE_XLIB= yes
+WANT_GNOME= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-alsa
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CFLAGS="-I${LOCALBASE}/include -fPIC"
USE_AUTOCONF_VER= 213
-WANT_GNOME= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-alsa
+
+CFLAGS+= -fPIC
.include <bsd.port.pre.mk>
diff --git a/audio/xmp/files/patch-src::loaders::ac1d_load.c b/audio/xmp/files/patch-src::loaders::ac1d_load.c
new file mode 100644
index 000000000000..24a0a3beeb07
--- /dev/null
+++ b/audio/xmp/files/patch-src::loaders::ac1d_load.c
@@ -0,0 +1,10 @@
+--- src/loaders/ac1d_load.c.orig Sat Dec 30 03:08:12 2000
++++ src/loaders/ac1d_load.c Sat Sep 18 23:41:47 2004
+@@ -150,6 +150,7 @@
+ case 0x0a:
+ event->fxt = 0x00;
+ case 0x0f:
++ ;
+ }
+ }
+ }
diff --git a/audio/xmp/files/patch-src::loaders::pp10_load.c b/audio/xmp/files/patch-src::loaders::pp10_load.c
new file mode 100644
index 000000000000..02e5b2b7abb4
--- /dev/null
+++ b/audio/xmp/files/patch-src::loaders::pp10_load.c
@@ -0,0 +1,10 @@
+--- src/loaders/pp10_load.c.orig Sat Dec 30 03:08:46 2000
++++ src/loaders/pp10_load.c Sat Sep 18 23:44:27 2004
+@@ -226,6 +226,7 @@
+ case 0x0a:
+ event->fxt = 0x00;
+ case 0x0f:
++ ;
+ }
+ }
+