summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-05 23:32:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-05 23:32:29 +0100
commit930b5a700c6f4093c4b63eec7395c080ab639311 (patch)
tree314e43df83fe12b5fa743c5aa37d0c7ae26260fc /x11-misc
parent8b5a92f1e1eccecfa61db8a4744e1b9d449522b6 (diff)
gentoo auto-resync : 05:05:2023 - 23:32:28
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/Manifest.gzbin47043 -> 47047 bytes
-rw-r--r--x11-misc/xosview/Manifest3
-rw-r--r--x11-misc/xosview/files/xosview-1.23-musl.patch14
-rw-r--r--x11-misc/xosview/xosview-1.23.ebuild6
4 files changed, 21 insertions, 2 deletions
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz
index 15a898c1bdfc..3fec72097c24 100644
--- a/x11-misc/Manifest.gz
+++ b/x11-misc/Manifest.gz
Binary files differ
diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest
index 4462b766d488..9fb71d04b842 100644
--- a/x11-misc/xosview/Manifest
+++ b/x11-misc/xosview/Manifest
@@ -1,3 +1,4 @@
+AUX xosview-1.23-musl.patch 504 BLAKE2B 60e22e7dec5d2a749fc1107ffda48b4a192be67b8c7e92a9d359ece9ed571c49d13d46f1c7ab4fed83457fa28e1a33cac690f0c83415aedb4a6584154ab9513b SHA512 d32770482b6a66e76472817d508dd1840177d889ce63ff1f5d496940c3dcd1d2a85752010d57fb1bb2a48be6e5a6adfe0b78fe6f32e677f1cb4d0b83c064f1a1
DIST xosview-1.23.tar.gz 146299 BLAKE2B ba336ac152ac6c44bd51c84c160d7c1b565fe23c17aa89db36be7325f4f1caa1ab84a1ad386041841a0aacb62208fb5d59f5dd7a9d2bf071c76dff2901eb2c60 SHA512 10a25f644ec3d896071990117c6d80e553a17baf64809f11bc778652dca1498f81c333ac0f21a809ef617d7e6cbe65afaa14d5bc96908958d8f997234e660ba1
-EBUILD xosview-1.23.ebuild 1197 BLAKE2B 286bcd6eb9c228503ef7c1a55c88d4ddc5eddd82dc5e7121e0b3de69eeb2a7e79ae4940bc6812ca45965453890e10ac9d23555a586a761718da215fa0cc6cb54 SHA512 adc133196baa2f683241501e5f06e5a20574d36c6d783b7e20cbb58d3f334a08050ededaeffdf46118fc6e70d09daf242eebf30814fb6c749d8e94d3b39e69fd
+EBUILD xosview-1.23.ebuild 1241 BLAKE2B 25755f26bb54bc131a1f76fb781f1e19485964f00876dd912303a962e043a326d94b4e7b3f0d3a5c3f3091c2d93ebb12377f8005132d1c21171c72d06ce1d442 SHA512 948274b8b3a982e9afd98efffda19029831a159481a446c289e80f11d5d78c7a5c6ce6ebabbd964b1e6fb73e596f461caebe527a7ccec7bcd11264d291ae835b
MISC metadata.xml 249 BLAKE2B 58924466b9656749c775c049b6c77ccc3d5ca59321a8e7a84ddb0938461a1872bd765d9f3a6e8b411f0ca5d41fff2d6bccac7790c5f24b5c4d87fc7d265bdf2d SHA512 72ac1d9053c79e5dd2db9d1cc8c1c7934d9ab62560d26c568daac2270ee405187d8af73c8940edf4228dddd228b2c127b5a49e436fb9029814a0e7af5573a7f9
diff --git a/x11-misc/xosview/files/xosview-1.23-musl.patch b/x11-misc/xosview/files/xosview-1.23-musl.patch
new file mode 100644
index 000000000000..a2879f0b957f
--- /dev/null
+++ b/x11-misc/xosview/files/xosview-1.23-musl.patch
@@ -0,0 +1,14 @@
+Musl does not have sys/perm.h. Luckily, sys/io.h has the required
+definitions both for musl and glibc.
+
+diff -ruN xosview-1.23.orig/linux/serialmeter.cc xosview-1.23/linux/serialmeter.cc
+--- xosview-1.23.orig/linux/serialmeter.cc 2020-07-11 14:10:34.000000000 +0200
++++ xosview-1.23/linux/serialmeter.cc 2023-05-05 22:13:19.863489393 +0200
+@@ -25,7 +25,6 @@
+ */
+ #if defined(__i386__) || defined(__ia64__) || defined(__amd64__)
+ #include <sys/io.h>
+-#include <sys/perm.h>
+ #define HAVE_IOPERM
+ #endif
+
diff --git a/x11-misc/xosview/xosview-1.23.ebuild b/x11-misc/xosview/xosview-1.23.ebuild
index e47a5770c69b..0de8636ff4a8 100644
--- a/x11-misc/xosview/xosview-1.23.ebuild
+++ b/x11-misc/xosview/xosview-1.23.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,6 +24,10 @@ DEPEND="${COMMON_DEPS}
DOCS=( CHANGES README.linux TODO )
+PATCHES=(
+ "${FILESDIR}/${P}-musl.patch"
+)
+
src_prepare() {
default