aboutsummaryrefslogtreecommitdiff
path: root/databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp')
-rw-r--r--databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp b/databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp
new file mode 100644
index 000000000000..1769cd6b4c3d
--- /dev/null
+++ b/databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp
@@ -0,0 +1,11 @@
+--- ./src/libkbibtexio/iconvlatex.cpp.orig 2012-05-05 10:50:42.000000000 +0000
++++ ./src/libkbibtexio/iconvlatex.cpp 2012-05-06 00:53:04.285249457 +0000
+@@ -58,7 +58,7 @@
+ QByteArray IConvLaTeX::encode(const QString &input)
+ {
+ QByteArray inputByteArray = input.toUtf8();
+-#ifdef Q_WS_WIN
++#ifndef Q_OS_LINUX
+ /// iconv on Windows likes to have it as const char *
+ const char *inputBuffer = inputByteArray.data();
+ #else