summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/8.14/8.14.4/install_static_libs.patch33
-rw-r--r--debian/patches/8.14/8.14.4/series1
2 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/8.14/8.14.4/install_static_libs.patch b/debian/patches/8.14/8.14.4/install_static_libs.patch
new file mode 100644
index 0000000..353a34e
--- /dev/null
+++ b/debian/patches/8.14/8.14.4/install_static_libs.patch
@@ -0,0 +1,33 @@
+Description: make the static libaries installable via the sendmail build system
+--- a/libmilter/Makefile.m4
++++ b/libmilter/Makefile.m4
+@@ -10,6 +10,7 @@
+ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+ bldPRODUCT_START(`library', `libmilter')
++define(`bldINSTALL_DIR', `')
+ define(`bldINSTALLABLE', `true')
+ define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
+ APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
+--- a/libsm/Makefile.m4
++++ b/libsm/Makefile.m4
+@@ -6,6 +6,8 @@
+ define(`confREQUIRE_SM_OS_H', `true')
+ PREPENDDEF(`confENVDEF', `confMAPDEF')
+ bldPRODUCT_START(`library', `libsm')
++define(`bldINSTALL_DIR', `')
++define(`bldINSTALLABLE', `true')
+ define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c ')
+ bldPRODUCT_END
+ dnl msg.c
+--- a/libsmutil/Makefile.m4
++++ b/libsmutil/Makefile.m4
+@@ -8,6 +8,8 @@
+ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+
+ bldPRODUCT_START(`library', `libsmutil')
++define(`bldINSTALL_DIR', `')
++define(`bldINSTALLABLE', `true')
+ define(`bldSOURCES', `debug.c err.c lockfile.c safefile.c snprintf.c cf.c ')
+ APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
+ bldPRODUCT_END
diff --git a/debian/patches/8.14/8.14.4/series b/debian/patches/8.14/8.14.4/series
index 1d34b75..ea67190 100644
--- a/debian/patches/8.14/8.14.4/series
+++ b/debian/patches/8.14/8.14.4/series
@@ -18,3 +18,4 @@ conf.c-ipv6.patch
socket_activation.patch
_ffr_tls_ec.patch
ssl_op_no_tlsv1_x.patch
+install_static_libs.patch