Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2018 14:40:13 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480389 - head/sysutils/e2fsprogs
Message-ID:  <201809221440.w8MEeDmF043741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sat Sep 22 14:40:13 2018
New Revision: 480389
URL: https://svnweb.freebsd.org/changeset/ports/480389

Log:
  Attempt to fix build on powerpc64.
  
  Since the reporter has refused to test my proposed patch twice,
  I am committing this anyways.
  
  PR:		231570
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/sysutils/e2fsprogs/Makefile

Modified: head/sysutils/e2fsprogs/Makefile
==============================================================================
--- head/sysutils/e2fsprogs/Makefile	Sat Sep 22 14:21:58 2018	(r480388)
+++ head/sysutils/e2fsprogs/Makefile	Sat Sep 22 14:40:13 2018	(r480389)
@@ -18,10 +18,6 @@ LICENSE_DISTFILES_GPLv2=	${DISTNAME}${EXTRACT_SUFX}
 
 PORTSCOUT=	ignore	# cannot handle the version in the directory
 
-.if !defined(MASTERDIR)
-BROKEN_powerpc64=	fails to build: Entry '..' in Signal (11) SIGSEGV si_code=SEGV_MAPERR fault addr=0x2434
-.endif
-
 USES=		cpe gmake makeinfo pkgconfig tar:xz
 CPE_VENDOR=	e2fsprogs_project
 USE_CSTD=	gnu99
@@ -84,6 +80,12 @@ PKGDEINSTALL=	${PKGINSTALL}
 MAKE_ARGS+=	V=1
 
 .include <bsd.port.options.mk>
+
+. if ${ARCH} == powerpc64
+# Fix powerpc64 SIGSEGV,
+# see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231570
+USES+=		compiler:c11
+. endif
 
 .if ${PORT_OPTIONS:MFUSEFS}
 USES+=		fuse



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