1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/gnomegames/files/patch-ae
Satoshi Asami 6ecbc5f7c8 Patch to fix this error:
===
cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\"  -I/usr/X11R6/include                               -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk11 -I/usr/local/include/glib -O -pipe -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -pipe -I/usr/X11R6/include -c menu.c
In file included from /usr/include/dirent.h:43,
                 from menu.c:21:
/usr/include/sys/dirent.h:52: parse error before `u_int32_t'
/usr/include/sys/dirent.h:52: warning: no semicolon at end of struct or union
/usr/include/sys/dirent.h:53: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:54: parse error before `d_type'
/usr/include/sys/dirent.h:54: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:55: parse error before `d_namlen'
/usr/include/sys/dirent.h:55: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:62: parse error before `}'
menu.c: In function `create_menus':
menu.c:290: dereferencing pointer to incomplete type
menu.c:295: dereferencing pointer to incomplete type
*** Error code 1

Stop.
===
1998-10-06 04:55:21 +00:00

11 lines
243 B
Plaintext

--- ./aisleriot/menu.c.org Mon Oct 5 21:47:57 1998
+++ ./aisleriot/menu.c Mon Oct 5 21:45:56 1998
@@ -18,6 +18,7 @@
#define MENU_C
#include <config.h>
+#include <sys/types.h>
#include <dirent.h>
#include <guile/gh.h>
#include "sol.h"