summaryrefslogtreecommitdiff
path: root/math/qalculate-kde
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-23 12:10:29 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-23 12:10:29 +0000
commit29648ff80837b1e42aa016ee81507bfdf4f2ad68 (patch)
tree6b68d568499ac679dcaaea42dbfab4643222248a /math/qalculate-kde
parentdabcbf27b71539f22d99e719a51ddf843d920efa (diff)
downloadpkgsrc-29648ff80837b1e42aa016ee81507bfdf4f2ad68.tar.gz
Don't redefine a local variable.
Diffstat (limited to 'math/qalculate-kde')
-rw-r--r--math/qalculate-kde/distinfo3
-rw-r--r--math/qalculate-kde/patches/patch-src_qalculateeditfunctiondialog.cpp19
2 files changed, 21 insertions, 1 deletions
diff --git a/math/qalculate-kde/distinfo b/math/qalculate-kde/distinfo
index 9bc83ebeb68..5ab177f2634 100644
--- a/math/qalculate-kde/distinfo
+++ b/math/qalculate-kde/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2009/09/06 15:40:49 asau Exp $
+$NetBSD: distinfo,v 1.9 2012/11/23 12:10:29 joerg Exp $
SHA1 (qalculate-kde-0.9.5.tar.gz) = b8c5ae248d630e18933ac80d873df2ee2e6d5fc9
RMD160 (qalculate-kde-0.9.5.tar.gz) = 1808d53d8f49d7f0222ba2db891391e70ba6d575
Size (qalculate-kde-0.9.5.tar.gz) = 1562344 bytes
SHA1 (patch-aa) = 6ee895f1b782d8c06301c74951959a5e0be8b0ba
SHA1 (patch-ac) = 0dd571e91b86052b772a892a2581b4ce8bd1feee
+SHA1 (patch-src_qalculateeditfunctiondialog.cpp) = 328e1dff896bee5255a8cf63e13f204d7a58aca2
diff --git a/math/qalculate-kde/patches/patch-src_qalculateeditfunctiondialog.cpp b/math/qalculate-kde/patches/patch-src_qalculateeditfunctiondialog.cpp
new file mode 100644
index 00000000000..da36ca04862
--- /dev/null
+++ b/math/qalculate-kde/patches/patch-src_qalculateeditfunctiondialog.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_qalculateeditfunctiondialog.cpp,v 1.1 2012/11/23 12:10:29 joerg Exp $
+
+--- src/qalculateeditfunctiondialog.cpp.orig 2012-11-19 17:10:32.000000000 +0000
++++ src/qalculateeditfunctiondialog.cpp
+@@ -377,10 +377,10 @@ MathFunction *QalculateEditFunctionDialo
+ str = defarg.printlong().c_str();
+ str2 = "";
+ }
+- QListViewItem *i = new KListViewItem(argumentsView, i_prev, str2, str);
+- i_prev = i;
+- argumentsItems[i] = arg;
+- argumentsItemsEdited[i] = false;
++ QListViewItem *i2 = new KListViewItem(argumentsView, i_prev, str2, str);
++ i_prev = i2;
++ argumentsItems[i2] = arg;
++ argumentsItemsEdited[i2] = false;
+ }
+ }
+ argumentsView->setResizeMode(KListView::AllColumns);