summaryrefslogtreecommitdiff
path: root/lang/basic256/patches
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-10-27 13:50:55 +0000
committerkamil <kamil@pkgsrc.org>2019-10-27 13:50:55 +0000
commit110d677bcbd613167f2d506eba20fb3d2ece8b06 (patch)
tree995c3510e0f2594c264237c3a2c71ca60bf0b952 /lang/basic256/patches
parent34eb58f303193c58a19d9515784f33218bb874c3 (diff)
downloadpkgsrc-110d677bcbd613167f2d506eba20fb3d2ece8b06.tar.gz
basic256: Retired
Upstream dead. Last release 1.1.4.0 in 2014.
Diffstat (limited to 'lang/basic256/patches')
-rw-r--r--lang/basic256/patches/patch-Interpreter.cpp62
-rw-r--r--lang/basic256/patches/patch-RunController.cpp14
-rw-r--r--lang/basic256/patches/patch-Variables.h15
3 files changed, 0 insertions, 91 deletions
diff --git a/lang/basic256/patches/patch-Interpreter.cpp b/lang/basic256/patches/patch-Interpreter.cpp
deleted file mode 100644
index dba7f6e40da..00000000000
--- a/lang/basic256/patches/patch-Interpreter.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-$NetBSD: patch-Interpreter.cpp,v 1.3 2017/06/17 19:42:58 joerg Exp $
-
-Avoid overlap with std::mutex.
-Fix delete use.
-Avoid overlap between std::bind and bind(2).
-
---- Interpreter.cpp.orig 2012-08-06 14:57:58.000000000 +0000
-+++ Interpreter.cpp
-@@ -69,6 +69,8 @@ using namespace std;
- QMutex keymutex;
- int currentKey;
-
-+#define mutex my_mutex
-+
- extern QMutex mutex;
- extern QMutex debugmutex;
- extern QWaitCondition waitCond;
-@@ -2446,7 +2448,7 @@ Interpreter::execByteCode()
- poly.drawPolygon(points, pairs);
- poly.end();
- if (!fastgraphics) waitForGraphics();
-- delete points;
-+ delete[] points;
- }
- } else {
- errornum = ERROR_POLYARRAY;
-@@ -2487,7 +2489,7 @@ Interpreter::execByteCode()
- poly.end();
-
- if (!fastgraphics) waitForGraphics();
-- delete points;
-+ delete[] points;
- }
- }
- break;
-@@ -2538,7 +2540,7 @@ Interpreter::execByteCode()
- poly.end();
- if (!fastgraphics) waitForGraphics();
-
-- delete points;
-+ delete[] points;
- }
- }
- } else {
-@@ -2608,7 +2610,7 @@ Interpreter::execByteCode()
- poly.end();
-
- if (!fastgraphics) waitForGraphics();
-- delete points;
-+ delete[] points;
- }
- }
- }
-@@ -3400,7 +3402,7 @@ Interpreter::execByteCode()
- serv_addr.sin_family = AF_INET;
- serv_addr.sin_addr.s_addr = INADDR_ANY;
- serv_addr.sin_port = htons(port);
-- if (bind(tempsockfd, (struct sockaddr *) &serv_addr, sizeof(serv_addr)) < 0) {
-+ if (::bind(tempsockfd, (struct sockaddr *) &serv_addr, sizeof(serv_addr)) < 0) {
- errornum = ERROR_NETBIND;
- errormessage = strerror(errno);
- tempsockfd = netSockClose(tempsockfd);
diff --git a/lang/basic256/patches/patch-RunController.cpp b/lang/basic256/patches/patch-RunController.cpp
deleted file mode 100644
index d8fb06d99ba..00000000000
--- a/lang/basic256/patches/patch-RunController.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-RunController.cpp,v 1.1 2013/05/04 12:48:33 joerg Exp $
-
-Avoid overlap with std::mutex.
-
---- RunController.cpp.orig 2013-05-04 00:27:12.000000000 +0000
-+++ RunController.cpp
-@@ -80,6 +80,7 @@ using namespace std;
- #define SDL_CHAN_SOUND 2
- #endif
-
-+#define mutex my_mutex
- QMutex mutex;
- QMutex debugmutex;
- QWaitCondition waitCond;
diff --git a/lang/basic256/patches/patch-Variables.h b/lang/basic256/patches/patch-Variables.h
deleted file mode 100644
index 9700dda8b60..00000000000
--- a/lang/basic256/patches/patch-Variables.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-Variables.h,v 1.2 2015/12/29 23:34:43 dholland Exp $
-
-Update C++ dialect.
-
---- Variables.h.orig 2015-06-09 23:15:06.000000000 +0000
-+++ Variables.h
-@@ -34,7 +34,7 @@ struct variable
- union {
- char *string;
- double floatval;
-- array *arr;
-+ ::array *arr;
- } value;
- };
-