aboutsummaryrefslogtreecommitdiff
path: root/audio/glame
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-03-26 08:13:03 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-03-26 08:13:03 +0000
commit05ea71a011cb85ec9ffa9f18edf6ccbf4c156e50 (patch)
treef4a6094274804121e661e9acdfd689c2fa459073 /audio/glame
parent986c93eec4b84468465aa5005d7c848eaf9baa4e (diff)
downloadports-05ea71a011cb85ec9ffa9f18edf6ccbf4c156e50.tar.gz
ports-05ea71a011cb85ec9ffa9f18edf6ccbf4c156e50.zip
Notes
Diffstat (limited to 'audio/glame')
-rw-r--r--audio/glame/Makefile8
-rw-r--r--audio/glame/files/patch-src::hash::glsignal.c11
2 files changed, 12 insertions, 7 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
index 93344d0cc4f2..9c878e4522c4 100644
--- a/audio/glame/Makefile
+++ b/audio/glame/Makefile
@@ -28,12 +28,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
INFO= glame glame-dev
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN= "Does not compile on alpha"
-.endif
-
post-extract:
@cd ${WRKSRC}/doc && ${RM} -f *.info*
@@ -43,4 +37,4 @@ post-patch:
s|,$$LTDLINCL,|,,|g ; \
s|,$$LTLIBOBJS,|,,|g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/glame/files/patch-src::hash::glsignal.c b/audio/glame/files/patch-src::hash::glsignal.c
new file mode 100644
index 000000000000..28be36af36d9
--- /dev/null
+++ b/audio/glame/files/patch-src::hash::glsignal.c
@@ -0,0 +1,11 @@
+--- src/hash/glsignal.c.orig Wed Mar 24 12:49:38 2004
++++ src/hash/glsignal.c Wed Mar 24 12:59:16 2004
+@@ -35,6 +35,8 @@
+ va_list vax;
+ #if defined HAVE_GCC && defined __va_copy
+ __va_copy(vax, va);
++#elif (defined(__FreeBSD__) && __FreeBSD__ >= 5)
++ va_copy(vax, va);
+ #elif !(defined OS_BSD && defined CPU_X86 && defined HAVE_GCC)
+ memcpy(vax, va, sizeof(va_list));
+ #endif