aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-25 06:47:20 +0800
committerkrion <krion@FreeBSD.org>2004-03-25 06:47:20 +0800
commit1446cdbabb877152976aa485fbdfc55110eca348 (patch)
tree6aa463632a5c54a1bf44b9403a6536875ba9cd3e
parent5ab22a646809cf6d7cf6b8bc1cdb1f2a55ffd67e (diff)
downloadfreebsd-ports-gnome-1446cdbabb877152976aa485fbdfc55110eca348.tar.gz
freebsd-ports-gnome-1446cdbabb877152976aa485fbdfc55110eca348.tar.zst
freebsd-ports-gnome-1446cdbabb877152976aa485fbdfc55110eca348.zip
- Fix build on AMD64
- Assign maintainership to submitter PR: ports/64649 Submitted by: Chia-Hsing Yu <davidyu@speech.csie.ntu.edu.tw>
-rw-r--r--devel/ossp-ex/Makefile13
-rw-r--r--devel/ossp-ex/files/patch-ts.c11
2 files changed, 17 insertions, 7 deletions
diff --git a/devel/ossp-ex/Makefile b/devel/ossp-ex/Makefile
index 313d1cea3e49..85d037f348f1 100644
--- a/devel/ossp-ex/Makefile
+++ b/devel/ossp-ex/Makefile
@@ -9,24 +9,23 @@
PORTNAME= ex
PORTVERSION= 1.0.2
-PORTREVISION= 1
-PORTEPOCH= 0
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ossp.org/pkg/lib/ex/
PKGNAMEPREFIX= ossp-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= me@davidyu.org
COMMENT= OSSP ex is a small exception handling library for use in C
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_LIBTOOL_VER= 13
-INSTALLS_SHLIB= yes
+INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha" || ${ARCH} == "amd64"
-BROKEN= "Does not compile on alpha or amd64"
+.if ${ARCH} == "alpha"
+BROKEN= "Does not compile on alpha"
.endif
.include "${FILESDIR}/manpages.mk"
diff --git a/devel/ossp-ex/files/patch-ts.c b/devel/ossp-ex/files/patch-ts.c
new file mode 100644
index 000000000000..6ef80977b360
--- /dev/null
+++ b/devel/ossp-ex/files/patch-ts.c
@@ -0,0 +1,11 @@
+--- ts.c.orig Wed Mar 24 17:36:35 2004
++++ ts.c Wed Mar 24 17:36:49 2004
+@@ -202,7 +202,7 @@
+
+ if (format == NULL || ap == NULL)
+ return NULL;
+- ap2 = ap;
++ va_copy(ap2, ap);
+ if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)
+ return NULL;
+ if ((buffer = (char *)malloc(n+1)) == NULL)