SOURCES: links-hacked-gcc4.patch (NEW) - compile fix (gcc-4 relate...

sls sls at pld-linux.org
Mon Mar 5 07:05:44 CET 2007


Author: sls                          Date: Mon Mar  5 06:05:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- compile fix (gcc-4 related, I guess)

---- Files affected:
SOURCES:
   links-hacked-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/links-hacked-gcc4.patch
diff -u /dev/null SOURCES/links-hacked-gcc4.patch:1.1
--- /dev/null	Mon Mar  5 07:05:44 2007
+++ SOURCES/links-hacked-gcc4.patch	Mon Mar  5 07:05:39 2007
@@ -0,0 +1,19 @@
+--- links-hacked/font.c.orig	2006-09-28 23:08:51.000000000 +0000
++++ links-hacked/font.c	2006-09-28 23:09:03.000000000 +0000
+@@ -5,7 +5,6 @@
+ inline static struct font *find_font_with_char(int, struct font **, int *, int *);
+ inline static struct letter *find_char_in_font(struct font *, int);
+ static inline int compute_width (int ix, int iy, int required_height);
+-static void prune_font_cache(struct graphics_driver *gd);
+ 
+ int n_fonts;
+ 
+@@ -668,7 +668,7 @@
+ }
+ 
+ /* Prunes the cache to comply with maximum size */
+-static void prune_font_cache(struct graphics_driver *gd)
++void prune_font_cache(struct graphics_driver *gd)
+ {
+ 	struct font_cache_entry *bottom;
+ 
================================================================


More information about the pld-cvs-commit mailing list