diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-04 19:34:09 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-04 19:34:09 +0100 |
commit | ec1a6ceb6432421b98b6edf0f622c047fe55d915 (patch) | |
tree | a3b942cc5ffa7b870873234611b2c62b5f823efa /main/pingu/APKBUILD | |
parent | 80ababc3aeab106c883087591b453817a770bc17 (diff) | |
download | aports-ec1a6ceb6432421b98b6edf0f622c047fe55d915.tar.bz2 aports-ec1a6ceb6432421b98b6edf0f622c047fe55d915.tar.xz |
main/pingu: fix build on eglibc
Diffstat (limited to 'main/pingu/APKBUILD')
-rw-r--r-- | main/pingu/APKBUILD | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/main/pingu/APKBUILD b/main/pingu/APKBUILD index 2aab349441..fe090da29a 100644 --- a/main/pingu/APKBUILD +++ b/main/pingu/APKBUILD @@ -13,6 +13,7 @@ subpackages="$pkgname-doc lua-pingu:_lua mtu" source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 0001-pingu_route-allow-default-routes-that-has-no-via-add.patch pingu.initd + pingu-strncpy.patch " _builddir="$srcdir"/$pkgname-$pkgver @@ -31,6 +32,16 @@ build() { make || return 1 } +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + package() { cd "$_builddir" make DESTDIR="$pkgdir" install install-lua @@ -52,4 +63,5 @@ _lua() { md5sums="a874d852ae0d8e10f8c22e0008d1b529 pingu-1.2.tar.bz2 dbd6e66d4c9c694fd0436e91555bf750 0001-pingu_route-allow-default-routes-that-has-no-via-add.patch -70f56b0f506e1c2e725d0ec062667c32 pingu.initd" +70f56b0f506e1c2e725d0ec062667c32 pingu.initd +380539ae29d48af4d3958afaf1d2e1d0 pingu-strncpy.patch" |