diff options
-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) |