forked from Lainports/freebsd-ports
- Unbreak build on amd64
PR: ports/67335 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
c499108a3e
commit
fff04a4434
2 changed files with 16 additions and 8 deletions
|
|
@ -11,7 +11,7 @@ CATEGORIES= devel
|
|||
MASTER_SITES= ftp://ftp.ossp.org/pkg/lib/${PORTNAME}/
|
||||
PKGNAMEPREFIX= ossp-
|
||||
|
||||
MAINTAINER= fuyuki@nigredo.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A generic and extensible framework for serialization
|
||||
|
||||
USE_LIBTOOL_VER= 15
|
||||
|
|
@ -23,10 +23,4 @@ MAN3= xds.3
|
|||
test:
|
||||
cd ${WRKSRC}; make check
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not compile on amd64"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
14
devel/ossp-xds/files/patch-xds.c
Normal file
14
devel/ossp-xds/files/patch-xds.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- xds.c.orig Mon Feb 17 21:33:40 2003
|
||||
+++ xds.c Sat May 29 19:07:41 2004
|
||||
@@ -383,7 +383,11 @@
|
||||
|
||||
/* Execute the engine. */
|
||||
used_buffer_size = 0;
|
||||
+#ifdef __amd64__
|
||||
+ va_copy(args_backup, args);
|
||||
+#else
|
||||
args_backup = args;
|
||||
+#endif
|
||||
rc = (*xds->engines[pos].engine)(
|
||||
xds, xds->engines[pos].context,
|
||||
xds->buffer + xds->buffer_len,
|
||||
Loading…
Add table
Reference in a new issue