aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-09-09 13:27:16 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-09-09 10:38:49 -0300
commitc66f95711e0790fd9141b8c76719d4240893c718 (patch)
tree3096298e64d184006b11b54fdafe39c1c3629bd4
parentabeb75b1841b4e81107e765fddf77687793959db (diff)
downloadaports-c66f95711e0790fd9141b8c76719d4240893c718.tar.gz
aports-c66f95711e0790fd9141b8c76719d4240893c718.tar.bz2
aports-c66f95711e0790fd9141b8c76719d4240893c718.tar.xz
community/lockdev: add required sysmacros.h
-rw-r--r--community/lockdev/APKBUILD8
-rw-r--r--community/lockdev/lockdev_include_sysmacros.patch10
2 files changed, 15 insertions, 3 deletions
diff --git a/community/lockdev/APKBUILD b/community/lockdev/APKBUILD
index ce8e1af4b0..9165bc91df 100644
--- a/community/lockdev/APKBUILD
+++ b/community/lockdev/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lockdev
pkgver=0_git20130107
-pkgrel=2
+pkgrel=3
pkgdesc="Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods."
options="!check"
url="https://packages.qa.debian.org/l/lockdev.html"
@@ -10,7 +10,8 @@ arch="all"
license="LGPL-2.1-or-later"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
+source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
+ lockdev_include_sysmacros.patch"
giturl="git://anonscm.debian.org/lockdev/lockdev.git"
disturl="dev.alpinelinux.org:/archive/$pkgname/"
@@ -37,4 +38,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="65c9a6f184742ee3bfea3c7309c1116498d5a462a973574a6b8098b2b4eaf96c822b5b84b3e5cc509a4282912cb81e25e71ef245d94137edf7a4e6acf82a8c53 lockdev-0_git20130107.tar.gz"
+sha512sums="65c9a6f184742ee3bfea3c7309c1116498d5a462a973574a6b8098b2b4eaf96c822b5b84b3e5cc509a4282912cb81e25e71ef245d94137edf7a4e6acf82a8c53 lockdev-0_git20130107.tar.gz
+a1583789b6d26e81e88203eb0b1856027541d62af3d4d3b051d917d613fb26060dfebd87421e828923ab5ee0c884463e69f951d749227caa9a2032fb220dce6f lockdev_include_sysmacros.patch"
diff --git a/community/lockdev/lockdev_include_sysmacros.patch b/community/lockdev/lockdev_include_sysmacros.patch
new file mode 100644
index 0000000000..6d518b24b4
--- /dev/null
+++ b/community/lockdev/lockdev_include_sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/src/lockdev.c
++++ b/src/lockdev.c
+@@ -117,6 +117,7 @@
+ #include <sys/stat.h>
+ #include <sys/file.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/wait.h>
+ #include "lockdev.h"
+ #include "ttylock.h"