Add IDSIZE patch for better error messages
This commit is contained in:
parent
88aaf9afda
commit
c6e0c4483b
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,6 @@
|
|||||||
lua-5.1.4.tar.gz
|
lua-5.1.4.tar.gz
|
||||||
|
lua-5.1.4/
|
||||||
|
.build*
|
||||||
|
*.src.rpm
|
||||||
|
/x86_64/
|
||||||
|
/i386/
|
||||||
|
12
lua-5.1.4-idsize.patch
Normal file
12
lua-5.1.4-idsize.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN lua-5.1.4/src/luaconf.h.template.in lua-5.1.4.idsize/src/luaconf.h.template.in
|
||||||
|
--- lua-5.1.4/src/luaconf.h.template.in 2011-01-28 19:18:03.176584291 +0100
|
||||||
|
+++ lua-5.1.4.idsize/src/luaconf.h.template.in 2011-01-28 19:19:26.581213131 +0100
|
||||||
|
@@ -216,7 +216,7 @@
|
||||||
|
@* of a function in debug information.
|
||||||
|
** CHANGE it if you want a different size.
|
||||||
|
*/
|
||||||
|
-#define LUA_IDSIZE 60
|
||||||
|
+#define LUA_IDSIZE 512
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
7
lua.spec
7
lua.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.1.4
|
Version: 5.1.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Powerful light-weight programming language
|
Summary: Powerful light-weight programming language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,6 +8,7 @@ URL: http://www.lua.org/
|
|||||||
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
||||||
Patch0: lua-5.1.4-autotoolize.patch
|
Patch0: lua-5.1.4-autotoolize.patch
|
||||||
Patch1: lua-5.1.4-lunatic.patch
|
Patch1: lua-5.1.4-lunatic.patch
|
||||||
|
Patch2: lua-5.1.4-idsize.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: readline-devel ncurses-devel
|
BuildRequires: readline-devel ncurses-devel
|
||||||
Provides: lua = 5.1
|
Provides: lua = 5.1
|
||||||
@ -45,6 +46,7 @@ This package contains the static version of liblua for %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -E -z .autoxxx
|
%patch0 -p1 -E -z .autoxxx
|
||||||
%patch1 -p0 -z .lunatic
|
%patch1 -p0 -z .lunatic
|
||||||
|
%patch2 -p1 -z .idsize
|
||||||
# fix perms on auto files
|
# fix perms on auto files
|
||||||
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
||||||
|
|
||||||
@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 28 2011 Tim Niemueller <tim@niemueller.de> - 5.1.4-6
|
||||||
|
- Add patch to increase IDSIZE for more useful error messages
|
||||||
|
|
||||||
* Sun May 09 2010 Tim Niemueller <tim@niemueller.de> - 5.1.4-5
|
* Sun May 09 2010 Tim Niemueller <tim@niemueller.de> - 5.1.4-5
|
||||||
- Add patch regarding dlopen flags to support Lunatic (Lua-Python bridge)
|
- Add patch regarding dlopen flags to support Lunatic (Lua-Python bridge)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user