]> git.draconx.ca Git - gentoo-draconx.git/blobdiff - sys-apps/lcdtest/files/lcdtest-1.18-fix-prints.patch
Add sys-apps/lcdtest ebuild.
[gentoo-draconx.git] / sys-apps / lcdtest / files / lcdtest-1.18-fix-prints.patch
diff --git a/sys-apps/lcdtest/files/lcdtest-1.18-fix-prints.patch b/sys-apps/lcdtest/files/lcdtest-1.18-fix-prints.patch
new file mode 100644 (file)
index 0000000..1e38ce5
--- /dev/null
@@ -0,0 +1,21 @@
+diff --git a/src/lcdtest.c.orig b/src/lcdtest.c
+index 93e5f29f7f7f..48228879aeac 100644
+--- a/src/lcdtest.c.orig
++++ b/src/lcdtest.c
+@@ -67,7 +67,7 @@ const char help_message [] =
+   "\n"
+   "lcdtest " MAKESTR(RELEASE) "    Free Software (GPLv3)\n"
+   "Copyright 2005-2010 Eric Smith <eric@brouhaha.com>\n"
+-  "http://www.brouhaha.com/~eric/software/lcdtest/"
++  "http://www.brouhaha.com/~eric/software/lcdtest/\n"
+ };
+@@ -170,7 +170,6 @@ SDL_Surface *create_text_surface (const char *message,
+   line_height = TTF_FontLineSkip (font);
+   get_text_size (font, message, & width, & height);
+-  printf ("width: %d, height: %d\n", width, height);
+   text_surface = SDL_CreateRGBSurface (SDL_HWSURFACE,
+                                      width,