aboutsummaryrefslogtreecommitdiff
path: root/databases/kbibtex/files
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2012-05-08 23:02:44 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2012-05-08 23:02:44 +0000
commitc02c892e11d37d7367beed075afb35985e2a5cd1 (patch)
tree36af08776fb4a2e80a93688145f7af9ce838dc7b /databases/kbibtex/files
parent0daac9a63ab3cc3e3924e7f76e0d0877ae3d44fc (diff)
downloadports-c02c892e11d37d7367beed075afb35985e2a5cd1.tar.gz
ports-c02c892e11d37d7367beed075afb35985e2a5cd1.zip
Update to 0.4 for KDE 4
Take maintainership
Notes
Notes: svn path=/head/; revision=296259
Diffstat (limited to 'databases/kbibtex/files')
-rw-r--r--databases/kbibtex/files/patch-src-fileexporterbibtex.cpp11
-rw-r--r--databases/kbibtex/files/patch-src-fileimporterbibtex.cpp11
-rw-r--r--databases/kbibtex/files/patch-src__gui__bibtex__bibtexfileview.h10
-rw-r--r--databases/kbibtex/files/patch-src__libkbibtexio__iconvlatex.cpp11
4 files changed, 21 insertions, 22 deletions
diff --git a/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp b/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp
deleted file mode 100644
index 1138cfa90e21..000000000000
--- a/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/fileexporterbibtex.cpp.orig 2010-02-01 19:08:49.000000000 +0100
-+++ src/fileexporterbibtex.cpp 2010-02-01 19:17:03.000000000 +0100
-@@ -258,7 +258,7 @@
- for ( i = 0; i < encodeMaxTries && utf8datasize != 0; ++i )
- {
- QCString utf8 = workingText.utf8();
-- char *utf8data = utf8.data();
-+ const char *utf8data = utf8.data();
- utf8datasize = utf8.length();
- char *outputdata = m_iconvBuffer;
- size_t outputdatasize = m_iconvBufferSize;
diff --git a/databases/kbibtex/files/patch-src-fileimporterbibtex.cpp b/databases/kbibtex/files/patch-src-fileimporterbibtex.cpp
deleted file mode 100644
index df7a7125063e..000000000000
--- a/databases/kbibtex/files/patch-src-fileimporterbibtex.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/fileimporterbibtex.cpp.orig 2010-02-01 19:17:54.000000000 +0100
-+++ src/fileimporterbibtex.cpp 2010-02-01 19:18:23.000000000 +0100
-@@ -67,7 +67,7 @@
- {
- evaluateParameterComments( iconvHandle, m_lineBuffer );
-
-- char *raw = m_lineBuffer;
-+ const char *raw = m_lineBuffer;
- char *enc = convertedLine;
- size_t encLen = m_lineBufferSize, rawLen = ( size_t )len;
- size_t result = iconv( iconvHandle, &raw, &rawLen, &enc, &encLen );
diff --git a/databases/kbibtex/files/patch-src__gui__bibtex__bibtexfileview.h b/databases/kbibtex/files/patch-src__gui__bibtex__bibtexfileview.h
new file mode 100644
index 000000000000..0044a7a286af
--- /dev/null
+++ b/databases/kbibtex/files/patch-src__gui__bibtex__bibtexfileview.h
@@ -0,0 +1,10 @@
+--- ./src/gui/bibtex/bibtexfileview.h.orig 2012-05-05 10:50:42.000000000 +0000
++++ ./src/gui/bibtex/bibtexfileview.h 2012-05-06 00:53:34.029244696 +0000
+@@ -21,6 +21,7 @@
+ #define KBIBTEX_GUI_BIBTEXFILEVIEW_H
+
+ #include <QTreeView>
++#include <KMimeType>
+
+ #include <kbibtexgui_export.h>
+
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