diff options
Diffstat (limited to 'media-gfx/xpaint/files/xpaint-3.1.3-cflags-ldflags-strip.patch')
-rw-r--r-- | media-gfx/xpaint/files/xpaint-3.1.3-cflags-ldflags-strip.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/media-gfx/xpaint/files/xpaint-3.1.3-cflags-ldflags-strip.patch b/media-gfx/xpaint/files/xpaint-3.1.3-cflags-ldflags-strip.patch deleted file mode 100644 index f0677c0d7137..000000000000 --- a/media-gfx/xpaint/files/xpaint-3.1.3-cflags-ldflags-strip.patch +++ /dev/null @@ -1,41 +0,0 @@ -The original Makefiles did not pass CFLAGS and LDFLAGS, causing QA warnings -See also bug https://bugs.gentoo.org/727632 -Also remove -O3 and stripping, leave portage control that ---- a/vxp2ps/Makefile -+++ b/vxp2ps/Makefile -@@ -3,16 +3,16 @@ - all: vxp2ps vxp2tex vxp2dkw - - vxp2ps: vxp2ps.c -- gcc vxp2ps.c -o vxp2ps -lm $(CFLAGSEXTRA) -+ $(CC) vxp2ps.c -o vxp2ps -lm $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) - - vxp2tex: vxp2tex.c -- gcc vxp2tex.c -o vxp2tex -lm -+ $(CC) vxp2tex.c -o vxp2tex -lm $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) - - vxp2dkw: vxp2dkw.c -- gcc vxp2dkw.c -o vxp2dkw -lm -+ $(CC) vxp2dkw.c -o vxp2dkw -lm $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) - - install: all -- install -c -s vxp2ps vxp2tex vxp2dkw "$(DESTDIR)"/usr/bin -+ install -c vxp2ps vxp2tex vxp2dkw "$(DESTDIR)"/usr/bin - - clean: - rm -f core *~ vxp2ps vxp2tex vxp2dkw ---- a/util/Makefile -+++ b/util/Makefile -@@ -10,10 +10,10 @@ - endif - - pdfconcat: -- $(CC) $(CFLAGS) -O3 -s -DNDEBUG=1 -DNO_CONFIG=1 -ansi -pedantic -Wunused -Wall -W -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes -Wmissing-declarations pdfconcat.c -o pdfconcat -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DNDEBUG=1 -DNO_CONFIG=1 -ansi -pedantic -Wunused -Wall -W -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes -Wmissing-declarations pdfconcat.c -o pdfconcat - - ppmtops: -- $(CC) $(CFLAGS) ppmtops.c -o ppmtops -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) ppmtops.c -o ppmtops - - ifneq ($(WITH_PGF),no) - pgf2pnm: main.cpp pnm.cpp |