diff options
author | green <green@FreeBSD.org> | 2005-01-23 09:03:51 +0800 |
---|---|---|
committer | green <green@FreeBSD.org> | 2005-01-23 09:03:51 +0800 |
commit | 0d662bd151708dda12323147fa2706e2edfb44d0 (patch) | |
tree | 7bb37561dbe20db8510e9c176dbc67311e5c42d2 /audio | |
parent | 5fbf2ebe6a2b21ec429b2e1c531fe8c623c275df (diff) | |
download | freebsd-ports-gnome-0d662bd151708dda12323147fa2706e2edfb44d0.tar.gz freebsd-ports-gnome-0d662bd151708dda12323147fa2706e2edfb44d0.tar.zst freebsd-ports-gnome-0d662bd151708dda12323147fa2706e2edfb44d0.zip |
Unbreak xmms-imms.
Submitted by: IIJIMA Hiromitsu <isunin@dennougedougakkai-ndd.org>
PR: ports/76014
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms-imms/Makefile | 17 | ||||
-rw-r--r-- | audio/xmms-imms/files/patch-rules.mk | 2 |
2 files changed, 13 insertions, 6 deletions
diff --git a/audio/xmms-imms/Makefile b/audio/xmms-imms/Makefile index ca267dcbb195..039cf810dd9e 100644 --- a/audio/xmms-imms/Makefile +++ b/audio/xmms-imms/Makefile @@ -23,10 +23,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \ fftw3f.3:${PORTSDIR}/math/fftw3-float \ tag.4:${PORTSDIR}/audio/taglib -BROKEN= "Does not compile" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= ${BROKEN} - USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= gtk12 @@ -41,4 +37,15 @@ CONFIGURE_ARGS+=--enable-debug .endif INSTALLS_SHLIB= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +USE_REINPLACE= yes + +post-patch: + @cd ${WRKSRC} && \ + ${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \ + players/xmms/plugin.h analyzer/spectrum.h analyzer/analyzer.cc +.endif + +.include <bsd.port.post.mk> diff --git a/audio/xmms-imms/files/patch-rules.mk b/audio/xmms-imms/files/patch-rules.mk index 90219ddc48ea..277186475a7c 100644 --- a/audio/xmms-imms/files/patch-rules.mk +++ b/audio/xmms-imms/files/patch-rules.mk @@ -1,5 +1,5 @@ --- rules.mk.orig Wed Aug 18 01:56:28 2004 -+++ rules.mk Tue Aug 31 16:13:51 2004 ++++ rules.mk Sat Jan 22 19:49:37 2005 @@ -26,7 +26,7 @@ endif |