summaryrefslogtreecommitdiff
path: root/debian/patches/8.14
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/8.14')
-rw-r--r--debian/patches/8.14/8.14.4/series1
-rw-r--r--debian/patches/8.14/8.14.4/shared_libmilter.patch25
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/8.14/8.14.4/series b/debian/patches/8.14/8.14.4/series
index ea67190..b0fe181 100644
--- a/debian/patches/8.14/8.14.4/series
+++ b/debian/patches/8.14/8.14.4/series
@@ -19,3 +19,4 @@ socket_activation.patch
_ffr_tls_ec.patch
ssl_op_no_tlsv1_x.patch
install_static_libs.patch
+shared_libmilter.patch
diff --git a/debian/patches/8.14/8.14.4/shared_libmilter.patch b/debian/patches/8.14/8.14.4/shared_libmilter.patch
new file mode 100644
index 0000000..92e1c12
--- /dev/null
+++ b/debian/patches/8.14/8.14.4/shared_libmilter.patch
@@ -0,0 +1,25 @@
+--- a/libmilter/Makefile.m4
++++ b/libmilter/Makefile.m4
+@@ -29,6 +29,22 @@ POPDIVERT
+
+
+ divert(bldTARGETS_SECTION)
++sm_libmilter_version = conf_libmilter_SOVERSION
++
++libmilter.a: libmilter.so.${sm_libmilter_version}
++libmilter.so.${sm_libmilter_version}: ${BEFORE} ${libmilterOBJS}
++ ${CC} -shared -pthread \
++ -o libmilter.so.${sm_libmilter_version} \
++ -fPIC ${CFLAGS} \
++ -Wl,-soname,libmilter.so.${sm_libmilter_version} \
++ $(filter-out -fpie,${LDFLAGS}) \
++ ${libmilterOBJS}
++ ${LN} ${LNOPTS} libmilter.so.${sm_libmilter_version} libmilter.so
++
++libmilter-clean: libmilter-clean-shared
++libmilter-clean-shared:
++ rm -f libmilter.so libmilter.so.${sm_libmilter_version}
++
+ # Install the API header files
+ MFAPI= ${SRCDIR}/inc`'lude/libmilter/mfapi.h
+ MFDEF= ${SRCDIR}/inc`'lude/libmilter/mfdef.h