diff options
author | asami <asami@FreeBSD.org> | 1998-10-06 04:55:21 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-10-06 04:55:21 +0000 |
commit | f7a2f9c29115544149306389a87e522409246370 (patch) | |
tree | 15d13d0d423fc4c708fcee9cdfc671f332bc438b /games/gnomegames | |
parent | 813ac9c57a3718abb684056b6ed57eeb2a4d5f75 (diff) | |
download | FreeBSD-ports-f7a2f9c29115544149306389a87e522409246370.zip FreeBSD-ports-f7a2f9c29115544149306389a87e522409246370.tar.gz |
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.
===
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 0000000..6da7f75 --- /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" |