summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/svgalib/files/svgalib-1.9.19-pic.patch')
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.19-pic.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.19-pic.patch b/media-libs/svgalib/files/svgalib-1.9.19-pic.patch
new file mode 100644
index 000000000000..b068886cc1d1
--- /dev/null
+++ b/media-libs/svgalib/files/svgalib-1.9.19-pic.patch
@@ -0,0 +1,17 @@
+the -fPIC flag does work for lrmi
+
+http://bugs.gentoo.org/51698
+
+--- svgalib-1.9.19/src/Makefile.jj 2004-09-09 09:08:24.369399280 -0700
++++ svgalib-1.9.19/src/Makefile 2004-09-09 09:08:32.340187536 -0700
+@@ -462,8 +462,8 @@
+ $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $<
+
+ #lrmi must NOT be compiled as -fPIC
+-lrmi.o: lrmi.c
+- $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<
++#lrmi.o: lrmi.c
++# $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<
+
+ $(RAMDAC): %.o: %.c
+ $(CC) $(CFLAGS) $(RAMDAC_DEFINES) -c -o $@ $<