From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../files/pure-sfv-0.3-fix-build-system.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch (limited to 'app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch') diff --git a/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch new file mode 100644 index 000000000000..ca2143f1f956 --- /dev/null +++ b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -54,18 +54,16 @@ + + VC_CRAP = pure-sfv.ncb pure-sfv.plg + +-CFLAGS += -Wall -Werror -O2 -g -Wno-unused + INSTALL_PREFIX = /usr/local + INSTALL_PROGRAM = /usr/bin/install -c + + all: pure-sfv + +-CC = gcc + + OBJ = ${SRCS:%.c=%.o} + + pure-sfv: $(OBJ) +- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) ++ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm + + PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes + PURIFY=purify -- cgit v1.2.3