aboutsummaryrefslogtreecommitdiff
path: root/graphics/copperspice
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-03-14 12:04:26 +0000
committerJohn Marino <marino@FreeBSD.org>2016-03-14 12:04:26 +0000
commite02e1a88f66182635889961666b42b3b0c974572 (patch)
treeb9b99de2f27d12c99a9780f025c5e1feb01c57c9 /graphics/copperspice
parentcfb1fe0edef01c81f23e73d0418eb6887798c5c4 (diff)
downloadports-e02e1a88f66182635889961666b42b3b0c974572.tar.gz
ports-e02e1a88f66182635889961666b42b3b0c974572.zip
Notes
Diffstat (limited to 'graphics/copperspice')
-rw-r--r--graphics/copperspice/files/patch-configure20
-rw-r--r--graphics/copperspice/files/patch-df-support55
2 files changed, 75 insertions, 0 deletions
diff --git a/graphics/copperspice/files/patch-configure b/graphics/copperspice/files/patch-configure
new file mode 100644
index 000000000000..a77ba67349a5
--- /dev/null
+++ b/graphics/copperspice/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2016-03-12 21:43:12 UTC
++++ configure
+@@ -9002,7 +9002,7 @@ esac
+ LIBTOOL_DEPS=$ltmain
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL='$(SHELL) $(top_builddir)/libtool --tag=CC'
+
+
+
+@@ -17104,7 +17104,7 @@ case "$target" in
+ OSTYPE=LINUX ;;
+ *-*-darwin*)
+ OSTYPE=DARWIN ;;
+-*-*-*bsd*)
++*-*-*bsd*|*-*-dragonfly*)
+ OSTYPE=BSD ;;
+ esac
+
diff --git a/graphics/copperspice/files/patch-df-support b/graphics/copperspice/files/patch-df-support
new file mode 100644
index 000000000000..b65c43787f4c
--- /dev/null
+++ b/graphics/copperspice/files/patch-df-support
@@ -0,0 +1,55 @@
+--- src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
++++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+@@ -405,7 +405,7 @@
+ #endif
+
+ /* OS(FREEBSD) - FreeBSD */
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ #define WTF_OS_FREEBSD 1
+ #endif
+
+--- src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp
++++ src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp
+@@ -3781,6 +3781,8 @@ QString QWebPage::userAgentForUrl(const QUrl&) const
+
+ #elif defined Q_OS_BSD4
+ firstPartTemp += QString::fromLatin1("BSD Four");
++#elif defined Q_OS_DRAGONFLY
++ firstPartTemp += QString::fromLatin1("DragonFly");
+ #elif defined Q_OS_FREEBSD
+ firstPartTemp += QString::fromLatin1("FreeBSD");
+ #elif defined Q_OS_HPUX
+--- src/core/global/qglobal.h
++++ src/core/global/qglobal.h
+@@ -178,6 +178,10 @@ QT_USE_NAMESPACE
+ #elif defined(__linux__) || defined(__linux)
+ # define Q_OS_LINUX
+
++#elif defined(__DragonFly__)
++# define Q_OS_DRAGONFLY
++# define Q_OS_BSD4
++
+ #elif defined(__FreeBSD__)
+ # define Q_OS_FREEBSD
+ # define Q_OS_BSD4
+@@ -1665,7 +1669,7 @@ Q_CORE_EXPORT int qrand();
+
+
+ #if defined (__ELF__)
+-# if defined (Q_OS_LINUX) || defined (Q_OS_SOLARIS) || defined (Q_OS_FREEBSD) || defined (Q_OS_OPENBSD)
++# if defined (Q_OS_LINUX) || defined (Q_OS_SOLARIS) || defined (Q_OS_FREEBSD) || defined (Q_OS_OPENBSD) || defined (Q_OS_DRAGONFLY)
+ # define Q_OF_ELF
+ # endif
+ #endif
+--- src/core/global/qplatformdefs.h
++++ src/core/global/qplatformdefs.h
+@@ -280,7 +280,7 @@ typedef enum {
+
+
+ // ***********
+-#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
++#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_DRAGONFLY)
+
+ #include <qplatformposix.h>
+