diff options
Diffstat (limited to 'media-plugins/deadbeef-archive-reader/files')
-rw-r--r-- | media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch new file mode 100644 index 00000000..88a2c440 --- /dev/null +++ b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch @@ -0,0 +1,30 @@ +Index: src/Makefile +=================================================================== +--- Makefile (revision 16) ++++ Makefile (working copy) +@@ -8,7 +8,7 @@ + all: $(OUT) + + $(OUT): vfs_archive_reader.c libfex.a +- $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a $(LDFLAGS) -o $(OUT) ++ $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a -o $(OUT) $(LDFLAGS) + + libfex.a: libfex + mv fex/libfex.a . +Index: src/fex/makefile +=================================================================== +--- fex/makefile (revision 16) ++++ fex/makefile (working copy) +@@ -4,9 +4,9 @@ + all: libfex.a demo + + libfex.a: fex/fex.h fex/blargg_config.h +- cd fex;$(CXX) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC +- cd unrar;$(CXX) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC +- cd 7z_C;$(CC) -c -Os *.c -fPIC ++ cd fex;$(CXX) $(CXXFLAGS) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC ++ cd unrar;$(CXX) $(CXXFLAGS) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC ++ cd 7z_C;$(CC) $(CFLAGS) -c -Os *.c -fPIC + $(AR) $(ARFLAGS) libfex.a fex/*.o unrar/*.o 7z_C/*.o + -ranlib libfex.a + -$(RM) fex/*.o |