@ -1,36 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../lua/ar.patch |
|||
# Copyright (C) 2009 The OpenSDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./src/Makefile.orig 2009-05-12 23:25:09.000000000 +0000
|
|||
+++ ./src/Makefile 2009-05-12 23:25:41.000000000 +0000
|
|||
@@ -9,7 +9,7 @@
|
|||
|
|||
CC= gcc |
|||
CFLAGS= -O2 -Wall $(MYCFLAGS) |
|||
-AR= ar rcu
|
|||
+AR= ar
|
|||
RANLIB= ranlib |
|||
RM= rm -f |
|||
LIBS= -lm $(MYLIBS) |
|||
@@ -48,7 +48,7 @@
|
|||
a: $(ALL_A) |
|||
|
|||
$(LUA_A): $(CORE_O) $(LIB_O) |
|||
- $(AR) $@ $?
|
|||
+ $(AR) rcu $@ $?
|
|||
$(RANLIB) $@ |
|||
|
|||
$(LUA_T): $(LUA_O) $(LUA_A) |
@ -1,37 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../lua/no-readline.diff |
|||
# Copyright (C) 2009 The OpenSDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./src/luaconf.h.orig 2009-05-12 23:27:14.000000000 +0000
|
|||
+++ ./src/luaconf.h 2009-05-12 23:27:36.000000000 +0000
|
|||
@@ -36,7 +36,6 @@
|
|||
#if defined(LUA_USE_LINUX) |
|||
#define LUA_USE_POSIX |
|||
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */ |
|||
-#define LUA_USE_READLINE /* needs some extra libraries */
|
|||
#endif |
|||
|
|||
#if defined(LUA_USE_MACOSX) |
|||
--- ./src/Makefile.orig 2009-05-12 23:26:21.000000000 +0000
|
|||
+++ ./src/Makefile 2009-05-12 23:26:53.000000000 +0000
|
|||
@@ -96,7 +96,7 @@
|
|||
$(MAKE) all MYCFLAGS= |
|||
|
|||
linux: |
|||
- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
|
|||
+ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lncurses"
|
|||
|
|||
macosx: |
|||
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline" |