Date: Thu, 24 Mar 2016 19:15:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208265] net-p2p/gtk-gnutella: Fix build of gtk-gnutella 1.1.9 on FreeBSD 9 Message-ID: <bug-208265-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208265 Bug ID: 208265 Summary: net-p2p/gtk-gnutella: Fix build of gtk-gnutella 1.1.9 on FreeBSD 9 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: woodsb02@gmail.com Created attachment 168577 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168577&action= =3Dedit Patch to fix gtk-gnutella 1.1.9 build errors on FreeBSD 9 * Apply upstream patch to prevent pragmas being used for disabling warnings locally before gcc 4.8 [1]. This was introduced when a change was made in gtk-gnutella 1.1.9 to add pragmas to silence spurious warnings with the cla= ng 3.4.1 compiler [2]. Build error on FreeBSD 9: ... cc -c -I../.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread=20 -DCURDIR=3Dsrc/lib -O2 -pipe -isystem /usr/local/include -fstack-protector -fno-strict-aliasing -pthread -momit-leaf-frame-pointer -W -Wall -Wformat= =3D2 -Wshadow -isystem /usr/local/include glog.c glog.c: In function 'gl_logv': glog.c:66: error: #pragma GCC diagnostic not allowed inside functions glog.c:66: error: #pragma GCC diagnostic not allowed inside functions glog.c:73: error: #pragma GCC diagnostic not allowed inside functions *** [glog.o] Error code 1 [1] https://github.com/gtk-gnutella/gtk-gnutella/commit/e6f3adc8436a82ded5e8db3= 656eb5b6b3e64ddf4 [2] https://github.com/gtk-gnutella/gtk-gnutella/commit/3d47182ee7442373ecbc878= 5a696c631855d54f1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208265-13>