diff options
Diffstat (limited to 'media-gfx/xpaint/files')
-rw-r--r-- | media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch | 13 | ||||
-rw-r--r-- | media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch | 18 |
2 files changed, 0 insertions, 31 deletions
diff --git a/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch b/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch deleted file mode 100644 index d6a3dab07830..000000000000 --- a/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch +++ /dev/null @@ -1,13 +0,0 @@ -libtool doesn't work if compiling with clang. Need to add --tag=CC -See bug https://bugs.gentoo.org/731010 ---- a/xpaintrw/Makefile.am -+++ b/xpaintrw/Makefile.am -@@ -25,7 +25,7 @@ - - xpaint_DEFINES = $(ARCH_DEFINES) $(EXTRA_DEFINES) $(XAWLIB_DEFINES) - --LIBTOOL = /usr/bin/libtool -+LIBTOOL = /usr/bin/libtool --tag=CC - AM_CFLAGS = @X_CFLAGS@ @SPECIAL_CFLAGS@ $(xpaint_DEFINES) - AM_YFLAGS = -d - CLEANFILES = diff --git a/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch b/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch deleted file mode 100644 index 11a0b0e9a84e..000000000000 --- a/media-gfx/xpaint/files/xpaint-2.10.2-respect-ldflags.patch +++ /dev/null @@ -1,18 +0,0 @@ -The original Makefile did not pass CFLAGS and LDFLAGS -See bug https://bugs.gentoo.org/727632 -Also remove -O3 and stripping, leave portage control that ---- 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 -Wstrict-prototypes -Wtraditional -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 -Wstrict-prototypes -Wtraditional -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 |