summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2019-08-08 17:39:21 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-08-08 17:39:21 +0300
commitabd6fd394a4ae8f4a328c3cac6eb5ac833b20d75 (patch)
treed206c855f895961b7e5a4b6e78c8c699c5a8795e /sys-process/uksmd
parentsys-process/uksmd: new package (diff)
downloadgentoo-abd6fd394a4ae8f4a328c3cac6eb5ac833b20d75.tar.gz
gentoo-abd6fd394a4ae8f4a328c3cac6eb5ac833b20d75.tar.bz2
gentoo-abd6fd394a4ae8f4a328c3cac6eb5ac833b20d75.zip
sys-process/uksmd: rename patch file
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-process/uksmd')
-rw-r--r--sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch15
1 files changed, 15 insertions, 0 deletions
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
index 000000000000..7e92204d4037
--- /dev/null
+++ b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
@@ -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
+