summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--header.patch13
3 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0250b35397c0..723768a9e772 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hal
pkgdesc = Hardware Abstraction Layer
pkgver = 0.5.15
- pkgrel = 2
+ pkgrel = 3
url = http://www.freedesktop.org/wiki/Software/hal
install = hal.install
arch = i686
@@ -24,7 +24,7 @@ pkgbase = hal
source = header.patch
md5sums = a8a7d380f3791c818a08a5f74befe3aa
md5sums = ca4a7932fe7e8acbfa17245b62cc3b9b
- md5sums = 5448c3074a62337faafc586203a07649
+ md5sums = 26cd90a078dd5c28786aea158fb7a0d3
pkgname = hal
diff --git a/PKGBUILD b/PKGBUILD
index d939891e729e..d707b48a187e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
pkgname=hal
pkgver=0.5.15
-pkgrel=2
+pkgrel=3
pkgdesc="Hardware Abstraction Layer"
arch=(i686 x86_64)
license=('GPL' 'custom')
@@ -26,7 +26,7 @@ source=("https://github.com/bbidulock/${pkgname}/releases/download/${pkgname^^[a
"header.patch")
md5sums=('a8a7d380f3791c818a08a5f74befe3aa'
'ca4a7932fe7e8acbfa17245b62cc3b9b'
- '5448c3074a62337faafc586203a07649')
+ '26cd90a078dd5c28786aea158fb7a0d3')
prepare() {
cd ${pkgname}-${pkgver}
diff --git a/header.patch b/header.patch
index a5e3da8f0ec9..35fd6630fbc4 100644
--- a/header.patch
+++ b/header.patch
@@ -1,6 +1,17 @@
+diff -up src/hal-0.5.15/hald/linux/blockdev.c.orig src/hal-0.5.15/hald/linux/blockdev.c
+--- src/hal-0.5.15/hald/linux/blockdev.c.orig 2015-08-13 18:03:19.000000000 -0600
++++ src/hal-0.5.15/hald/linux/blockdev.c 2019-08-06 03:30:01.000000000 -0600
+@@ -35,6 +35,7 @@
+ #include <dirent.h>
+ #include <string.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <errno.h>
diff -up src/hal-0.5.15/tools/Makefile.in.orig src/hal-0.5.15/tools/Makefile.in
--- src/hal-0.5.15/tools/Makefile.in.orig 2015-08-13 18:09:13.000000000 -0600
-+++ src/hal-0.5.15/tools/Makefile.in 2016-05-31 18:30:15.000000000 -0600
++++ src/hal-0.5.15/tools/Makefile.in 2019-08-06 03:28:38.000000000 -0600
@@ -1345,7 +1345,7 @@ uninstall-am: uninstall-binPROGRAMS unin