aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-10-06 12:55:21 +0800
committerasami <asami@FreeBSD.org>1998-10-06 12:55:21 +0800
commitf7a2f9c29115544149306389a87e522409246370 (patch)
tree15d13d0d423fc4c708fcee9cdfc671f332bc438b
parent813ac9c57a3718abb684056b6ed57eeb2a4d5f75 (diff)
downloadfreebsd-ports-gnome-f7a2f9c29115544149306389a87e522409246370.tar.gz
freebsd-ports-gnome-f7a2f9c29115544149306389a87e522409246370.tar.zst
freebsd-ports-gnome-f7a2f9c29115544149306389a87e522409246370.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. ===
-rw-r--r--games/gnome-games/files/patch-ae10
-rw-r--r--games/gnomegames/files/patch-ae10
-rw-r--r--games/gnomegames2/files/patch-ae10
3 files changed, 30 insertions, 0 deletions
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 <config.h>
++#include <sys/types.h>
+ #include <dirent.h>
+ #include <guile/gh.h>
+ #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 <config.h>
++#include <sys/types.h>
+ #include <dirent.h>
+ #include <guile/gh.h>
+ #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 <config.h>
++#include <sys/types.h>
+ #include <dirent.h>
+ #include <guile/gh.h>
+ #include "sol.h"