aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-12-11 16:25:09 +0000
committerTed Trask <ttrask01@yahoo.com>2012-12-11 16:25:09 +0000
commit0a247d6a41cdd0799830f898f54ab378ef40e8b7 (patch)
tree70e429c2e1a1ef2d6406436abf7ee8be42e6232d /testing
parent8b1b20b230106ba9b7f9a75b7afe6a8757b9960e (diff)
downloadaports-0a247d6a41cdd0799830f898f54ab378ef40e8b7.tar.bz2
aports-0a247d6a41cdd0799830f898f54ab378ef40e8b7.tar.xz
testing/lua-subprocess: Add patch and bump pkgrel
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-subprocess/APKBUILD4
-rw-r--r--testing/lua-subprocess/openexception.patch11
2 files changed, 14 insertions, 1 deletions
diff --git a/testing/lua-subprocess/APKBUILD b/testing/lua-subprocess/APKBUILD
index 707e389099..f72c330686 100644
--- a/testing/lua-subprocess/APKBUILD
+++ b/testing/lua-subprocess/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=lua-subprocess
pkgver=0.0.20121211
-pkgrel=0
+pkgrel=1
pkgdesc="A Lua module written in C that allows you to create child processes and communicate with them"
url="https://github.com/xlq/lua-subprocess"
arch="all"
@@ -13,6 +13,7 @@ makedepends="$depends_dev lua-dev"
install=""
subpackages=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
+ openexception.patch
makefile.patch"
_builddir="$srcdir/$pkgname-$pkgver"
_giturl="git://github.com/xlq/lua-subprocess.git"
@@ -58,4 +59,5 @@ package() {
}
md5sums="c2f13ef8e1fb83af43d61586ff611957 lua-subprocess-0.0.20121211.tar.gz
+fa869a7c9a11faf77ad9fd98ba35f62a openexception.patch
cc680a0ec32e0461215ce61a44bbb540 makefile.patch"
diff --git a/testing/lua-subprocess/openexception.patch b/testing/lua-subprocess/openexception.patch
new file mode 100644
index 0000000000..1a36d05aad
--- /dev/null
+++ b/testing/lua-subprocess/openexception.patch
@@ -0,0 +1,11 @@
+--- ./src/lua-subprocess-0.0.20121211/subprocess.c
++++ ./subprocess.c
+@@ -1130,6 +1130,8 @@
+ if (r != 1){
+ return r;
+ }
++ lua_replace(L, 1);
++ lua_settop(L, 1);
+ return proc_wait(L);
+ }
+