[arch-commits] Commit in efivar/trunk (0001-fix-efivar.h-location.patch PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Sun Nov 26 11:43:01 UTC 2017
Date: Sunday, November 26, 2017 @ 11:42:57
Author: tpowa
Revision: 310949
upgpkg: efivar 32-1
bump to latest version
Added:
efivar/trunk/0001-fix-efivar.h-location.patch
Modified:
efivar/trunk/PKGBUILD
----------------------------------+
0001-fix-efivar.h-location.patch | 24 ++++++++++++++++++++++++
PKGBUILD | 10 +++++++---
2 files changed, 31 insertions(+), 3 deletions(-)
Added: 0001-fix-efivar.h-location.patch
===================================================================
--- 0001-fix-efivar.h-location.patch (rev 0)
+++ 0001-fix-efivar.h-location.patch 2017-11-26 11:42:57 UTC (rev 310949)
@@ -0,0 +1,24 @@
+From bbd2b9849cf6fec338aa7b6745e1c1a666fca42c Mon Sep 17 00:00:00 2001
+From: rtlanceroad <rtlanceroad at gmail.com>
+Date: Wed, 13 Sep 2017 18:10:33 +0800
+Subject: [PATCH] test: Fix efivar.h location
+
+When other bits of the source got fixed to use a different include path
+for efivars, the test directory did not.
+---
+ src/test/tester.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/test/tester.c b/src/test/tester.c
+index b663e71..935362a 100644
+--- a/src/test/tester.c
++++ b/src/test/tester.c
+@@ -26,7 +26,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+
+-#include <efivar.h>
++#include <efivar/efivar.h>
+
+ #define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-26 10:01:43 UTC (rev 310948)
+++ PKGBUILD 2017-11-26 11:42:57 UTC (rev 310949)
@@ -4,7 +4,7 @@
pkgname="efivar"
pkgdesc="Tools and library to manipulate EFI variables"
-pkgver=31
+pkgver=32
pkgrel=1
arch=('x86_64')
url="https://github.com/rhinstaller/efivar"
@@ -14,9 +14,12 @@
conflicts=('libefivar')
provides=("libefivar=${pkgver}")
options=('strip' 'zipman' 'docs')
-source=("efivar::git+https://github.com/rhinstaller/efivar.git#tag=${pkgver}")
+source=("efivar::git+https://github.com/rhinstaller/efivar.git#tag=${pkgver}"
+ 0001-fix-efivar.h-location.patch)
+
#source=("efivar::git+https://github.com/rhinstaller/efivar.git#commit=8740389dded9202167007508670daefd33a7985f")
-sha1sums=('SKIP')
+sha1sums=('SKIP'
+ 'f00fd947c40565f40f5c5d09408ac60f15b2d7fa')
pkgver() {
cd "${srcdir}/efivar/"
@@ -32,6 +35,7 @@
sed 's|-O0|-Os|g' -i "${srcdir}/efivar/Make.defaults" || true
sed 's|-rpath,$(TOPDIR)/src|-rpath,$(libdir)|g' -i "${srcdir}/efivar/src/test/Makefile" || true
+ patch -Np1 -i "${srcdir}/0001-fix-efivar.h-location.patch"
}
build() {
More information about the arch-commits
mailing list