1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.c
Pav Lucistnik ba3cef7ac6 - Fix build with gcc41
- Respect CC
- Install fonts

PR:		ports/104032
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2006-10-07 10:28:40 +00:00

18 lines
482 B
C

--- lib/libxview/misc/gettext.c.orig Thu Oct 5 18:45:03 2006
+++ lib/libxview/misc/gettext.c Thu Oct 5 18:50:03 2006
@@ -10,10 +10,12 @@
#include <xview_private/gettext.h>
char *strdup();
-char * dgettext(), *bindtextdomain();
-char *_gettext();
+char * dgettext(char* domain_nane, char* msg_id), *bindtextdomain();
+static char *_gettext();
char *fgets(), *getenv();
+#ifndef OS_HAS_MMAP
caddr_t mmap();
+#endif
static struct domain_binding *firstbind=0, *lastbind=0;