aboutsummaryrefslogtreecommitdiff
path: root/lang/lua50/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/lua50/files')
-rw-r--r--lang/lua50/files/patch-ab20
-rw-r--r--lang/lua50/files/patch-config11
2 files changed, 0 insertions, 31 deletions
diff --git a/lang/lua50/files/patch-ab b/lang/lua50/files/patch-ab
deleted file mode 100644
index 5a24cd697f27..000000000000
--- a/lang/lua50/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/lib/lmathlib.c.orig Tue Mar 11 21:30:37 2003
-+++ src/lib/lmathlib.c Fri May 9 02:32:59 2003
-@@ -170,7 +170,7 @@
- static int math_random (lua_State *L) {
- /* the `%' avoids the (rare) case of r==1, and is needed also because on
- some systems (SunOS!) `rand()' may return a value larger than RAND_MAX */
-- lua_Number r = (lua_Number)(rand()%RAND_MAX) / (lua_Number)RAND_MAX;
-+ lua_Number r = (lua_Number)(random()%RAND_MAX) / (lua_Number)RAND_MAX;
- switch (lua_gettop(L)) { /* check number of arguments */
- case 0: { /* no arguments */
- lua_pushnumber(L, r); /* Number between 0 and 1 */
-@@ -196,7 +196,7 @@
-
-
- static int math_randomseed (lua_State *L) {
-- srand(luaL_checkint(L, 1));
-+ srandom(luaL_checkint(L, 1));
- return 0;
- }
-
diff --git a/lang/lua50/files/patch-config b/lang/lua50/files/patch-config
deleted file mode 100644
index af26d8b26550..000000000000
--- a/lang/lua50/files/patch-config
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.orig Fri Apr 11 16:00:41 2003
-+++ config Wed Jul 6 00:09:46 2005
-@@ -6,7 +6,7 @@
- LOADLIB=
- DLLIB=
- NUMBER=
--POPEN=
-+POPEN= -DUSE_POPEN=1
- TMPNAM=
- DEGREES=
- USERCONF=