summaryrefslogtreecommitdiff
path: root/user/volume_key/worst-python-hack-ever.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 04:34:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 04:34:12 -0500
commitdd4a1428a88f298bcc833d9f831fa800c788b497 (patch)
tree46fd2234232daaa8d79ca9ce7b88630c71a1d0f2 /user/volume_key/worst-python-hack-ever.patch
parent0829ec485ab9263aa77dc4da4ba07a42d7464762 (diff)
downloadpackages-dd4a1428a88f298bcc833d9f831fa800c788b497.tar.gz
packages-dd4a1428a88f298bcc833d9f831fa800c788b497.tar.bz2
packages-dd4a1428a88f298bcc833d9f831fa800c788b497.tar.xz
packages-dd4a1428a88f298bcc833d9f831fa800c788b497.zip
user/volume_key: new package
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