From f5e4a1f4dcc1842d70c652437fc28200451bed26 Mon Sep 17 00:00:00 2001 From: arved Date: Wed, 4 Dec 2002 20:34:24 +0000 Subject: Unbreak on -CURRENT Approved by: sobomax --- audio/glame/Makefile | 4 ---- audio/glame/files/patch-swapfile.c | 13 +++++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 audio/glame/files/patch-swapfile.c 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 -.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 + #include + #include -- cgit