diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2002-12-04 20:34:24 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2002-12-04 20:34:24 +0000 |
commit | 6a499d259b7a33503950ab8942503e88b83a1866 (patch) | |
tree | b6c29c90fa96ee1dff453f68ef4cc4a679d31e3e /audio/glame | |
parent | Fix shell syntax error. (diff) |
Unbreak on -CURRENT
Approved by: sobomax
Notes
Notes:
svn path=/head/; revision=71371
Diffstat (limited to 'audio/glame')
-rw-r--r-- | audio/glame/Makefile | 4 | ||||
-rw-r--r-- | audio/glame/files/patch-swapfile.c | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile index 21b52bba1bb5..8684e41a1fb5 100644 --- a/audio/glame/Makefile +++ b/audio/glame/Makefile @@ -26,10 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 500000 -BROKEN= "Does not compile" -.endif - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure diff --git a/audio/glame/files/patch-swapfile.c b/audio/glame/files/patch-swapfile.c new file mode 100644 index 000000000000..97f682f4505d --- /dev/null +++ b/audio/glame/files/patch-swapfile.c @@ -0,0 +1,13 @@ +--- src/swapfile/swapfile_fs.c.orig Fri Dec 6 07:35:22 2002 ++++ src/swapfile/swapfile_fs.c Fri Dec 6 07:41:02 2002 +@@ -44,6 +44,10 @@ + #define DEBUG 1 + #endif + ++#if __FreeBSD__ >= 5 ++#define __BSD_VISIBLE 1 ++#endif ++ + #include <sys/stat.h> + #include <sys/types.h> + #include <pthread.h> |