diff options
author | wiz <wiz@pkgsrc.org> | 2017-03-12 20:51:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-03-12 20:51:13 +0000 |
commit | e26360d9e97f9ba1c33694a72ceb5bb9c7cda16e (patch) | |
tree | 57deb7343edd371f237f6454049256be3eac5fb0 /mail/notmuch | |
parent | 72d4ddf0c942888b7cd51def0ccb350b69280e64 (diff) | |
download | pkgsrc-e26360d9e97f9ba1c33694a72ceb5bb9c7cda16e.tar.gz |
Remove zlib-1.2.3 compatibility patches.
Upstream claims dump/restore may not work correctly with zlib-1.2.3.
https://notmuchmail.org/pipermail/notmuch/2017/024277.html
Depend on zlib-1.2.5.2 and bump PKGREVISION.
While here, update patch comments.
Diffstat (limited to 'mail/notmuch')
-rw-r--r-- | mail/notmuch/Makefile | 4 | ||||
-rw-r--r-- | mail/notmuch/distinfo | 8 | ||||
-rw-r--r-- | mail/notmuch/patches/patch-aa | 24 | ||||
-rw-r--r-- | mail/notmuch/patches/patch-lib_Makefile.local | 11 | ||||
-rw-r--r-- | mail/notmuch/patches/patch-notmuch-dump.c | 24 | ||||
-rw-r--r-- | mail/notmuch/patches/patch-notmuch-restore.c | 15 |
6 files changed, 8 insertions, 78 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile index c6a7ec64734..ec30b3042f1 100644 --- a/mail/notmuch/Makefile +++ b/mail/notmuch/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2017/03/05 12:33:31 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2017/03/12 20:51:13 wiz Exp $ DISTNAME= notmuch-0.23.7 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://notmuchmail.org/releases/ @@ -41,5 +42,6 @@ LDFLAGS.SunOS+= -lnsl BUILDLINK_API_DEPENDS.xapian+= xapian>=1.2.6 .include "../../textproc/xapian/buildlink3.mk" .include "../../devel/talloc/buildlink3.mk" +BUILDLINK_ABI_DEPENDS.zlib+= zlib>=1.2.5.2 .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/notmuch/distinfo b/mail/notmuch/distinfo index 8bf258a6b4f..67a898d3b25 100644 --- a/mail/notmuch/distinfo +++ b/mail/notmuch/distinfo @@ -1,12 +1,10 @@ -$NetBSD: distinfo,v 1.19 2017/03/05 12:33:31 wiz Exp $ +$NetBSD: distinfo,v 1.20 2017/03/12 20:51:13 wiz Exp $ SHA1 (notmuch-0.23.7.tar.gz) = 07eca222977488051cb7fcd3f2238da355c5ec1c RMD160 (notmuch-0.23.7.tar.gz) = 681d6bdbbf4db692934d63b4dc3a37cbb221ae6b SHA512 (notmuch-0.23.7.tar.gz) = e71da3bd6ce1b344aae79b277b695a4668d4fe1b8838618d6970a0b27df9867bac66a3240473ef31fc30ed8af2b0a558203ed5ffb34da873c991b1ecc6c08522 Size (notmuch-0.23.7.tar.gz) = 692230 bytes SHA1 (patch-Makefile.local) = cab8635a8ff1f2f2e7dc45f2c853f90553c28606 -SHA1 (patch-aa) = 5276035fce76d9cf891d168aeba60b0eede00a09 -SHA1 (patch-lib_Makefile.local) = c81920e239d1e26d4502e57c4e7fdbd3209b6325 -SHA1 (patch-notmuch-dump.c) = d85095239da2c7247113143d2668d6ca47bc324f -SHA1 (patch-notmuch-restore.c) = 5f908d2ee146e29bd025eee36adb5997d897e9ea +SHA1 (patch-aa) = 90414224b80703587d211c8b56bfba0cbe1377b6 +SHA1 (patch-lib_Makefile.local) = 84ebfe1a57647e590f923d727d206b5f4687e1ce SHA1 (patch-util_Makefile.local) = 1dcf152c0aba329e5e309c98042bd14f9a733714 diff --git a/mail/notmuch/patches/patch-aa b/mail/notmuch/patches/patch-aa index b39e221c91a..5bdc3e3d074 100644 --- a/mail/notmuch/patches/patch-aa +++ b/mail/notmuch/patches/patch-aa @@ -1,31 +1,9 @@ -$NetBSD: patch-aa,v 1.6 2016/10/09 21:20:45 wiz Exp $ +$NetBSD: patch-aa,v 1.7 2017/03/12 20:51:13 wiz Exp $ Install completion files into example directory. -Accept zlib 1.2.3. --- configure.orig 2016-10-04 01:47:21.000000000 +0000 +++ configure -@@ -490,9 +490,9 @@ if ! pkg-config --exists zlib; then - rm -f compat/gen_zlib_pc - fi - --printf "Checking for zlib (>= 1.2.5.2)... " -+printf "Checking for zlib (>= 1.2.3)... " - have_zlib=0 --if pkg-config --atleast-version=1.2.5.2 zlib; then -+if pkg-config --atleast-version=1.2.3 zlib; then - printf "Yes.\n" - have_zlib=1 - zlib_cflags=$(pkg-config --cflags zlib) -@@ -688,7 +688,7 @@ EOF - echo " https://xapian.org/" - fi - if [ $have_zlib -eq 0 ]; then -- echo " zlib library (>= version 1.2.5.2, including development files such as headers)" -+ echo " zlib library (>= version 1.2.3, including development files such as headers)" - echo " http://zlib.net/" - echo - fi @@ -1026,10 +1026,10 @@ HAVE_DOXYGEN=${have_doxygen} desktop_dir = \$(prefix)/share/applications diff --git a/mail/notmuch/patches/patch-lib_Makefile.local b/mail/notmuch/patches/patch-lib_Makefile.local index ed6d99d1940..e2de894d6b0 100644 --- a/mail/notmuch/patches/patch-lib_Makefile.local +++ b/mail/notmuch/patches/patch-lib_Makefile.local @@ -1,13 +1,4 @@ -$NetBSD: patch-lib_Makefile.local,v 1.3 2015/08/26 13:33:36 wiz Exp $ - -* On Mac OS X (Darwin), for the install_name of the notmuch shared - library, use the full path rather than just the file name. This - enables programs that link against it as a dependent library to find - it when they run. - - Upstream bug report: - - http://notmuchmail.org/pipermail/notmuch/2014/018956.html +$NetBSD: patch-lib_Makefile.local,v 1.4 2017/03/12 20:51:13 wiz Exp $ * Don't overlap with BSD's libutil. diff --git a/mail/notmuch/patches/patch-notmuch-dump.c b/mail/notmuch/patches/patch-notmuch-dump.c deleted file mode 100644 index 3b0a48076f7..00000000000 --- a/mail/notmuch/patches/patch-notmuch-dump.c +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-notmuch-dump.c,v 1.1 2014/12/18 12:26:51 joerg Exp $ - -Avoid depending on very recent zlib. - ---- notmuch-dump.c.orig 2014-12-15 20:12:50.000000000 +0000 -+++ notmuch-dump.c -@@ -177,7 +177,7 @@ notmuch_database_dump (notmuch_database_ - } - } - -- if (gzclose_w (output) != Z_OK) { -+ if (gzclose(output) != Z_OK) { - fprintf (stderr, "Error closing %s: %s\n", name_for_error, - gzerror (output, NULL)); - ret = EXIT_FAILURE; -@@ -196,7 +196,7 @@ notmuch_database_dump (notmuch_database_ - } - DONE: - if (ret != EXIT_SUCCESS && output) -- (void) gzclose_w (output); -+ (void) gzclose(output); - - if (ret != EXIT_SUCCESS && output_file_name) - (void) unlink (tempname); diff --git a/mail/notmuch/patches/patch-notmuch-restore.c b/mail/notmuch/patches/patch-notmuch-restore.c deleted file mode 100644 index ab3060eff41..00000000000 --- a/mail/notmuch/patches/patch-notmuch-restore.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-notmuch-restore.c,v 1.1 2014/12/18 12:26:51 joerg Exp $ - -Avoid depending on very recent zlib. - ---- notmuch-restore.c.orig 2014-12-15 20:12:30.000000000 +0000 -+++ notmuch-restore.c -@@ -312,7 +312,7 @@ notmuch_restore_command (notmuch_config_ - if (notmuch) - notmuch_database_destroy (notmuch); - -- if (input && gzclose_r (input)) { -+ if (input && gzclose(input)) { - fprintf (stderr, "Error closing %s: %s\n", - name_for_error, gzerror (input, NULL)); - ret = EXIT_FAILURE; |