summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2018-07-19 10:48:50 +0200
committerKeri Harris <keri@gentoo.org>2018-07-19 10:49:18 +0200
commit506e0a9037f0440ec30990f6dfb9bae6cd2886c2 (patch)
tree687ccdd2b2af56d2ef3c744715d4a78b7eb2a292 /dev-lang/qu-prolog/files
parentx11-misc/lightdm-gtk-greeter: Took over maintenance (diff)
downloadgentoo-506e0a9037f0440ec30990f6dfb9bae6cd2886c2.tar.gz
gentoo-506e0a9037f0440ec30990f6dfb9bae6cd2886c2.tar.bz2
gentoo-506e0a9037f0440ec30990f6dfb9bae6cd2886c2.zip
dev-lang/qu-prolog: version bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-lang/qu-prolog/files')
-rw-r--r--dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch b/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch
new file mode 100644
index 000000000000..92dfdd780088
--- /dev/null
+++ b/dev-lang/qu-prolog/files/qu-prolog-10.1-qt5.patch
@@ -0,0 +1,35 @@
+diff -ur qp10.1.orig/src/xqp/term.cc qp10.1/src/xqp/term.cc
+--- qp10.1.orig/src/xqp/term.cc 2008-07-09 07:32:37.000000000 +0200
++++ qp10.1/src/xqp/term.cc 2018-07-19 10:31:12.969762518 +0200
+@@ -38,7 +38,7 @@
+
+ bool graphic_char(QChar c)
+ {
+- switch (c.toAscii())
++ switch (c.toLatin1())
+ {
+ case '-':
+ case '/':
+diff -ur qp10.1.orig/src/xqp/xqp.cc qp10.1/src/xqp/xqp.cc
+--- qp10.1.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.000000000 +0200
++++ qp10.1/src/xqp/xqp.cc 2018-07-19 10:31:12.969762518 +0200
+@@ -167,7 +167,7 @@
+
+ void Xqp::send_cmd_to_qp(QString cmd)
+ {
+- write(qp_stdin, cmd.toAscii(), cmd.length());
++ write(qp_stdin, cmd.toLatin1(), cmd.length());
+ }
+
+
+diff -ur qp10.1.orig/src/xqp/xqp.pro qp10.1/src/xqp/xqp.pro
+--- qp10.1.orig/src/xqp/xqp.pro 2008-07-09 07:32:37.000000000 +0200
++++ qp10.1/src/xqp/xqp.pro 2018-07-19 10:31:12.969762518 +0200
+@@ -4,6 +4,7 @@
+
+ TEMPLATE = app
+ INCLUDEPATH += .
++QT += widgets
+
+ # Input
+ HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h