summaryrefslogtreecommitdiff
path: root/x11/gnomecore
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 17:55:52 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 17:55:52 +0000
commit8d259d0eacb2b61ca990b1caf9f0dff0a46665b9 (patch)
treeae3c4b8fc349026b68294e371aeb5aa3e6e4ec28 /x11/gnomecore
parentFix typo in the comment (diff)
Fix build on versions of FreeBSD that do not have langinfo.h.
PR: 43157
Diffstat (limited to 'x11/gnomecore')
-rw-r--r--x11/gnomecore/files/patch-config.h.in12
-rw-r--r--x11/gnomecore/files/patch-configure16
-rw-r--r--x11/gnomecore/files/patch-panel_gnome-panel-screenshot.c12
3 files changed, 35 insertions, 5 deletions
diff --git a/x11/gnomecore/files/patch-config.h.in b/x11/gnomecore/files/patch-config.h.in
new file mode 100644
index 000000000000..5d11cde337c6
--- /dev/null
+++ b/x11/gnomecore/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig Sat Oct 5 13:48:12 2002
++++ config.h.in Sat Oct 5 13:48:42 2002
+@@ -147,6 +147,9 @@
+ /* Define if you have the <nl_types.h> header file. */
+ #undef HAVE_NL_TYPES_H
+
++/* Define if you have the <langinfo.h> header files. */
++#undef HAVE_LANGINFO_H
++
+ /* Define if you have the <stdlib.h> header file. */
+ #undef HAVE_STDLIB_H
+
diff --git a/x11/gnomecore/files/patch-configure b/x11/gnomecore/files/patch-configure
index e32f5044b0ad..7d112da1edaf 100644
--- a/x11/gnomecore/files/patch-configure
+++ b/x11/gnomecore/files/patch-configure
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- configure.orig Mon Jun 10 15:26:35 2002
-+++ configure Mon Jun 10 15:27:34 2002
+--- configure.orig Mon Sep 9 14:09:25 2002
++++ configure Sat Oct 5 13:43:32 2002
@@ -5723,6 +5723,7 @@
# This can be used to rebuild libtool when needed
@@ -11,6 +8,15 @@ $FreeBSD$
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -7863,7 +7864,7 @@
+
+
+ for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
+-unistd.h sys/param.h
++unistd.h sys/param.h langinfo.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -9299,7 +9300,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
diff --git a/x11/gnomecore/files/patch-panel_gnome-panel-screenshot.c b/x11/gnomecore/files/patch-panel_gnome-panel-screenshot.c
new file mode 100644
index 000000000000..7da6c82336d0
--- /dev/null
+++ b/x11/gnomecore/files/patch-panel_gnome-panel-screenshot.c
@@ -0,0 +1,12 @@
+--- panel/gnome-panel-screenshot.c.orig Sat Oct 5 13:38:16 2002
++++ panel/gnome-panel-screenshot.c Sat Oct 5 13:38:51 2002
+@@ -53,7 +53,9 @@
+ #include <libart_lgpl/art_rgb_affine.h>
+
+ #include <stdio.h>
++#ifdef HAVE_LANGINFO_H
+ #include <langinfo.h>
++#endif
+
+ /* How far down the window tree will we search when looking for top-level
+ * windows? Some window managers doubly-reparent the client, so account