pi-blaster: bump to revision befd8ef

Also:
 - remove upstreamed patch.
 - update LIC_FILES_CHKSUM: License in the README was moved a
   couple of lines below

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
This commit is contained in:
Pierre-Jean Texier 2019-11-11 17:50:06 +01:00 committed by Andrei Gherzan
parent a430f1e50a
commit ed6b75ba69
2 changed files with 2 additions and 35 deletions

View File

@ -1,32 +0,0 @@
From 6a6b705ff5cba960c54bdb4d4bcdaa3b00a854a2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 11 Aug 2018 10:24:24 -0700
Subject: [PATCH] pi-blaster: Include sys/sysmacros.h for makedev()
In glibc 2.28+ this header is not included indirectly anymore
fixes
ld: pi-blaster.o: in function `mbox_open':
pi-blaster.c:(.text+0x28): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
Upstream-Status: Submitted [https://github.com/sarfata/pi-blaster/pull/100]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
pi-blaster.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/pi-blaster.c b/pi-blaster.c
index 6cfd010..fc4e686 100644
--- a/pi-blaster.c
+++ b/pi-blaster.c
@@ -41,6 +41,7 @@ static char VERSION[] = "SNAPSHOT";
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <fcntl.h>
#include <sys/mman.h>
#include "mailbox.h"

View File

@ -2,16 +2,15 @@ DESCRIPTION = "This project enables PWM on the GPIO pins you request of a Raspbe
HOMEPAGE = "https://github.com/sarfata/pi-blaster/"
SECTION = "devel/libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://README.md;beginline=244;endline=268;md5=86d10e4bcf4b4014d306dde7c1d2a80d"
LIC_FILES_CHKSUM = "file://README.md;beginline=268;endline=292;md5=86d10e4bcf4b4014d306dde7c1d2a80d"
SRC_URI = "git://github.com/sarfata/pi-blaster \
file://remove-initscript-lsb-dependency.patch \
file://0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch \
"
S = "${WORKDIR}/git"
SRCREV = "e981aa5d7624c75a4d4afcddcbd235f25e32ffe4"
SRCREV = "befd8ef36e5066e4d444ef47fe4020787e541248"
inherit update-rc.d autotools