aboutsummaryrefslogtreecommitdiff
path: root/databases/kbibtex/files
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-12-09 17:34:18 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-12-09 17:34:18 +0000
commitc1f49a4e6b5110c64a5ec88b0686fcdfe245a850 (patch)
treea222e5c380a0286230b2e4fb34e322d1cf852da0 /databases/kbibtex/files
parentace5ff3dcc57aaff8ff443e7d9f0b4c802230bfb (diff)
downloadports-c1f49a4e6b5110c64a5ec88b0686fcdfe245a850.tar.gz
ports-c1f49a4e6b5110c64a5ec88b0686fcdfe245a850.zip
Fix build with clang
Notes
Notes: svn path=/head/; revision=336010
Diffstat (limited to 'databases/kbibtex/files')
-rw-r--r--databases/kbibtex/files/patch-clang22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/kbibtex/files/patch-clang b/databases/kbibtex/files/patch-clang
new file mode 100644
index 000000000000..9f164729c26f
--- /dev/null
+++ b/databases/kbibtex/files/patch-clang
@@ -0,0 +1,22 @@
+--- ./src/websearch/websearchabstract.cpp.orig 2012-10-15 16:12:00.000000000 +0000
++++ ./src/websearch/websearchabstract.cpp 2013-12-09 16:35:14.996924998 +0000
+@@ -68,7 +68,7 @@
+ const char* WebSearchAbstract::httpUnsafeChars = "%:/=+$?&\0";
+
+
+-HTTPEquivCookieJar::HTTPEquivCookieJar(QNetworkAccessManager *parent = NULL)
++HTTPEquivCookieJar::HTTPEquivCookieJar(QNetworkAccessManager *parent)
+ : QNetworkCookieJar(parent), m_nam(parent)
+ {
+ // nothing
+--- ./src/websearch/websearchabstract.h.orig 2012-10-15 16:12:00.000000000 +0000
++++ ./src/websearch/websearchabstract.h 2013-12-09 16:34:28.223924979 +0000
+@@ -45,7 +45,7 @@
+ Q_OBJECT
+
+ public:
+- HTTPEquivCookieJar(QNetworkAccessManager *parent);
++ HTTPEquivCookieJar(QNetworkAccessManager *parent = NULL);
+
+ void checkForHttpEqiuv(const QString &htmlCode, const QUrl &url);
+