diff options
Diffstat (limited to 'sys-process/uksmd/files')
-rw-r--r-- | sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch | 15 | ||||
-rw-r--r-- | sys-process/uksmd/files/uksmd.init | 7 |
2 files changed, 22 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 + diff --git a/sys-process/uksmd/files/uksmd.init b/sys-process/uksmd/files/uksmd.init new file mode 100644 index 000000000000..637666b50a96 --- /dev/null +++ b/sys-process/uksmd/files/uksmd.init @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Userspace KSM helper daemon" +command=/usr/bin/uksmd +pidfile="/var/run/uksmd.pid" |