diff options
Diffstat (limited to 'media-video/kaffeine/files/kaffeine-0.8.5-respectcflags.patch')
-rw-r--r-- | media-video/kaffeine/files/kaffeine-0.8.5-respectcflags.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-video/kaffeine/files/kaffeine-0.8.5-respectcflags.patch b/media-video/kaffeine/files/kaffeine-0.8.5-respectcflags.patch new file mode 100644 index 000000000000..7ee3a07baa85 --- /dev/null +++ b/media-video/kaffeine/files/kaffeine-0.8.5-respectcflags.patch @@ -0,0 +1,52 @@ +Don't overwrite the user variable CFLAGS< use AM_CFLAGS or nothing. + +Index: kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libdvbapi/Makefile.am +=================================================================== +--- kaffeine-0.8.5.orig/kaffeine/src/input/dvb/lib/libdvbapi/Makefile.am ++++ kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libdvbapi/Makefile.am +@@ -7,5 +7,3 @@ libdvbapi_la_SOURCES = diseqc.c \ + dvbdemux.c \ + dvbfe.c \ + dvbnet.c +- +-CFLAGS = -g -O2 -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -fPIC +Index: kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libdvben50221/Makefile.am +=================================================================== +--- kaffeine-0.8.5.orig/kaffeine/src/input/dvb/lib/libdvben50221/Makefile.am ++++ kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libdvben50221/Makefile.am +@@ -18,4 +18,4 @@ libdvben50221_la_SOURCES = asn_1.c \ + en50221_session.c \ + en50221_transport.c + +-CFLAGS = -g -O2 -DLOG_LEVEL=1 -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -fPIC ++AM_CFLAGS = -DLOG_LEVEL=1 +Index: kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/dvb/Makefile.am +=================================================================== +--- kaffeine-0.8.5.orig/kaffeine/src/input/dvb/lib/libucsi/dvb/Makefile.am ++++ kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/dvb/Makefile.am +@@ -15,5 +15,3 @@ libdvbdvb_la_SOURCES = bat_section.c \ + tot_section.c \ + tva_container_section.c \ + types.c +- +-CFLAGS = -g -O2 -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -fPIC +Index: kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/Makefile.am +=================================================================== +--- kaffeine-0.8.5.orig/kaffeine/src/input/dvb/lib/libucsi/Makefile.am ++++ kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/Makefile.am +@@ -13,5 +13,3 @@ libucsi_la_LDFLAGS = ./mpeg \ + + libucsi_la_LIBADD = ./mpeg/libdvbmpeg.la \ + ./dvb/libdvbdvb.la +- +-CFLAGS = -g -O2 -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -fPIC +Index: kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/mpeg/Makefile.am +=================================================================== +--- kaffeine-0.8.5.orig/kaffeine/src/input/dvb/lib/libucsi/mpeg/Makefile.am ++++ kaffeine-0.8.5/kaffeine/src/input/dvb/lib/libucsi/mpeg/Makefile.am +@@ -8,5 +8,3 @@ libdvbmpeg_la_SOURCES = cat_section.c \ + pat_section.c \ + pmt_section.c \ + tsdt_section.c +- +-CFLAGS = -g -O2 -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -fPIC |