summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-14 09:48:27 +0000
committerarved <arved@FreeBSD.org>2004-08-14 09:48:27 +0000
commit1050948c1d0f6d778dddf957b373783864eec7cc (patch)
tree0afe6fa057ce6573fed25b16a9c3023c99ad780a /ftp
parent8ffacb72a6a8fe513da024920393f2b9eb8dccb6 (diff)
downloadFreeBSD-ports-1050948c1d0f6d778dddf957b373783864eec7cc.zip
FreeBSD-ports-1050948c1d0f6d778dddf957b373783864eec7cc.tar.gz
Fix build with gcc 3.4
Reported by: pointyhat Mark IGNORE on amd64, crahes on startup. Probably broken on other 64bit archs too, because of a lot of LP64-warnings.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/IglooFTP/Makefile8
-rw-r--r--ftp/IglooFTP/files/patch-ftp_tree.h15
2 files changed, 22 insertions, 1 deletions
diff --git a/ftp/IglooFTP/Makefile b/ftp/IglooFTP/Makefile
index d8776eb..f924021 100644
--- a/ftp/IglooFTP/Makefile
+++ b/ftp/IglooFTP/Makefile
@@ -22,6 +22,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_X_PREFIX= yes
USE_GNOME= gtk12
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+IGNORE= "crashes on startup"
+.endif
+
post-extract:
@${RM} ${WRKSRC}/../share/docs/LICENSE~
@@ -32,4 +38,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/IglooFTP/files/patch-ftp_tree.h b/ftp/IglooFTP/files/patch-ftp_tree.h
new file mode 100644
index 0000000..ec58c48
--- /dev/null
+++ b/ftp/IglooFTP/files/patch-ftp_tree.h
@@ -0,0 +1,15 @@
+--- src/ftp_tree.h.orig Sat Aug 14 11:40:27 2004
++++ ftp_tree.h Sat Aug 14 11:41:17 2004
+@@ -321,10 +321,12 @@
+ break;
+
+ default:
++ break;
+ }
+ break;
+
+ default:
++ break;
+ }
+ return FALSE;
+ }
OpenPOWER on IntegriCloud