[110565] trunk/dports/mail/notmuch
jeremyhu at macports.org
jeremyhu at macports.org
Mon Sep 2 00:22:13 PDT 2013
Revision: 110565
https://trac.macports.org/changeset/110565
Author: jeremyhu at macports.org
Date: 2013-09-02 00:22:13 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
notmuch: build with clang by disabling buggy hidden visibility
Modified Paths:
--------------
trunk/dports/mail/notmuch/Portfile
Added Paths:
-----------
trunk/dports/mail/notmuch/files/visibility.patch
Modified: trunk/dports/mail/notmuch/Portfile
===================================================================
--- trunk/dports/mail/notmuch/Portfile 2013-09-02 06:46:06 UTC (rev 110564)
+++ trunk/dports/mail/notmuch/Portfile 2013-09-02 07:22:13 UTC (rev 110565)
@@ -31,7 +31,8 @@
port:talloc
patchfiles patch-bindings-python-notmuch-globals.py.diff \
- patch-lib-Makefile.local.diff
+ patch-lib-Makefile.local.diff \
+ visibility.patch
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/bindings/python/notmuch/globals.py
@@ -41,10 +42,6 @@
configure.args --without-emacs
-# TODO: Upstream ticket?
-# This port failst to build with or without the blacklist for me (jeremyhu)
-compiler.blacklist *clang*
-
# disable silent rules
build.args V=1
Added: trunk/dports/mail/notmuch/files/visibility.patch
===================================================================
--- trunk/dports/mail/notmuch/files/visibility.patch (rev 0)
+++ trunk/dports/mail/notmuch/files/visibility.patch 2013-09-02 07:22:13 UTC (rev 110565)
@@ -0,0 +1,18 @@
+--- lib/notmuch-private.h.orig 2013-09-02 00:17:31.000000000 -0700
++++ lib/notmuch-private.h 2013-09-02 00:17:42.000000000 -0700
+@@ -49,8 +49,6 @@ NOTMUCH_BEGIN_DECLS
+ #include "xutil.h"
+ #include "error_util.h"
+
+-#pragma GCC visibility push(hidden)
+-
+ #ifdef DEBUG
+ # define DEBUG_DATABASE_SANITY 1
+ # define DEBUG_QUERY 1
+@@ -529,6 +527,4 @@ _notmuch_talloc_steal (const void *new_c
+ #endif
+ #endif
+
+-#pragma GCC visibility pop
+-
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/3a31070f/attachment-0001.html>
More information about the macports-changes
mailing list