From 5fa0e0c7e62842b1491426c8c6e506f51b6c78e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 01:55:31 +0100 Subject: gentoo auto-resync : 18:10:2022 - 01:55:31 --- media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch (limited to 'media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch') diff --git a/media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch b/media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch new file mode 100644 index 000000000000..440de7189344 --- /dev/null +++ b/media-gfx/geeqie/files/geeqie-2.0.1-allow_xxdi.patch @@ -0,0 +1,17 @@ +diff -Naur geeqie-2.0.1.orig/scripts/generate-ClayRGB1998-icc-h.sh geeqie-2.0.1/scripts/generate-ClayRGB1998-icc-h.sh +--- geeqie-2.0.1.orig/scripts/generate-ClayRGB1998-icc-h.sh 2022-08-12 11:32:26.000000000 +0200 ++++ geeqie-2.0.1/scripts/generate-ClayRGB1998-icc-h.sh 2022-10-17 23:04:08.203219782 +0200 +@@ -12,9 +12,12 @@ + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + # GNU General Public License for more details. + ++# Allow standalone replacement for xxd ++command -v xxdi.pl >/dev/null 2>&1 && XXD="xxdi.pl" || XXD="xxd -i" ++ + # To generate the required code, xxd has to run in the same folder as the source + build_dir="$PWD" + + cd "$(dirname "$1")" || return 1 + +-xxd -i "$(basename "$1")" "$build_dir/$2" ++${XXD} "$(basename "$1")" "$build_dir/$2" -- cgit v1.2.3