aboutsummaryrefslogtreecommitdiff
path: root/databases/kbibtex/files
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2010-02-07 14:16:00 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2010-02-07 14:16:00 +0000
commit71643d0bc55477596ff805cc03c07bb2d68aeb7b (patch)
tree9497a6a18bf5c1f72750b8caf99257239fa0191f /databases/kbibtex/files
parentb46fc8504f096d1dd5dbbbf54a3eb64f37c08f7d (diff)
downloadports-71643d0bc55477596ff805cc03c07bb2d68aeb7b.tar.gz
ports-71643d0bc55477596ff805cc03c07bb2d68aeb7b.zip
Update to version 0.2.3
Notes
Notes: svn path=/head/; revision=249381
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
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp b/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp
new file mode 100644
index 000000000000..1138cfa90e21
--- /dev/null
+++ b/databases/kbibtex/files/patch-src-fileexporterbibtex.cpp
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..df7a7125063e
--- /dev/null
+++ b/databases/kbibtex/files/patch-src-fileimporterbibtex.cpp
@@ -0,0 +1,11 @@
+--- 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 );