On Mon, Mar 17, 2014 at 11:49:58PM -0400, Brian Callahan wrote: > Hi ports -- > > Here's a patch for Zile to update it to 2.4.11 - tested on amd64 and macppc. > > The patches are to prevent errors with our gcc (it is confused by the > pragmas). The warning flags in the pragmas are flags I don't think our gcc > even understands anyway. > > OK?
I can't build zile. depbase=`echo src/funcs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -std=gnu99 -DHAVE_CONFIG_H -I. -I./src -I./src -I./lib -I./lib -DPATH_DOCDIR="\"/usr/local/share/doc/zile\"" -I/usr/local/include -I/usr/local/include -O2 -pipe -MT src/funcs.o -MD -MP -MF $depbase.Tpo -c -o src/funcs.o src/funcs.c && mv -f $depbase.Tpo $depbase.Po src/funcs.c:1121: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' src/funcs.c:1122: warning: unknown option after '#pragma GCC diagnostic' kind src/funcs.c: In function 'F_shell_command_on_region': src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions *** Error 1 in . (Makefile:2157 'src/funcs.o') *** Error 1 in . (Makefile:2280 'all-recursive') *** Error 1 in /usr/ports/pobj/zile-2.4.11/zile-2.4.11 (Makefile:1923 'all') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2686 '/usr/ports/pobj/zile-2.4.11/.build_done') *** Error 1 in /usr/ports/editors/zile (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'all') -- Juan Francisco Cantero Hurtado http://juanfra.info
