Date: Wed, 10 Jun 2020 11:26:04 +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: r538390 - in head/irc/srain: . files Message-ID: <202006101126.05ABQ4g8002756@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Wed Jun 10 11:26:04 2020 New Revision: 538390 URL: https://svnweb.freebsd.org/changeset/ports/538390 Log: Remove -std=gnu11 from internal compiler flags to attempt to fix build on GCC-based systems such as powerpc64: cc1: error: unrecognized command line option "-std=gnu11" This is necessary but insufficient. I have not yet tried the patch from PR 247107, which may be needed.. Approved by: portmgr (tier-2 blanket) Modified: head/irc/srain/Makefile head/irc/srain/files/patch-src_Makefile Modified: head/irc/srain/Makefile ============================================================================== --- head/irc/srain/Makefile Wed Jun 10 11:16:44 2020 (r538389) +++ head/irc/srain/Makefile Wed Jun 10 11:26:04 2020 (r538390) @@ -14,7 +14,7 @@ LIB_DEPENDS= libconfig.so:devel/libconfig \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup -USES= gettext-tools gmake gnome pkgconfig ssl +USES= compiler:c11 gettext-tools gmake gnome pkgconfig ssl USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango USE_GITHUB= yes Modified: head/irc/srain/files/patch-src_Makefile ============================================================================== --- head/irc/srain/files/patch-src_Makefile Wed Jun 10 11:16:44 2020 (r538389) +++ head/irc/srain/files/patch-src_Makefile Wed Jun 10 11:26:04 2020 (r538390) @@ -5,7 +5,7 @@ LIBSECRETLIBS =$(shell pkg-config --libs libsecret-1) -CFLAGS += -std=gnu99 -O2 -Wall -Iinc -Wno-deprecated-declarations \ -+CFLAGS += -std=gnu11 -Wall -Iinc -Wno-deprecated-declarations \ ++CFLAGS += -Wall -Iinc -Wno-deprecated-declarations \ $(DEFS) \ $(DBGFLAGS) \ $(GTK3FLAGS) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006101126.05ABQ4g8002756>