aboutsummaryrefslogtreecommitdiff
path: root/devel/ossp-al
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-04-13 16:37:53 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-04-13 16:37:53 +0000
commita020008b8a9d74b210dd560e0e30c44b5a569f81 (patch)
tree765c31a808e8cbf765caddcda1595c7fad35184f /devel/ossp-al
parent3a5febfa9dbf1129070c670c8ca9fa794a1f08dc (diff)
downloadports-a020008b8a9d74b210dd560e0e30c44b5a569f81.tar.gz
ports-a020008b8a9d74b210dd560e0e30c44b5a569f81.zip
Notes
Diffstat (limited to 'devel/ossp-al')
-rw-r--r--devel/ossp-al/Makefile4
-rw-r--r--devel/ossp-al/files/patch-ts.c14
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)