]> git.pld-linux.org Git - packages/ccze.git/blame - ccze-fbsd.patch
- ncurses rebuild
[packages/ccze.git] / ccze-fbsd.patch
CommitLineData
99040023
PG
1--- src/ccze-compat.h.old 2006-10-13 12:50:16 +0200
2+++ src/ccze-compat.h 2006-10-13 12:49:21 +0200
3@@ -29,6 +29,11 @@
4 #include <stddef.h>
5 #include <stdio.h>
6
7+# ifndef __error_t_defined
8+typedef int error_t;
9+# define __error_t_defined 1
10+# endif
11+
12 #ifndef HAVE_STRNDUP
13 char *strndup (const char *s, size_t size);
14 #endif
15--- src/ccze-compat.c.old 2006-10-13 12:51:35 +0200
16+++ src/ccze-compat.c 2006-10-13 12:51:44 +0200
17@@ -275,7 +275,7 @@
18 char **valuep)
19 {
20 int i = getsubopt (optionp, tokens, valuep);
21-#if HAVE_SUBOPTARg
22+#if HAVE_SUBOPTARG
23 if (!*valuep && suboptarg)
24 *valuep = strdup (suboptarg);
25 #endif
This page took 0.050111 seconds and 4 git commands to generate.