diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
commit | 80208fb578cf92cc308906660ca6d7860c6b2a1f (patch) | |
tree | 6f06818031b553c506fc10dfe9908a835df288aa /games-fps/yamagi-quake2/files | |
parent | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff) |
gentoo resync : 09.03.2018
Diffstat (limited to 'games-fps/yamagi-quake2/files')
-rw-r--r-- | games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch | 30 | ||||
-rw-r--r-- | games-fps/yamagi-quake2/files/yamagi-quake2-respect-flags.patch | 40 |
2 files changed, 70 insertions, 0 deletions
diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch new file mode 100644 index 000000000000..d767f04d4b09 --- /dev/null +++ b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch @@ -0,0 +1,30 @@ +--- a/Makefile 2017-05-25 12:45:51.000000000 +0300 ++++ b/Makefile 2018-01-14 17:38:34.540167879 +0300 +@@ -64,11 +64,11 @@ + # + # -MMD to generate header dependencies. + ifeq ($(OSTYPE), Darwin) +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -fwrapv -arch i386 -arch x86_64 ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -fwrapv -arch i386 -arch x86_64 + else +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -MMD -fwrapv ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -MMD -fwrapv + endif + + # ---------- +@@ -80,9 +80,9 @@ + + # Base LDFLAGS. + ifeq ($(OSTYPE), Darwin) +-LDFLAGS := -shared -arch i386 -arch x86_64 ++LDFLAGS += -shared -arch i386 -arch x86_64 + else +-LDFLAGS := -shared ++LDFLAGS += -shared + endif + + # ---------- diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-respect-flags.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-respect-flags.patch new file mode 100644 index 000000000000..76ac4b60f503 --- /dev/null +++ b/games-fps/yamagi-quake2/files/yamagi-quake2-respect-flags.patch @@ -0,0 +1,40 @@ +--- a/Makefile 2017-12-08 12:22:59.000000000 +0300 ++++ b/Makefile 2018-01-14 15:42:56.804047742 +0300 +@@ -165,12 +165,12 @@ + # -MMD to generate header dependencies. (They cannot be + # generated if building universal binaries on OSX) + ifeq ($(YQ2_OSTYPE), Darwin) +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -fwrapv ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -fwrapv + CFLAGS += $(OSX_ARCH) + else +-CFLAGS := -std=gnu99 -O2 -fno-strict-aliasing \ +- -Wall -pipe -g -ggdb -MMD -fwrapv ++CFLAGS += -std=gnu99 -fno-strict-aliasing \ ++ -Wall -MMD -fwrapv + endif + + # ---------- +@@ -263,15 +263,15 @@ + + # Base LDFLAGS. + ifeq ($(YQ2_OSTYPE),Linux) +-LDFLAGS := -L/usr/lib -lm -ldl -rdynamic ++LDFLAGS += -lm -ldl -rdynamic + else ifeq ($(YQ2_OSTYPE),FreeBSD) +-LDFLAGS := -L/usr/local/lib -lm ++LDFLAGS += -lm + else ifeq ($(YQ2_OSTYPE),OpenBSD) +-LDFLAGS := -L/usr/local/lib -lm ++LDFLAGS += -lm + else ifeq ($(YQ2_OSTYPE),Windows) +-LDFLAGS := -L/usr/lib -lws2_32 -lwinmm -static-libgcc ++LDFLAGS += -lws2_32 -lwinmm -static-libgcc + else ifeq ($(YQ2_OSTYPE), Darwin) +-LDFLAGS := $(OSX_ARCH) -lm ++LDFLAGS += $(OSX_ARCH) -lm + endif + + CFLAGS += -fvisibility=hidden |