aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 13:58:06 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 13:58:06 +0000
commit916e513939dcf0ed2e1ad5bf0d53942af25a096e (patch)
tree207802033f74c7d9827b5490bd626ccf389c4668 /main/bacula
parentd57c0858200dfbca041aad04b551632c85a298e3 (diff)
downloadaports-916e513939dcf0ed2e1ad5bf0d53942af25a096e.tar.bz2
aports-916e513939dcf0ed2e1ad5bf0d53942af25a096e.tar.xz
main/bacula: fix musl build
Diffstat (limited to 'main/bacula')
-rw-r--r--main/bacula/APKBUILD13
-rw-r--r--main/bacula/fix-headers.patch10
2 files changed, 19 insertions, 4 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index 2459101181..da0babca96 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -32,7 +32,9 @@ source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgn
configure.in.patch
bacula-5.0.3-Makefile.patch
os.m4.patch
- cxx.patch"
+ cxx.patch
+ fix-headers.patch
+ "
_builddir="$srcdir/$pkgname-$pkgver"
@@ -171,7 +173,8 @@ fe1fe1df51c3e57343e2e7794447a763 bacula-5.2.3-lib-search-path.patch
ebc9c2bbc9be95c920723a3f142d8e19 configure.in.patch
0ec20df57bb632ed729cfaf5d0a3ee33 bacula-5.0.3-Makefile.patch
cf7a2a4e972697f54364654c4e282b8b os.m4.patch
-1bfdbfea7a36d5503753414dffb953eb cxx.patch"
+1bfdbfea7a36d5503753414dffb953eb cxx.patch
+b84924f161f193d8441316ee4abc3064 fix-headers.patch"
sha256sums="a4bed458bf001889bd06bf31671b5d9908055a1d1e8113fd750ae4d326607ad8 bacula-5.2.13.tar.gz
5a8f830983dc12710aa422c7cb7c1cb5a97bbadd1d0bc94f6223127659038dc4 bacula-dir-init
5891bdb3a8ec581f8a2fd404a5a8995d8950d80da71a3b732474fb45e80d22c2 bacula-dir-conf
@@ -189,7 +192,8 @@ b0e18fdcdf35e2ccdcc480441dd58cf5b1e19456562041089a60008b0d70c847 bacula-config.
1675604190c796bf79910299ba2cf0a3aec3e07737d7caabf1a041c8706e74d1 configure.in.patch
a0c22db4653add98e172d248c46232349fc910b5418b99ad896ad7e41917187f bacula-5.0.3-Makefile.patch
9d676fb2f947d80aff54040df9703d9fdc0904bfbdb40cfab93185e16f78b3aa os.m4.patch
-bb91379d5ef81887c9bd270387c1b204b9f800ce53cb91e767bb39187402d8af cxx.patch"
+bb91379d5ef81887c9bd270387c1b204b9f800ce53cb91e767bb39187402d8af cxx.patch
+f74d95cd0dab90326e0eeee45b30b4af52d61f9e8a16547ce879533d2e85d460 fix-headers.patch"
sha512sums="dfdff353f5b6ed4d85013dc292526706bbd67066f7057a114012172926c819c8df1eb8779166d5a90db3a49a5584f0a8daf7566cc93cf4fa3f1bdda245b55cf0 bacula-5.2.13.tar.gz
c120fdf566c33465aeb8609e43fc503dd16e5262c992f9c055eea457e3d512924d2ffa7e8d2be23ed9d90944fbc40cc8097117b0b0ae855ad879d5fe6eede1d9 bacula-dir-init
e06e5f8821d4a9a3f40cc8f11feeb5004780b82e2ad5e645f69a0f8faff78d8a8c6e66b36e105619b2a78d6b2f294dedd0e00e9bbf568af201cf299387135fef bacula-dir-conf
@@ -207,4 +211,5 @@ a40d07883b33a95869f324dd4206cf6b48ebe64824148c55caccb0aafca4543b36bac7da35325f3b
257370247cd1ef9f6205a9162738d0821d674f469af48f5d560c8d8aa85ee2801aa0eb9b824fb75992f57e7695f0428c3ad0af0deb44e0c8a1d11f771cbe1502 configure.in.patch
b4d21e0ec6d0c3d0027b2125242c4216dc5cd84a144b2d4ee642bae44c920ca433cf21526654d792281bd8c87f1b36442160b89aad4ea97b37aa03462a22869e bacula-5.0.3-Makefile.patch
fe4313625885d1168ad8cc9fa5360c18c8cbff2d26bc8d5deba3e5fa40021a019860a473fef17dc7dfa6bb1a98a477301dbaaf9152b1bcee3382432ca7e8f973 os.m4.patch
-727d358f8311dec839440ee9962bdf30bd33f062a15645c7a4f6c73bd5a3654c9c671f870cdcddf8f6d6b9e36516658305ba22a2484ae3437d7347fb3d2383b4 cxx.patch"
+727d358f8311dec839440ee9962bdf30bd33f062a15645c7a4f6c73bd5a3654c9c671f870cdcddf8f6d6b9e36516658305ba22a2484ae3437d7347fb3d2383b4 cxx.patch
+215a0b5bc038658ed821a85c6e70df70cb66ca2a970f1e27ae9690c54372410f2d677f1b04b380dfedcff516c96ba91200850917b20454a871a99958d0d24604 fix-headers.patch"
diff --git a/main/bacula/fix-headers.patch b/main/bacula/fix-headers.patch
new file mode 100644
index 0000000000..49cacc350a
--- /dev/null
+++ b/main/bacula/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>