summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-12-13 08:25:39 -0400
committerDavid Bremner <david@tethera.net>2020-12-13 08:25:39 -0400
commit17540b73e812d51777fd63709beb8e9be22e26b8 (patch)
treef8c59d59177d17cdd46bf0dac2d38f83d0fe0fd6
parent9ebfe9d6ca8b1528c788c715deb5cf43ad1f289f (diff)
Commit Debian 3.0 (quilt) metadatadebian/0.31.2-5archive/debian/0.31.2-5
[dgit (9.12) quilt-fixup]
-rw-r--r--debian/patches/debian-changes14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
index 40ee7d00..3e6eefca 100644
--- a/debian/patches/debian-changes
+++ b/debian/patches/debian-changes
@@ -14,3 +14,17 @@ atomic patches.
endif
sphinx-html: $(DOCBUILDDIR)/.html.stamp
+--- notmuch-0.31.2.orig/test/T360-symbol-hiding.sh
++++ notmuch-0.31.2/test/T360-symbol-hiding.sh
+@@ -26,8 +26,9 @@ test_begin_subtest 'checking output'
+ test_expect_equal "$result" "$output"
+
+ test_begin_subtest 'comparing existing to exported symbols'
+-nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
+-sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort | uniq > EXPORTED
++readelf -Ws $NOTMUCH_BUILDDIR/lib/libnotmuch.so | \
++ awk '$4 == "FUNC" && $5 == "GLOBAL" && $7 != "UND" {print $8}' | sort -u > ACTUAL
++sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort -u > EXPORTED
+ test_expect_equal_file EXPORTED ACTUAL
+
+ test_done