summaryrefslogtreecommitdiff
path: root/packages/fbida/files/fbi.c.patch
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-10-12 05:19:54 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-10-12 05:19:54 +0000
commitd0d2244bfede357394a0b5a6457a1b9b4873aa7c (patch)
tree8fb92fa131bed56f15ee4a9b3d236ee40d203ce8 /packages/fbida/files/fbi.c.patch
parent2da766c0b6766eddf0ed76e420435943b16cf2d9 (diff)
add fbida. courtesy of SZ. close bug# 4707
Diffstat (limited to 'packages/fbida/files/fbi.c.patch')
-rw-r--r--packages/fbida/files/fbi.c.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/fbida/files/fbi.c.patch b/packages/fbida/files/fbi.c.patch
new file mode 100644
index 0000000000..36942afa3d
--- /dev/null
+++ b/packages/fbida/files/fbi.c.patch
@@ -0,0 +1,25 @@
+Index: fbida-2.07/fbi.c
+===================================================================
+--- fbida-2.07/fbi.c 2008-06-09 16:53:33.000000000 +0200
++++ fbida-2.07/fbi.c.mod 2008-10-10 21:33:54.000000000 +0200
+@@ -46,6 +46,7 @@
+ #include "jpeg/transupp.h" /* Support routines for jpegtran */
+ #include "jpegtools.h"
+
++#define HAVE_NEW_EXIF
+ #define TRUE 1
+ #define FALSE 0
+ #undef MAX
+@@ -1465,10 +1466,10 @@
+
+ font_init();
+ if (NULL == fontname)
+- fontname = "monospace:size=16";
++ fontname = "monospace:size=10";
+ face = font_open(fontname);
+ if (NULL == face) {
+- fprintf(stderr,"can't open font: %s\n",fontname);
++ fprintf(stderr,"can't open font: %s. Please install ttf-dejavu-sans-mono.ipk\n",fontname);
+ exit(1);
+ }
+ fd = fb_init(cfg_get_str(O_DEVICE),