pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/filezilla filezilla: build fix for 32-bit x86



details:   https://anonhg.NetBSD.org/pkgsrc/rev/606d622002e7
branches:  trunk
changeset: 396900:606d622002e7
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Jun 12 00:50:05 2019 +0000

description:
filezilla: build fix for 32-bit x86

As of version 3.41, Filezilla now requires 64-bit atomic integer ops,
handle accordingly. (XXX: Filezilla will presumably also break on other
architectures as a result, e.g. macppc.)

diffstat:

 net/filezilla/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1b974d2472f4 -r 606d622002e7 net/filezilla/Makefile
--- a/net/filezilla/Makefile    Tue Jun 11 23:50:13 2019 +0000
+++ b/net/filezilla/Makefile    Wed Jun 12 00:50:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.112 2019/05/25 07:46:09 wiz Exp $
+# $NetBSD: Makefile,v 1.113 2019/06/12 00:50:05 gutteridge Exp $
 
 VERSION=       3.42.1
 DISTNAME=      FileZilla_${VERSION}_src
@@ -26,6 +26,11 @@
 
 .include "options.mk"
 
+# As of 3.41, 64-bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=     -march=i586
+.endif
+
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/libidn/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"



Home | Main Index | Thread Index | Old Index