summaryrefslogtreecommitdiffstats
path: root/package/xorg/xorg-uclibc.patch
blob: 23b8b5fc04b580c64de4c7db77a8729d391c89a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- xc/programs/xfs/os/config.c.orig	2005-04-26 03:13:52.000000000 -0600
+++ xc/programs/xfs/os/config.c	2005-04-26 03:14:09.000000000 -0600
@@ -665,6 +665,8 @@
     val = config_parse_int (val, &ret, &scan);
     if (ret == -1)
 	return val;
+#ifdef SNFFORMAT
     SnfSetFormat (bit, byte, glyph, scan);
+#endif
     return val;
 }
--- xc/fonts/util/ucs2any.c	2004-03-04 17:46:21.000000000 +0000
+++ xc/fonts/util/ucs2any.c	2004-09-11 12:49:37.000000000 +0000
@@ -61,17 +61,6 @@
 /* global variable for argv[0] */
 const char *my_name = NULL;
 
-#ifdef NEED_BASENAME
-static char *
-basename(char *pathname)
-{
-	char	*ptr;
-
-	ptr = strrchr(pathname, '/');
-	return ((ptr == NULL) ? pathname : &ptr[1]);
-}
-#endif
-
 /* "CLASS" "z" string and memory manipulation */
 
 static void *