From c66f95711e0790fd9141b8c76719d4240893c718 Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Mon, 9 Sep 2019 13:27:16 +0000 Subject: community/lockdev: add required sysmacros.h --- community/lockdev/APKBUILD | 8 +++++--- community/lockdev/lockdev_include_sysmacros.patch | 10 ++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 community/lockdev/lockdev_include_sysmacros.patch (limited to 'community') 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 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 + #include + #include ++#include + #include + #include "lockdev.h" + #include "ttylock.h" -- cgit v1.2.3