diff options
Diffstat (limited to 'media-libs/svgalib/files/svgalib-1.9.25-fPIC.patch')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.25-fPIC.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.25-fPIC.patch b/media-libs/svgalib/files/svgalib-1.9.25-fPIC.patch new file mode 100644 index 000000000000..ab0e1c9ef7b3 --- /dev/null +++ b/media-libs/svgalib/files/svgalib-1.9.25-fPIC.patch @@ -0,0 +1,17 @@ +#DPATCHLEVEL=1 +--- svgalib-1.4.3.orig/src/Makefile ++++ svgalib-1.4.3/src/Makefile +@@ -471,9 +471,11 @@ + vga.o: vga.c + $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $< + +-#lrmi must NOT be compiled as -fPIC ++# XXX: Upstream used this so it may break, disabled to close an RC ++# lrmi must NOT be compiled as -fPIC + lrmi.o: lrmi.c +- $(CC) $(CFLAGS:-fPIC=) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< ++# $(CC) $(CFLAGS:-fPIC=) -c -o $@ $< + + $(RAMDAC): %.o: %.c + $(CC) $(CFLAGS) $(RAMDAC_DEFINES) -c -o $@ $< |