aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 13:59:14 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 13:59:25 +0000
commit290d2c96afe07e951b14793f9aa1f1953f37b911 (patch)
tree32ca703a837abb9d30802a44d16107f3372fb3ed /main
parent916e513939dcf0ed2e1ad5bf0d53942af25a096e (diff)
downloadaports-290d2c96afe07e951b14793f9aa1f1953f37b911.tar.bz2
aports-290d2c96afe07e951b14793f9aa1f1953f37b911.tar.xz
main/bacula-client: fix musl build
Diffstat (limited to 'main')
-rw-r--r--main/bacula-client/APKBUILD13
-rw-r--r--main/bacula-client/fix-headers.patch10
2 files changed, 19 insertions, 4 deletions
diff --git a/main/bacula-client/APKBUILD b/main/bacula-client/APKBUILD
index eebea5ff2b..264ee71d0e 100644
--- a/main/bacula-client/APKBUILD
+++ b/main/bacula-client/APKBUILD
@@ -26,7 +26,9 @@ source="http://downloads.sourceforge.net/project/$_realname/$_realname/$pkgver/$
bacula-5.2.3-lib-search-path.patch
configure.in.patch
cxx.patch
- os.m4.patch"
+ os.m4.patch
+ fix-headers.patch
+ "
_builddir="$srcdir/$_realname-$pkgver"
@@ -95,7 +97,8 @@ md5sums="43417bae0c221afb1f30a581c9e0f2fe bacula-5.2.13.tar.gz
fe1fe1df51c3e57343e2e7794447a763 bacula-5.2.3-lib-search-path.patch
ebc9c2bbc9be95c920723a3f142d8e19 configure.in.patch
1bfdbfea7a36d5503753414dffb953eb cxx.patch
-cf7a2a4e972697f54364654c4e282b8b os.m4.patch"
+cf7a2a4e972697f54364654c4e282b8b os.m4.patch
+b84924f161f193d8441316ee4abc3064 fix-headers.patch"
sha256sums="a4bed458bf001889bd06bf31671b5d9908055a1d1e8113fd750ae4d326607ad8 bacula-5.2.13.tar.gz
66faf33d3a638301c89823efb6b4a05c64749a4773941ba386138e55847eacef bacula-fd-init
64124036c19e849cc580b981887be35b5746acb584397190a0afe2797b2d1ace bacula-fd-conf
@@ -108,7 +111,8 @@ d38d2ab752078a20d9e39abc9fefa27678aeb85c0cc4d12fb58447bbe3932b67 bacula-5.2.3-l
d11270bcd68eaafe52184891987b2fa6b5c446e901e0e1d0fdd05a0999b96cfc bacula-5.2.3-lib-search-path.patch
1675604190c796bf79910299ba2cf0a3aec3e07737d7caabf1a041c8706e74d1 configure.in.patch
bb91379d5ef81887c9bd270387c1b204b9f800ce53cb91e767bb39187402d8af cxx.patch
-9d676fb2f947d80aff54040df9703d9fdc0904bfbdb40cfab93185e16f78b3aa os.m4.patch"
+9d676fb2f947d80aff54040df9703d9fdc0904bfbdb40cfab93185e16f78b3aa os.m4.patch
+f74d95cd0dab90326e0eeee45b30b4af52d61f9e8a16547ce879533d2e85d460 fix-headers.patch"
sha512sums="dfdff353f5b6ed4d85013dc292526706bbd67066f7057a114012172926c819c8df1eb8779166d5a90db3a49a5584f0a8daf7566cc93cf4fa3f1bdda245b55cf0 bacula-5.2.13.tar.gz
9b2cc49e91ba5129a9ea1a63b8c3006f5df0a0be3196f753c8e1cfba1dfa897c4ac979bb377e49ca19e0299ba8b02047b8af966221e29bcced7ee7c2a3871c31 bacula-fd-init
ff312e8952b31de27f22b257d12b570e151794d985f854ff19bab34363ea974d7583edced6b125518da3ecfe2b2a229b732473958b10484d988fcc8a67a372cc bacula-fd-conf
@@ -121,4 +125,5 @@ b4d21e0ec6d0c3d0027b2125242c4216dc5cd84a144b2d4ee642bae44c920ca433cf21526654d792
4140dbbe9a28b58b4982c088bde1a26dffd9652cc7ea6c7a1ff971733b311ec8267b12ce539bc3a8511bfe65625adb73d8f911d09988c1fb1de901c00a682518 bacula-5.2.3-lib-search-path.patch
257370247cd1ef9f6205a9162738d0821d674f469af48f5d560c8d8aa85ee2801aa0eb9b824fb75992f57e7695f0428c3ad0af0deb44e0c8a1d11f771cbe1502 configure.in.patch
727d358f8311dec839440ee9962bdf30bd33f062a15645c7a4f6c73bd5a3654c9c671f870cdcddf8f6d6b9e36516658305ba22a2484ae3437d7347fb3d2383b4 cxx.patch
-fe4313625885d1168ad8cc9fa5360c18c8cbff2d26bc8d5deba3e5fa40021a019860a473fef17dc7dfa6bb1a98a477301dbaaf9152b1bcee3382432ca7e8f973 os.m4.patch"
+fe4313625885d1168ad8cc9fa5360c18c8cbff2d26bc8d5deba3e5fa40021a019860a473fef17dc7dfa6bb1a98a477301dbaaf9152b1bcee3382432ca7e8f973 os.m4.patch
+215a0b5bc038658ed821a85c6e70df70cb66ca2a970f1e27ae9690c54372410f2d677f1b04b380dfedcff516c96ba91200850917b20454a871a99958d0d24604 fix-headers.patch"
diff --git a/main/bacula-client/fix-headers.patch b/main/bacula-client/fix-headers.patch
new file mode 100644
index 0000000000..49cacc350a
--- /dev/null
+++ b/main/bacula-client/fix-headers.patch
@@ -0,0 +1,10 @@
+--- bacula-5.2.13.orig/src/lib/mntent_cache.c
++++ bacula-5.2.13/src/lib/mntent_cache.c
+@@ -62,6 +62,7 @@
+ #include "mntent_cache.h"
+
+ #include <errno.h>
++#include <paths.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>