From f7a2f9c29115544149306389a87e522409246370 Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 6 Oct 1998 04:55:21 +0000 Subject: 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. === --- games/gnome-games/files/patch-ae | 10 ++++++++++ games/gnomegames/files/patch-ae | 10 ++++++++++ games/gnomegames2/files/patch-ae | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 games/gnome-games/files/patch-ae create mode 100644 games/gnomegames/files/patch-ae create mode 100644 games/gnomegames2/files/patch-ae diff --git a/games/gnome-games/files/patch-ae b/games/gnome-games/files/patch-ae new file mode 100644 index 000000000000..6da7f7501af1 --- /dev/null +++ b/games/gnome-games/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 ++#include + #include + #include + #include "sol.h" 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 ++#include + #include + #include + #include "sol.h" diff --git a/games/gnomegames2/files/patch-ae b/games/gnomegames2/files/patch-ae new file mode 100644 index 000000000000..6da7f7501af1 --- /dev/null +++ b/games/gnomegames2/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 ++#include + #include + #include + #include "sol.h" -- cgit