pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/nullmailer Work around Xcode 14 errors linking li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45e830958627
branches:  trunk
changeset: 385568:45e830958627
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Sep 19 15:15:49 2022 +0000

description:
Work around Xcode 14 errors linking libnullmailer.a into e.g.
protocols/smtp:

archive member '__.SYMDEF SORTED' is not mach-o or llvm bitcode file

(likewise for '__.SYMDEF')

diffstat:

 mail/nullmailer/distinfo                      |   3 ++-
 mail/nullmailer/patches/patch-lib_mergelib.sh |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 830f0bb7fba2 -r 45e830958627 mail/nullmailer/distinfo
--- a/mail/nullmailer/distinfo  Mon Sep 19 14:12:03 2022 +0000
+++ b/mail/nullmailer/distinfo  Mon Sep 19 15:15:49 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 10:54:10 nia Exp $
+$NetBSD: distinfo,v 1.24 2022/09/19 15:15:49 schmonz Exp $
 
 BLAKE2s (nullmailer-2.2.tar.gz) = 2341e461f23373f325336b603c7e8136883c6e4c3d07b1c0da08d406baa8fe7d
 SHA512 (nullmailer-2.2.tar.gz) = 21b29d59f3c386c13ce4541ae11dc5cd69f842085479d7fc9a69a540abc608ce5c1825f06bd3566536b392931f7eeb1b2d35addd816849e6f431877bb18c8268
@@ -7,6 +7,7 @@
 SHA1 (patch-doc_nullmailer-queue.8) = 6d2651b4ebc2500504ce4f5620842ffc6bf0c2f6
 SHA1 (patch-doc_nullmailer-send.8) = 1ab434a1a3293c11db87781217a1694798ba6f23
 SHA1 (patch-lib_fdbuf_fdobuf.h) = 716854a1421ef2021f5383f3e63bd19ece900a23
+SHA1 (patch-lib_mergelib.sh) = f4160cd0e0981b2d3dcb7a2b09d06e775bb71f38
 SHA1 (patch-lib_selfpipe.cc) = a5d7e24bfbf3fa823cbd4e696a1c6488586e3512
 SHA1 (patch-test_Makefile.am) = 744771972ca47f154fbc4d8a59dc0fc9b3c616f8
 SHA1 (patch-test_Makefile.in) = 5250f65a0758a9442aa6aec076b67af18ea2444c
diff -r 830f0bb7fba2 -r 45e830958627 mail/nullmailer/patches/patch-lib_mergelib.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/nullmailer/patches/patch-lib_mergelib.sh     Mon Sep 19 15:15:49 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_mergelib.sh,v 1.1 2022/09/19 15:15:49 schmonz Exp $
+
+Work around Xcode 14 errors linking libnullmailer.a into e.g.
+protocols/smtp:
+
+archive member '__.SYMDEF SORTED' is not mach-o or llvm bitcode file
+
+(likewise for '__.SYMDEF')
+
+--- lib/mergelib.sh.orig       2017-10-24 00:12:30.000000000 +0000
++++ lib/mergelib.sh
+@@ -10,6 +10,7 @@ for input in "$@"; do
+       mkdir "$dir"
+       cd "$dir"
+       "${AR:-ar}" x ../../"$input"
++      rm -f "__.SYMDEF SORTED" "__.SYMDEF"
+       cd ..
+ done
+ "${AR:-ar}" rc ../"$archive" */*



Home | Main Index | Thread Index | Old Index