package/libdisplay-info: bump version to 0.2.0

Removed patch which is included in this release.
Use xz tarball and its sha256 hash, both provided by upstream.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2024-07-08 23:00:52 +02:00
committed by Thomas Petazzoni
parent 01becd31ca
commit ab9aca21d0
3 changed files with 5 additions and 40 deletions
@@ -1,36 +0,0 @@
From 648c1cb66b571b037976b61363654f39448f5fac Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Sun, 7 May 2023 14:14:48 +0200
Subject: [PATCH] displayid.c: Include sys/types.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes build error
../displayid.c:377:10: error: ‘ssize_t’ undeclared (first use in this function); did you mean ‘size_t’?
seen with:
arc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.2.0
Upstream: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/commit/5c9801a75f2815790ad1ed5500cec2728a36c6ec
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
displayid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/displayid.c b/displayid.c
index 398772b..f1749c6 100644
--- a/displayid.c
+++ b/displayid.c
@@ -3,6 +3,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
#include "bits.h"
#include "displayid.h"
--
2.39.2
+2 -1
View File
@@ -1,3 +1,4 @@
# From https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/0.2.0/downloads/libdisplay-info-0.2.0.tar.xz.sha256sum
sha256 5a2f002a16f42dd3540c8846f80a90b8f4bdcd067a94b9d2087bc2feae974176 libdisplay-info-0.2.0.tar.xz
# Locally computed
sha256 51cdb0362882ca2af62532ab4d95e60d81e9890b339264719fd55f8e3945d695 libdisplay-info-0.1.1.tar.bz2
sha256 15b396244e58830c5614b9394f4deccfe684970cd507f299383ab57ad339eedd LICENSE
+3 -3
View File
@@ -4,9 +4,9 @@
#
################################################################################
LIBDISPLAY_INFO_VERSION = 0.1.1
LIBDISPLAY_INFO_SOURCE = libdisplay-info-$(LIBDISPLAY_INFO_VERSION).tar.bz2
LIBDISPLAY_INFO_SITE = https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/$(LIBDISPLAY_INFO_VERSION)
LIBDISPLAY_INFO_VERSION = 0.2.0
LIBDISPLAY_INFO_SOURCE = libdisplay-info-$(LIBDISPLAY_INFO_VERSION).tar.xz
LIBDISPLAY_INFO_SITE = https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/$(LIBDISPLAY_INFO_VERSION)/downloads
LIBDISPLAY_INFO_LICENSE = MIT
LIBDISPLAY_INFO_LICENSE_FILES = LICENSE
LIBDISPLAY_INFO_INSTALL_STAGING = YES