Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2018 22:12:57 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486988 - head/lang/swi-pl
Message-ID:  <201812082212.wB8MCvUn000498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Dec  8 22:12:57 2018
New Revision: 486988
URL: https://svnweb.freebsd.org/changeset/ports/486988

Log:
  gnu qsort check goes into an infinite loop on aarch64.  Disable it.
  
  PR:		233033
  Submitted by:	Greg V <greg at unrelenting dot technology>
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/lang/swi-pl/Makefile

Modified: head/lang/swi-pl/Makefile
==============================================================================
--- head/lang/swi-pl/Makefile	Sat Dec  8 20:43:53 2018	(r486987)
+++ head/lang/swi-pl/Makefile	Sat Dec  8 22:12:57 2018	(r486988)
@@ -12,16 +12,16 @@ COMMENT=	Edinburgh-style Prolog compiler
 
 LICENSE=	BSD2CLAUSE
 
+BROKEN_mips=		fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
+BROKEN_mips64=		fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
+BROKEN_powerpc64=	fails to compile: pce_principal.pl:155: Shared object "pl2xpce" not found, required by "swipl"
+
 LIB_DEPENDS=	libgmp.so:math/gmp \
 		libodbc.so:databases/unixODBC \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libpcre.so:devel/pcre
 
-BROKEN_mips=		fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
-BROKEN_mips64=		fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
-BROKEN_powerpc64=	fails to compile: pce_principal.pl:155: Shared object "pl2xpce" not found, required by "swipl"
-
 SWIPLDIR=	${PORTNAME:C/-//}-${PORTVERSION}
 
 NOPRECIOUSMAKEVARS=	yes
@@ -56,6 +56,10 @@ PLIST_SUB+=	BITS=64
 
 .if (${ARCH} == amd64)
 ARCH=		x86_64
+.endif
+
+.if (${ARCH} == aarch64)
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-skip-gnu-qsort
 .endif
 
 post-configure:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812082212.wB8MCvUn000498>