summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/fbida/fbida_2.07.bb12
-rw-r--r--packages/fbida/files/sys_siglist.patch12
2 files changed, 19 insertions, 5 deletions
diff --git a/packages/fbida/fbida_2.07.bb b/packages/fbida/fbida_2.07.bb
index 9360600858..f163bb514c 100644
--- a/packages/fbida/fbida_2.07.bb
+++ b/packages/fbida/fbida_2.07.bb
@@ -8,14 +8,16 @@ DESCRIPTION = "frame buffer image and doc viewer tools"
AUTHOR = "Gerd Knorr"
LICENSE = "GPL2"
SECTION = "utils"
-DEPENDS = "jpeg fontconfig freetype libexif ttf-dejavu"
+PR = "r1"
+
+DEPENDS = "libiconv jpeg fontconfig freetype libexif"
+RDEPENDS = "ttf-dejavu-sans-mono"
SRC_URI = "http://dl.bytesex.org/releases/fbida/fbida-${PV}.tar.gz \
file://exiftran.c.patch;patch=1 \
file://fbi.c.patch;patch=1 \
- file://GNUmakefile.patch;patch=1"
-
-inherit autotools
+ file://GNUmakefile.patch;patch=1 \
+ file://sys_siglist.patch;patch=1 \
+ "
-#CFLAGS_append = " ${LDFLAGS}"
EXTRA_OECONF = "--disable-magick --without-x"
diff --git a/packages/fbida/files/sys_siglist.patch b/packages/fbida/files/sys_siglist.patch
new file mode 100644
index 0000000000..ae816d4bd4
--- /dev/null
+++ b/packages/fbida/files/sys_siglist.patch
@@ -0,0 +1,12 @@
+Index: fbida-2.07/fbtools.c
+===================================================================
+--- fbida-2.07.orig/fbtools.c 2008-10-11 12:49:38.676243745 +0200
++++ fbida-2.07/fbtools.c 2008-10-11 12:50:08.286262765 +0200
+@@ -519,6 +519,6 @@
+
+ /* cleanup */
+ fb_cleanup();
+- fprintf(stderr,"Oops: %s\n",sys_siglist[termsig]);
++ fprintf(stderr,"Oops: %s\n",strsignal(termsig));
+ exit(42);
+ }