sys-process/uksmd: rename patch file
authorJoonas Niilola <juippis@gentoo.org>
Thu, 8 Aug 2019 14:39:21 +0000 (17:39 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Thu, 8 Aug 2019 14:39:21 +0000 (17:39 +0300)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch [new file with mode: 0644]

diff --git a/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
new file mode 100644 (file)
index 0000000..7e92204
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2019-05-19 16:36:31.000000000 +0300
++++ b/Makefile 2019-07-24 18:12:29.444896030 +0300
+@@ -1,8 +1,8 @@
+ PROG = uksmd
+ OBJS = uksmd.o
+-PREFIX ?= /usr/local
+-CFLAGS = -O3 -Wall -Wextra -pedantic -pipe -fstack-protector-strong -fno-plt
+-LDFLAGS = -lprocps
++PREFIX ?= /usr
++CFLAGS += -Wextra -pedantic -fstack-protector-strong -fno-plt
++LDFLAGS += -lprocps
+ all: build