OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   25-Jan-2008 17:35:37
  Branch: HEAD                             Handle: 2008012516353700

  Modified files:
    openpkg-src/lua         lua.patch

  Log:
    update the patch to apply more cleanly (it is indirectly used on
    rpm5.org for building RPM against Lua)

  Summary:
    Revision    Changes     Path
    1.6         +5  -5      openpkg-src/lua/lua.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lua/lua.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 lua.patch
  --- openpkg-src/lua/lua.patch 25 Jan 2008 15:47:57 -0000      1.5
  +++ openpkg-src/lua/lua.patch 25 Jan 2008 16:35:37 -0000      1.6
  @@ -1,6 +1,6 @@
   Index: src/Makefile
  ---- src/Makefile.orig        2007-03-25 16:49:23 +0200
  -+++ src/Makefile     2007-04-02 16:58:27 +0200
  +--- src/Makefile.orig        2008-01-19 20:37:58 +0100
  ++++ src/Makefile     2008-01-25 17:33:43 +0100
   @@ -14,9 +14,9 @@
    RM= rm -f
    LIBS= -lm $(MYLIBS)
  @@ -33,7 +33,7 @@
   +    $(MAKE) all MYCFLAGS="$(MYCFLAGS) -DLUA_USE_LINUX" MYLIBS="$(MYLIBS) 
-Wl,-E -ldl -lreadline -lhistory -lncurses"
    
    macosx:
  -     $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
  +     $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
   @@ -110,10 +110,10 @@
        $(MAKE) "LUAC_T=luac.exe" luac.exe
    
  @@ -48,8 +48,8 @@
    # list targets that do not create files (but not all makes understand 
.PHONY)
    .PHONY: all $(PLATS) default o a clean depend echo none
   Index: src/luaconf.h
  ---- src/luaconf.h.orig       2006-04-10 20:27:23 +0200
  -+++ src/luaconf.h    2006-12-11 08:28:55 +0100
  +--- src/luaconf.h.orig       2008-01-18 18:07:48 +0100
  ++++ src/luaconf.h    2008-01-25 17:33:43 +0100
   @@ -36,7 +36,6 @@
    #if defined(LUA_USE_LINUX)
    #define LUA_USE_POSIX
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to