Accepting request 204414 from devel:languages:misc
Add -ldl to lua.pc (new patch) Refresh lua51-5.1.5-module-path.diff patch (forwarded request 204313 from ptrommler) OBS-URL: https://build.opensuse.org/request/show/204414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua51?expand=0&rev=10
This commit is contained in:
parent
ad3cafe2f3
commit
f00e1d757f
@ -1,7 +1,8 @@
|
||||
diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h
|
||||
--- trunk~/src/luaconf.h 2006-02-10 12:44:06.000000000 -0500
|
||||
+++ trunk/src/luaconf.h 2006-02-17 21:32:55.000000000 -0500
|
||||
@@ -83,13 +83,17 @@
|
||||
Index: lua-5.1.5/src/luaconf.h
|
||||
===================================================================
|
||||
--- lua-5.1.5.orig/src/luaconf.h
|
||||
+++ lua-5.1.5/src/luaconf.h
|
||||
@@ -95,13 +95,17 @@
|
||||
|
||||
#else
|
||||
#define LUA_ROOT "/usr/local/"
|
||||
@ -19,3 +20,5 @@ diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h
|
||||
- "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
||||
+ "./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so"
|
||||
#endif
|
||||
|
||||
|
||||
|
13
lua51-5.1.5-pkgconfig.patch
Normal file
13
lua51-5.1.5-pkgconfig.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: lua-5.1.5/etc/lua.pc
|
||||
===================================================================
|
||||
--- lua-5.1.5.orig/etc/lua.pc
|
||||
+++ lua-5.1.5/etc/lua.pc
|
||||
@@ -25,7 +25,7 @@ Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
-Libs: -llua -lm
|
||||
+Libs: -llua -lm -ldl
|
||||
Cflags: -I${includedir}
|
||||
|
||||
# (end of lua.pc)
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 12:24:49 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- fix patch lua51-5.1.5-pkgconfig.patch
|
||||
* libdl is required not librt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 21 18:19:08 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- refresh patch lua51-5.1.5-module-path.diff
|
||||
- new patch lua51-5.1.5-pkgconfig.patch
|
||||
* fix libraries in pkgconfig file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 07:19:10 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
@ -34,6 +34,7 @@ Source2: baselibs.conf
|
||||
Patch0: %{name}-%{version}-shared.diff
|
||||
Patch1: %{name}-%{version}-module-path.diff
|
||||
Patch3: %{name}-%{version}-libdir.diff
|
||||
Patch4: %{name}-%{version}-pkgconfig.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -108,6 +109,7 @@ simplicity, efficiency, portability, and low embedding cost.
|
||||
%patch0 -b .shared
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h
|
||||
|
Loading…
Reference in New Issue
Block a user