1 |
commit: d4f22fa39b1eb118214466b1a22b007e078c009f |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 27 23:18:40 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 23:34:32 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f22fa3 |
7 |
|
8 |
media-video/aegisub: remove clang-only options to avoid warnings on gcc |
9 |
|
10 |
These options only suppress compilation warnings and do not alter |
11 |
compilation itself, so it is safe to remove them. |
12 |
|
13 |
Package-Manager: portage-2.2.24 |
14 |
|
15 |
.../aegisub-3.2.2-respect-user-compiler-flags.patch | 20 ++++++++++++++++++++ |
16 |
1 file changed, 20 insertions(+) |
17 |
|
18 |
diff --git a/media-video/aegisub/files/aegisub-3.2.2-respect-user-compiler-flags.patch b/media-video/aegisub/files/aegisub-3.2.2-respect-user-compiler-flags.patch |
19 |
index caecf82..3cb2686 100644 |
20 |
--- a/media-video/aegisub/files/aegisub-3.2.2-respect-user-compiler-flags.patch |
21 |
+++ b/media-video/aegisub/files/aegisub-3.2.2-respect-user-compiler-flags.patch |
22 |
@@ -28,3 +28,23 @@ index be657b0..fca48e0 100644 |
23 |
]) |
24 |
]) |
25 |
|
26 |
+diff --git a/src/Makefile b/src/Makefile |
27 |
+index 60d7101..1f7b2bc 100644 |
28 |
+--- a/src/Makefile |
29 |
++++ b/src/Makefile |
30 |
+@@ -182,14 +182,13 @@ endif |
31 |
+ ##################### |
32 |
+ # SOURCE-LEVEL CFLAGS |
33 |
+ ##################### |
34 |
+-$(d)MatroskaParser.o_FLAGS := -Wno-sometimes-uninitialized |
35 |
+ $(d)audio_player.o_FLAGS := $(CFLAGS_ALSA) $(CFLAGS_PORTAUDIO) $(CFLAGS_LIBPULSE) $(CFLAGS_OPENAL) |
36 |
+ $(d)audio_provider_factory.o_FLAGS := $(CFLAGS_FFMS2) |
37 |
+ $(d)auto4_base.o_FLAGS := $(CFLAGS_FREETYPE) |
38 |
+ $(d)charset_detect.o_FLAGS := -D_X86_ |
39 |
+ $(d)font_file_lister_fontconfig.o_FLAGS := $(CFLAGS_FONTCONFIG) |
40 |
+ $(d)subtitles_provider.o_FLAGS := $(CFLAGS_LIBASS) |
41 |
+-$(d)subtitles_provider_libass.o_FLAGS := $(CFLAGS_LIBASS) -Wno-c++11-narrowing |
42 |
++$(d)subtitles_provider_libass.o_FLAGS := $(CFLAGS_LIBASS) |
43 |
+ $(d)text_file_reader.o_FLAGS := -D_X86_ |
44 |
+ $(d)video_provider_manager.o_FLAGS := $(CFLAGS_FFMS2) |
45 |
+ $(d)auto4_lua.o_FLAGS := -I$(TOP)vendor/luajit/include |