summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/fbida/fbida-2.14.ebuild1
-rw-r--r--media-gfx/fbida/fbida-9999.ebuild3
-rw-r--r--media-gfx/fbida/files/fbida-2.14-cpp.patch6
3 files changed, 9 insertions, 1 deletions
diff --git a/media-gfx/fbida/fbida-2.14.ebuild b/media-gfx/fbida/fbida-2.14.ebuild
index 9e5d00b136d3..4547fdc995f8 100644
--- a/media-gfx/fbida/fbida-2.14.ebuild
+++ b/media-gfx/fbida/fbida-2.14.ebuild
@@ -61,6 +61,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.10-giflib-4.2.patch
"${FILESDIR}"/${PN}-2.14-Autoconf.patch
"${FILESDIR}"/${PN}-2.14-fno-common.patch
+ "${FILESDIR}"/${PN}-2.14-cpp.patch
)
src_configure() {
diff --git a/media-gfx/fbida/fbida-9999.ebuild b/media-gfx/fbida/fbida-9999.ebuild
index 1da490349569..ef3b13cbabce 100644
--- a/media-gfx/fbida/fbida-9999.ebuild
+++ b/media-gfx/fbida/fbida-9999.ebuild
@@ -6,7 +6,7 @@ inherit desktop git-r3 meson toolchain-funcs
DESCRIPTION="Image viewers for the framebuffer console (fbi) and X11 (ida)"
HOMEPAGE="https://www.kraxel.org/blog/linux/fbida/"
-EGIT_REPO_URI="https://git.kraxel.org/cgit/fbida"
+EGIT_REPO_URI="https://git.kraxel.org/git/fbida"
SRC_URI="
mirror://gentoo/ida.png.bz2
"
@@ -45,6 +45,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/ida-desktop.patch
"${FILESDIR}"/${PN}-2.10-giflib-4.2.patch
+ "${FILESDIR}"/${PN}-2.14-cpp.patch
)
src_unpack() {
diff --git a/media-gfx/fbida/files/fbida-2.14-cpp.patch b/media-gfx/fbida/files/fbida-2.14-cpp.patch
new file mode 100644
index 000000000000..1e7635bbd2a9
--- /dev/null
+++ b/media-gfx/fbida/files/fbida-2.14-cpp.patch
@@ -0,0 +1,6 @@
+--- a/scripts/jpeg-version.sh
++++ b/scripts/jpeg-version.sh
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-echo JPEG_LIB_VERSION | cpp $CFLAGS -include jpeglib.h | tail -1
++echo JPEG_LIB_VERSION | $CPP $CFLAGS -include jpeglib.h - | tail -1