summaryrefslogtreecommitdiff
path: root/user/volume_key/worst-python-hack-ever.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/volume_key/worst-python-hack-ever.patch')
-rw-r--r--user/volume_key/worst-python-hack-ever.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/volume_key/worst-python-hack-ever.patch b/user/volume_key/worst-python-hack-ever.patch
new file mode 100644
index 000000000..1ecb334f4
--- /dev/null
+++ b/user/volume_key/worst-python-hack-ever.patch
@@ -0,0 +1,20 @@
+--- volume_key-0.3.10/Makefile.in.old 2018-05-21 08:29:56.000000000 +0000
++++ volume_key-0.3.10/Makefile.in 2018-07-14 09:27:05.430000000 +0000
+@@ -683,7 +683,7 @@
+ $(libcryptsetup_CFLAGS) $(nss_CFLAGS)
+
+ LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
+-PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
++PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)m
+ SUBDIRS = po
+ dist_man_MANS = doc/volume_key.8
+ lib_LTLIBRARIES = lib/libvolume_key.la
+@@ -713,7 +713,7 @@
+ python__volume_key_la_SOURCES = python/volume_key_wrap.c
+ python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
+ python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
+-python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
++python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION)m \
+ $(glib_LIBS) $(nss_LIBS)
+
+ src_volume_key_SOURCES = src/volume_key.c