summaryrefslogtreecommitdiff
path: root/recipes/fbida/files/fbi.c.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/fbida/files/fbi.c.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/fbida/files/fbi.c.patch')
-rw-r--r--recipes/fbida/files/fbi.c.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/fbida/files/fbi.c.patch b/recipes/fbida/files/fbi.c.patch
new file mode 100644
index 0000000000..36942afa3d
--- /dev/null
+++ b/recipes/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),