diff options
author | arved <arved@FreeBSD.org> | 2004-04-14 00:37:53 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-04-14 00:37:53 +0800 |
commit | c50f8a8ab77bcfdfa5a90991bf7a1776ca7c3267 (patch) | |
tree | 739e8eb0b25daffb028c89fa03286fb3c4dfe5d8 /devel/ossp-al | |
parent | 3fb21938efef095eb5086b152fad8b16d87d49a8 (diff) | |
download | freebsd-ports-gnome-c50f8a8ab77bcfdfa5a90991bf7a1776ca7c3267.tar.gz freebsd-ports-gnome-c50f8a8ab77bcfdfa5a90991bf7a1776ca7c3267.tar.zst freebsd-ports-gnome-c50f8a8ab77bcfdfa5a90991bf7a1776ca7c3267.zip |
Attempt to fix build by using va_copy on amd64
Diffstat (limited to 'devel/ossp-al')
-rw-r--r-- | devel/ossp-al/Makefile | 4 | ||||
-rw-r--r-- | devel/ossp-al/files/patch-ts.c | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/devel/ossp-al/Makefile b/devel/ossp-al/Makefile index f01320692683..0bb9dc560d90 100644 --- a/devel/ossp-al/Makefile +++ b/devel/ossp-al/Makefile @@ -28,9 +28,5 @@ INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= "Does not compile on amd64" -.endif - .include "${FILESDIR}/manpages.mk" .include <bsd.port.post.mk> diff --git a/devel/ossp-al/files/patch-ts.c b/devel/ossp-al/files/patch-ts.c new file mode 100644 index 000000000000..b5ecaf43e8a2 --- /dev/null +++ b/devel/ossp-al/files/patch-ts.c @@ -0,0 +1,14 @@ +--- ts.c.orig Tue Apr 13 18:08:17 2004 ++++ ts.c Tue Apr 13 18:12:43 2004 +@@ -202,7 +202,11 @@ + + if (format == NULL) + return NULL; ++#ifdef __amd64__ ++ va_copy(ap2,ap); ++#else + ap2 = ap; ++#endif + if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1) + return NULL; + if ((buffer = (char *)malloc(n+1)) == NULL) |