Add Qalculate package (#393)
[termux-packages] / packages / qalc / Number.cc.patch
diff --git a/packages/qalc/Number.cc.patch b/packages/qalc/Number.cc.patch
new file mode 100644 (file)
index 0000000..914d8fd
--- /dev/null
@@ -0,0 +1,11 @@
+--- ../../build/qalc/cache/libqalculate-0.9.9/libqalculate/Number.cc   2016-06-02 18:40:18.000000000 +0200
++++ ./libqalculate/Number.cc   2016-08-15 00:35:08.556225106 +0200
+@@ -2708,7 +2708,7 @@
+                               } catch(runtime_exception &e) {
+                                       CALCULATOR->error(true, _("CLN Exception: %s"), e.what());
+                               }
+-                              pthread_testcancel();
++                              //pthread_testcancel();
+                               if(b_zero) {
+                                       try {
+                                               inr = cln::exquo(inr, last_prime);