mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/cramfs: add required sysmacros.h header
This commit is contained in:
parent
ca2172ac44
commit
b1b7fa90dd
@ -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"
|
||||
|
||||
10
main/cramfs/mkcramfs-include-sysmacros.patch
Normal file
10
main/cramfs/mkcramfs-include-sysmacros.patch
Normal file
@ -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>
|
||||
Loading…
x
Reference in New Issue
Block a user