diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-10-06 04:55:21 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-10-06 04:55:21 +0000 |
commit | 6ecbc5f7c8de0a07580dcb339206690ecb7ee22c (patch) | |
tree | 46ee3a57c7e952a564e572059fcbb592a9576e38 /games/gnomegames | |
parent | 05bb3c0285235363d5a7dacc5b0a42be17704974 (diff) | |
download | ports-6ecbc5f7c8de0a07580dcb339206690ecb7ee22c.tar.gz ports-6ecbc5f7c8de0a07580dcb339206690ecb7ee22c.zip |
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.
===
Notes
Notes:
svn path=/head/; revision=13682
Diffstat (limited to 'games/gnomegames')
-rw-r--r-- | games/gnomegames/files/patch-ae | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gnomegames/files/patch-ae b/games/gnomegames/files/patch-ae new file mode 100644 index 000000000000..6da7f7501af1 --- /dev/null +++ b/games/gnomegames/files/patch-ae @@ -0,0 +1,10 @@ +--- ./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" |