aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Bartosz Golaszewski <bgolaszewski@baylibre.com>2017-01-25 11:59:02 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-25 22:27:40 +0100
commit658de310c0b713d265f38831b92d603cd6e31f68 (patch)
tree2d2affa636a7870031bf412f0558eb949e59afcc /package
parentb29a9115d7149f2c84cec793d9fe31bc74d97540 (diff)
downloadbuildroot-658de310c0b713d265f38831b92d603cd6e31f68.tar.gz
buildroot-658de310c0b713d265f38831b92d603cd6e31f68.tar.bz2
package/libgpiod: bump version to v0.1.1
This is a bug-fix release that addresses the musl libc compatibility issues encountered with buildroot. We can also remove the patch which got merged upstream. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/libgpiod/0001-include-gpiod.h-include-missing-time.h-include.patch36
-rw-r--r--package/libgpiod/libgpiod.hash2
-rw-r--r--package/libgpiod/libgpiod.mk2
3 files changed, 2 insertions, 38 deletions
diff --git a/package/libgpiod/0001-include-gpiod.h-include-missing-time.h-include.patch b/package/libgpiod/0001-include-gpiod.h-include-missing-time.h-include.patch
deleted file mode 100644
index f3744fd8e9..0000000000
--- a/package/libgpiod/0001-include-gpiod.h-include-missing-time.h-include.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 93fd4a02233d29f78b261d99d9ce6b14869b19c7 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Mon, 23 Jan 2017 21:17:15 +1300
-Subject: [PATCH] include/gpiod.h: include missing <time.h> include
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-gpiod.h uses "struct timespec", but forgets to include the <time.h>
-header which defines "struct timespec". This causes a build error with
-the musl C library:
-
-In file included from core.c:11:0:
-../../include/gpiod.h:232:49: warning: ‘struct timespec’ declared inside parameter list
- typedef int (*gpiod_event_cb)(int, const struct timespec *, void *);
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- include/gpiod.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/include/gpiod.h b/include/gpiod.h
-index 8c5858e..c1f252d 100644
---- a/include/gpiod.h
-+++ b/include/gpiod.h
-@@ -22,6 +22,7 @@
-
- #include <stdlib.h>
- #include <stdbool.h>
-+#include <time.h>
-
- #ifdef __cplusplus
- extern "C" {
---
-2.7.4
-
diff --git a/package/libgpiod/libgpiod.hash b/package/libgpiod/libgpiod.hash
index 7de17bbed9..7ba0531a06 100644
--- a/package/libgpiod/libgpiod.hash
+++ b/package/libgpiod/libgpiod.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 0f9f5215d0100a8066f4e6b064892747720e556cbb83f6c05d6151d68ec2025b libgpiod-v0.1.tar.gz
+sha256 07f75ae1e0c086d28d77ef60d0566180698ce11c3271d89da444c0fc6c2f4580 libgpiod-v0.1.1.tar.gz
diff --git a/package/libgpiod/libgpiod.mk b/package/libgpiod/libgpiod.mk
index b9bd311fbc..e2e27f95da 100644
--- a/package/libgpiod/libgpiod.mk
+++ b/package/libgpiod/libgpiod.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBGPIOD_VERSION = v0.1
+LIBGPIOD_VERSION = v0.1.1
LIBGPIOD_SITE = $(call github,brgl,libgpiod,$(LIBGPIOD_VERSION))
LIBGPIOD_LICENSE = GPLv3+
LIBGPIOD_LICENSE_FILES = COPYING