diff options
author | vs <vs@FreeBSD.org> | 2004-03-26 16:13:03 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-03-26 16:13:03 +0800 |
commit | 9cb45221a836ea7aee353e790bd8e3b3850d7d84 (patch) | |
tree | dafcae501f149c789b0fd71f94386761852e8588 | |
parent | 7d2873bea815b1e3382758a40c8329169ab32d3e (diff) | |
download | freebsd-ports-gnome-9cb45221a836ea7aee353e790bd8e3b3850d7d84.tar.gz freebsd-ports-gnome-9cb45221a836ea7aee353e790bd8e3b3850d7d84.tar.zst freebsd-ports-gnome-9cb45221a836ea7aee353e790bd8e3b3850d7d84.zip |
Unreak on alpha/CURRENT and hopefully make the world a better place
by using va_copy() instead of memcpy() on 5.x
Noticed by: bento/kris
Approved by: linimon (mentor)
-rw-r--r-- | audio/glame/Makefile | 8 | ||||
-rw-r--r-- | audio/glame/files/patch-src::hash::glsignal.c | 11 |
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 |