diff options
author | Breno Leitao <breno.leitao@gmail.com> | 2017-05-10 20:07:49 +0000 |
---|---|---|
committer | Breno Leitao <breno.leitao@gmail.com> | 2017-05-10 20:09:20 +0000 |
commit | c6f31c458a213bf82cf3c28bfa78b850dace3922 (patch) | |
tree | 66eb9c75e23ce470bddd3ecbf520261cdc62a8e3 /testing/dante/APKBUILD | |
parent | d53497536d479694e9a43c6d7355916add8890f7 (diff) | |
download | aports-c6f31c458a213bf82cf3c28bfa78b850dace3922.tar.bz2 aports-c6f31c458a213bf82cf3c28bfa78b850dace3922.tar.xz |
testing/dante: Fix build on new compiler
Dante is failing because they are using #if MACRO, where MACRO is just a
number.
In this case, they just use #ifdef or #if defined(MACRO). Fixing it to
enable dante to be buildable.
Diffstat (limited to 'testing/dante/APKBUILD')
-rw-r--r-- | testing/dante/APKBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/dante/APKBUILD b/testing/dante/APKBUILD index 565f41abe6..e26ab0b358 100644 --- a/testing/dante/APKBUILD +++ b/testing/dante/APKBUILD @@ -14,6 +14,7 @@ install="$pkgname-server.pre-install" options="libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-server" source="http://www.inet.no/dante/files/$pkgname-$pkgver.tar.gz +ifdev.patch sockd.initd sockd.confd" @@ -26,6 +27,7 @@ prepare() { build() { cd "$builddir" + subpackages="$pkgname-dev $pkgname-doc" ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr make || return 1 } @@ -50,5 +52,6 @@ server() { } sha512sums="38d4e3086f851fac78e2dbe7f928eba3b8bf1fb9219c42d929b9e1ea324882b0ae583dc59964a2772af4202dfc977387c6f723b320b5abbbe70e1990cd94f53b dante-1.4.2.tar.gz +9fd824db09081e1ff81875e740c9ee4d529e986ce486cbb4270e02c061c0120898cbe57f70ed010cc6b81f1d700114732d8f84b2f055f43d5f3110f2f0e8ba23 ifdev.patch 9ec0c32f6bfb3fbd266f89ccb0ffff0356b88d679bf3099ff4c78e7f4ca78de9b8fb9f6ff136ca333f148c16f9fcb502ac3f5469c106494846e4aa3192d79c4e sockd.initd 09b744340c03369983a9b07e50215288e5a43d15497db479867132bee46f34a7a8e451c980e064f751ad50e5231d77fa5ae9fd5cf2efe3274ae50168bfceaa67 sockd.confd" |