aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-11-28 09:39:34 +0800
committerlioux <lioux@FreeBSD.org>2005-11-28 09:39:34 +0800
commitc626bbcd387fc0124acb89920b53aab5d397d597 (patch)
treeca14d2292594322c90862e02ad045c39d669d85e
parentc0d4923799a4c506cde4b632046f7ecac4f1d48d (diff)
downloadfreebsd-ports-gnome-c626bbcd387fc0124acb89920b53aab5d397d597.tar.gz
freebsd-ports-gnome-c626bbcd387fc0124acb89920b53aab5d397d597.tar.zst
freebsd-ports-gnome-c626bbcd387fc0124acb89920b53aab5d397d597.zip
Fix build for amd64, ia64 and sparc64; thus, remove BROKEN
-rw-r--r--net-p2p/mldonkey-devel/Makefile4
-rw-r--r--net-p2p/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c18
-rw-r--r--net/mldonkey-devel/Makefile4
-rw-r--r--net/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c18
4 files changed, 36 insertions, 8 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index a38c929160df..38afaf30df90 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/Makefile
@@ -83,10 +83,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on ${ARCH}"
-.endif
-
# Fix build on 4.x
.if ${OSVERSION} < 500000
USE_GCC= 3.4
diff --git a/net-p2p/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c b/net-p2p/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c
new file mode 100644
index 000000000000..843082dec0d9
--- /dev/null
+++ b/net-p2p/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c
@@ -0,0 +1,18 @@
+--- src/utils/lib/sha1new_c.c.orig Sun Nov 27 21:34:48 2005
++++ src/utils/lib/sha1new_c.c Sun Nov 27 22:10:11 2005
+@@ -152,6 +152,7 @@
+
+ #if defined( __alpha__ ) || defined( __alpha ) || defined( i386 ) || \
+ defined( __i386__ ) || defined( _M_I86 ) || defined( _M_IX86 ) || \
++ defined(__amd64__) || defined(__ia64__) || \
+ defined( __OS2__ ) || defined( sun386 ) || defined( __TURBOC__ ) || \
+ defined( vax ) || defined( vms ) || defined( VMS ) || \
+ defined( __VMS )
+@@ -162,6 +163,7 @@
+ defined( ibm370 ) || defined( mc68000 ) || defined( m68k ) || \
+ defined( __MRC__ ) || defined( __MVS__ ) || defined( __MWERKS__ ) || \
+ defined( sparc ) || defined( __sparc) || defined( SYMANTEC_C ) || \
++ defined(__sparc64__) || \
+ defined( __TANDEM ) || defined( THINK_C ) || defined( __VMCMS__ )
+ # define PLATFORM_BYTE_ORDER BRG_BIG_ENDIAN
+
diff --git a/net/mldonkey-devel/Makefile b/net/mldonkey-devel/Makefile
index a38c929160df..38afaf30df90 100644
--- a/net/mldonkey-devel/Makefile
+++ b/net/mldonkey-devel/Makefile
@@ -83,10 +83,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on ${ARCH}"
-.endif
-
# Fix build on 4.x
.if ${OSVERSION} < 500000
USE_GCC= 3.4
diff --git a/net/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c b/net/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c
new file mode 100644
index 000000000000..843082dec0d9
--- /dev/null
+++ b/net/mldonkey-devel/files/patch-src__utils__lib__sha1new_c.c
@@ -0,0 +1,18 @@
+--- src/utils/lib/sha1new_c.c.orig Sun Nov 27 21:34:48 2005
++++ src/utils/lib/sha1new_c.c Sun Nov 27 22:10:11 2005
+@@ -152,6 +152,7 @@
+
+ #if defined( __alpha__ ) || defined( __alpha ) || defined( i386 ) || \
+ defined( __i386__ ) || defined( _M_I86 ) || defined( _M_IX86 ) || \
++ defined(__amd64__) || defined(__ia64__) || \
+ defined( __OS2__ ) || defined( sun386 ) || defined( __TURBOC__ ) || \
+ defined( vax ) || defined( vms ) || defined( VMS ) || \
+ defined( __VMS )
+@@ -162,6 +163,7 @@
+ defined( ibm370 ) || defined( mc68000 ) || defined( m68k ) || \
+ defined( __MRC__ ) || defined( __MVS__ ) || defined( __MWERKS__ ) || \
+ defined( sparc ) || defined( __sparc) || defined( SYMANTEC_C ) || \
++ defined(__sparc64__) || \
+ defined( __TANDEM ) || defined( THINK_C ) || defined( __VMCMS__ )
+ # define PLATFORM_BYTE_ORDER BRG_BIG_ENDIAN
+