summaryrefslogtreecommitdiff
path: root/recipes/iqnotes/iqnotes-2.0.2
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iqnotes/iqnotes-2.0.2')
-rw-r--r--recipes/iqnotes/iqnotes-2.0.2/md5.diff20
-rw-r--r--recipes/iqnotes/iqnotes-2.0.2/qt2310-fontbug.patch11
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes/iqnotes/iqnotes-2.0.2/md5.diff b/recipes/iqnotes/iqnotes-2.0.2/md5.diff
new file mode 100644
index 0000000000..1cc7520d92
--- /dev/null
+++ b/recipes/iqnotes/iqnotes-2.0.2/md5.diff
@@ -0,0 +1,20 @@
+--- iqnotes/md5.cpp.orig 2004-02-08 19:34:32.000000000 +0000
++++ iqnotes/md5.cpp 2004-03-27 23:21:58.349894440 +0000
+@@ -151,7 +151,7 @@
+
+ while (stream.good())
+ {
+- stream.read(buffer, 1024); // note that return value of read is unusable.
++ stream.read((char *)buffer, 1024); // note that return value of read is unusable.
+ len=stream.gcount();
+ update(buffer, len);
+ }
+@@ -174,7 +174,7 @@
+
+ while (stream.good())
+ {
+- stream.read(buffer, 1024); // note that return value of read is unusable.
++ stream.read((char *)buffer, 1024); // note that return value of read is unusable.
+ len=stream.gcount();
+ update(buffer, len);
+ }
diff --git a/recipes/iqnotes/iqnotes-2.0.2/qt2310-fontbug.patch b/recipes/iqnotes/iqnotes-2.0.2/qt2310-fontbug.patch
new file mode 100644
index 0000000000..043b98d10b
--- /dev/null
+++ b/recipes/iqnotes/iqnotes-2.0.2/qt2310-fontbug.patch
@@ -0,0 +1,11 @@
+--- iqnotes/preferences.cpp.orig 2005-02-23 14:36:04 +0100
++++ iqnotes/preferences.cpp 2005-02-23 14:35:59 +0100
+@@ -106,7 +106,7 @@
+ {
+ QFontDatabase fontDB;
+ int currentSize = -1;
+-#ifdef DEBUG
++#if defined(DEBUG) || QT_VERSION >= 239
+ int f = 1;
+ #else
+ int f = 10;