summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2020-08-21 19:57:36 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2020-08-21 20:05:51 +0200
commit05b4374649b60e5aed18180481f35c7b2095aeca (patch)
tree65af1910e1d23d3ae758a85ad846ce6607646897 /sys-cluster/sanlock/files
parentacct-user/sanlock: added (diff)
downloadgentoo-05b4374649b60e5aed18180481f35c7b2095aeca.tar.gz
gentoo-05b4374649b60e5aed18180481f35c7b2095aeca.tar.bz2
gentoo-05b4374649b60e5aed18180481f35c7b2095aeca.zip
sys-cluster/sanlock: add new version
Bug: https://bugs.gentoo.org/718532 Closes: https://bugs.gentoo.org/721594 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sys-cluster/sanlock/files')
-rw-r--r--sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch b/sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch
new file mode 100644
index 000000000000..0fb00b364bad
--- /dev/null
+++ b/sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch
@@ -0,0 +1,12 @@
+diff -ur sanlock-3.8.2.orig/fence_sanlock/Makefile sanlock-3.8.2/fence_sanlock/Makefile
+--- sanlock-3.8.2.orig/fence_sanlock/Makefile 2020-08-21 19:48:12.695801870 +0200
++++ sanlock-3.8.2/fence_sanlock/Makefile 2020-08-21 19:47:50.477402437 +0200
+@@ -34,7 +34,7 @@
+ CFLAGS += -DVERSION=\"$(VER)\" -I../src -I../wdmd
+ CFLAGS += -fPIE -DPIE
+
+-LDFLAGS = -Wl,-z,now -Wl,-z,relro -pie
++LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
+ LDADD = -lrt -laio -lblkid -lsanlock -lwdmd
+
+ all: $(TARGET1) $(TARGET2)