rdrview: update to 0.1.1.

This commit is contained in:
Leah Neukirchen 2024-03-04 15:02:34 +01:00
parent e6ef4501ce
commit 0fcd8caf0f
2 changed files with 2 additions and 28 deletions

View file

@ -1,26 +0,0 @@
From b5fdd379577e13d26784ffdeca3ecb02ff1d336e Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sun, 18 Feb 2024 13:49:49 -0800
Subject: [PATCH] Add missing include with libxml2 2.12+
libxml2 2.12 removed extra includes, which causes stdlib.h to not get implicitly
included anymore.
The missing include results in a warning on gcc13 and below with the resulting
binary truncating the pointer to an integer, gcc14+ makes this a hard error.
---
src/rdrview.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/rdrview.h b/src/rdrview.h
index 9365e7a..2eda156 100644
--- a/src/rdrview.h
+++ b/src/rdrview.h
@@ -26,6 +26,7 @@
#define RDRVIEW_H
#include <assert.h>
+#include <stdlib.h>
#include <stdbool.h>
#include <sys/types.h>
#include <regex.h>

View file

@ -1,6 +1,6 @@
# Template file for 'rdrview'
pkgname=rdrview
version=0.1
version=0.1.1
revision=1
build_style=gnu-makefile
makedepends="libcurl-devel libseccomp-devel libxml2-devel"
@ -9,4 +9,4 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/eafer/rdrview"
distfiles="https://github.com/eafer/rdrview/archive/refs/tags/v${version}.tar.gz"
checksum=6cb6688b3465f71ced13b889708cbd728193d7137f4108511a3fd2d4331d7f0c
checksum=4655d77fd74f0cb89acf6f72a3be445265da6c948f30c29eb8ee2bb8d6df3f63