aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-07-31 15:48:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-05 12:05:56 +0000
commitb1b7fa90dd470ef226a9e80c0572986b9932ffe9 (patch)
tree23ac88bcd065b8d2ea14dadc3f65b3efa87f4896
parentca2172ac44a492441b25565d8038cc7ec6c2a601 (diff)
downloadaports-b1b7fa90dd470ef226a9e80c0572986b9932ffe9.tar.gz
aports-b1b7fa90dd470ef226a9e80c0572986b9932ffe9.tar.bz2
aports-b1b7fa90dd470ef226a9e80c0572986b9932ffe9.tar.xz
main/cramfs: add required sysmacros.h header
-rw-r--r--main/cramfs/APKBUILD8
-rw-r--r--main/cramfs/mkcramfs-include-sysmacros.patch10
2 files changed, 15 insertions, 3 deletions
diff --git a/main/cramfs/APKBUILD b/main/cramfs/APKBUILD
index bde0189595..854df0ecf0 100644
--- a/main/cramfs/APKBUILD
+++ b/main/cramfs/APKBUILD
@@ -1,14 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cramfs
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Linux filesystem designed to be simple, small, and to compress things well"
arch="all"
url="https://sourceforge.net/projects/cramfs/"
license='GPL'
depends=
makedepends="zlib-dev linux-headers"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ mkcramfs-include-sysmacros.patch"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -21,4 +22,5 @@ package() {
install mkcramfs cramfsck "$pkgdir"/sbin
}
-sha512sums="6c18dbe32df57f7d132fb2a59a917ad381156ca1f720c1ad0997ca81c62e82fd43ebb0339c5a66d5b144a72ce5c7ae93596522fe2698259f2b68c31db26e3b63 cramfs-1.1.tar.gz"
+sha512sums="6c18dbe32df57f7d132fb2a59a917ad381156ca1f720c1ad0997ca81c62e82fd43ebb0339c5a66d5b144a72ce5c7ae93596522fe2698259f2b68c31db26e3b63 cramfs-1.1.tar.gz
+4cb3b50f76181775634a4cdf5d2d06ea90978f7059e0390e97f58c58896afee76e04e1df4e44f254285d7c80a76c3b053c36aa03b2e4cb3b9621c8aacd21368b mkcramfs-include-sysmacros.patch"
diff --git a/main/cramfs/mkcramfs-include-sysmacros.patch b/main/cramfs/mkcramfs-include-sysmacros.patch
new file mode 100644
index 0000000000..3d82935729
--- /dev/null
+++ b/main/cramfs/mkcramfs-include-sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/mkcramfs.c
++++ b/mkcramfs.c
+@@ -23,6 +23,7 @@
+ */
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <stdio.h>
+ #include <sys/stat.h>
+ #include <unistd.h>