mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
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)
This commit is contained in:
parent
986c93eec4
commit
05ea71a011
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105305
@ -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>
|
||||
|
11
audio/glame/files/patch-src::hash::glsignal.c
Normal file
11
audio/glame/files/patch-src::hash::glsignal.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user