summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch')
-rw-r--r--app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch b/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch
new file mode 100644
index 000000000000..1a5e16124807
--- /dev/null
+++ b/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch
@@ -0,0 +1,21 @@
+Upstream:
+http://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/1391
+Gentoo bugzilla:
+https://bugs.gentoo.org/show_bug.cgi?id=493514
+=== modified file 'sources/database.h'
+--- sources/database.h 2013-11-25 16:06:34 +0000
++++ sources/database.h 2013-12-07 12:28:03 +0000
+@@ -64,10 +64,10 @@
+ static Database* s_instance;
+ Database(QObject* parent = 0);
+
+-#ifdef WITH_SQL
+-
+ static QString instanceName();
+
++#ifdef WITH_SQL
++
+ void migrateTabs_v1_v2();
+ void migrateBookmarks_v1_v2();
+
+