diff options
author | arved <arved@FreeBSD.org> | 2002-12-04 20:34:24 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2002-12-04 20:34:24 +0000 |
commit | f5e4a1f4dcc1842d70c652437fc28200451bed26 (patch) | |
tree | 3b1eb37aa9366f127809f99776ff6dc88ded0ca4 /audio/glame | |
parent | 43d6216a0e84cf0ef575ae8701e16728ff5fe5be (diff) | |
download | FreeBSD-ports-f5e4a1f4dcc1842d70c652437fc28200451bed26.zip FreeBSD-ports-f5e4a1f4dcc1842d70c652437fc28200451bed26.tar.gz |
Unbreak on -CURRENT
Approved by: sobomax
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 21b52bb..8684e41 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 0000000..97f682f --- /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> |