aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/namecoin
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-24 10:31:07 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-24 10:31:07 +0000
commit47bf22448441db07edd04007e844e251acf06dfc (patch)
tree87b699fa6423b6c968f546361d0d46f42e85a4cc /net-p2p/namecoin
parentbaac3115e0a2408f00194087da57c652e4a050fa (diff)
downloadports-47bf22448441db07edd04007e844e251acf06dfc.tar.gz
ports-47bf22448441db07edd04007e844e251acf06dfc.zip
qt4-moc: Add more Boost include guards to moc's definition list.
In preparation for updating Boost to 1.60, add include guards from more Boost headers to the list of macros that moc automatically defines when processing files. As explained in r408911, Qt4's moc cannot parse some constructs used by a few Boost headers, so we define their include guards to make moc skip them. This is a cleaner approach that allows us to largely revert r408472, r408473, r408474, r408475, r408502, r408773 and r408419, which added several patches to many ports to work around this moc bug. PR: 199601 PR: 208322
Notes
Notes: svn path=/head/; revision=411765
Diffstat (limited to 'net-p2p/namecoin')
-rw-r--r--net-p2p/namecoin/files/patch-src_allocators.h12
-rw-r--r--net-p2p/namecoin/files/patch-src_qt_guiutil.h12
-rw-r--r--net-p2p/namecoin/files/patch-src_util.h16
3 files changed, 0 insertions, 40 deletions
diff --git a/net-p2p/namecoin/files/patch-src_allocators.h b/net-p2p/namecoin/files/patch-src_allocators.h
deleted file mode 100644
index 54e70f9283f8..000000000000
--- a/net-p2p/namecoin/files/patch-src_allocators.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/allocators.h.orig 2014-12-18 14:47:02 UTC
-+++ src/allocators.h
-@@ -7,7 +7,9 @@
-
- #include <string.h>
- #include <string>
-+#ifndef Q_MOC_RUN
- #include <boost/thread/mutex.hpp>
-+#endif
- #include <map>
- #include <openssl/crypto.h> // for OPENSSL_cleanse()
-
diff --git a/net-p2p/namecoin/files/patch-src_qt_guiutil.h b/net-p2p/namecoin/files/patch-src_qt_guiutil.h
deleted file mode 100644
index 9c77f2c20627..000000000000
--- a/net-p2p/namecoin/files/patch-src_qt_guiutil.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/qt/guiutil.h.orig 2014-12-18 14:47:02 UTC
-+++ src/qt/guiutil.h
-@@ -5,7 +5,9 @@
- #include <QObject>
- #include <QMessageBox>
-
-+#ifndef Q_MOC_RUN
- #include <boost/filesystem.hpp>
-+#endif
-
- class SendCoinsRecipient;
-
diff --git a/net-p2p/namecoin/files/patch-src_util.h b/net-p2p/namecoin/files/patch-src_util.h
deleted file mode 100644
index b0432044bf07..000000000000
--- a/net-p2p/namecoin/files/patch-src_util.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/util.h.orig 2014-12-18 14:47:02 UTC
-+++ src/util.h
-@@ -15,11 +15,13 @@
- #include <vector>
- #include <string>
-
-+#ifndef Q_MOC_RUN
- #include <boost/version.hpp>
- #include <boost/thread.hpp>
- #include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
- #include <boost/date_time/gregorian/gregorian_types.hpp>
- #include <boost/date_time/posix_time/posix_time_types.hpp>
-+#endif
-
- #include <openssl/sha.h>
- #include <openssl/ripemd.h>