Ticket #32504: luarocks-2.0.7-upgrade.patch

File luarocks-2.0.7-upgrade.patch, 1.8 KB (added by chad@…, 12 years ago)

Upgrades port from 2.0.4.1 to 2.0.7

  • Portfile

    diff --git a/Portfile b/Portfile
    index f8217d1..2ffc9f2 100644
    a b  
    11# $Id: Portfile 77702 2011-04-09 20:49:18Z and.damore@macports.org $
    22PortSystem          1.0
    33name                luarocks
    4 version             2.0.4.1
    5 revision            2
     4version             2.0.7
     5revision            0
    66categories          devel
    77platforms           darwin
    88maintainers         and.damore openmaintainer
    master_sites http://luarocks.org/releases/ 
    1919depends_run         port:lua
    2020universal_variant   no
    2121
    22 checksums           md5     2c7caccce3cdf236e6f9aca7bec9bdea \
    23                     sha1    18939a8c5931a3ec51d29c9dd71715bf19e30510 \
    24                     rmd160  0c6a8dd420103042c99c5ec7c6416b0af13d95ce
     22checksums           md5     3a9f80418025e2c43ac369ee6837b659 \
     23                    sha1    cf41730bf8ac014268e31b79924c22348df46772 \
     24                    rmd160  d40b16031036f1376a242f3fe5125aaa8d1a275f
    2525
    2626configure.args      --with-lua=${prefix} \
    2727                    --rocks-tree=${prefix}/share/${name}
  • files/patch-src_luarocks_cfg.lua.diff

    diff --git a/files/patch-src_luarocks_cfg.lua.diff b/files/patch-src_luarocks_cfg.lua.diff
    index b09818a..ed45335 100644
    a b  
    1 --- src/luarocks/cfg.lua.orig   2011-04-09 16:17:02.000000000 +0200
    2 +++ src/luarocks/cfg.lua        2011-04-09 16:17:41.000000000 +0200
    3 @@ -129,8 +129,8 @@
     1--- src/luarocks/cfg.lua.orig
     2+++ src/luarocks/cfg.lua
     3@@ -140,8 +140,8 @@ local defaults = {
     4    use_extensions = false,
     5    accept_unknown_fields = false,
    46 
    5  local root = rocks_trees[#rocks_trees]
    6  local defaults = {
    77-   lua_modules_path = "/share/lua/5.1/",
    88-   lib_modules_path = "/lib/lua/5.1/",
    99+   lua_modules_path = "/share/lua/5.1",