summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-27 21:43:24 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-27 21:43:24 +0000
commitf7b03b4e9c00ae0792c76f5c40128e110e839c29 (patch)
treeccffb6876fe7d927d7936600151e3673672e21a2 /x11-libs/gtk+/files
parentremove python useflag, #107887, remove static useflag (diff)
downloadgentoo-2-f7b03b4e9c00ae0792c76f5c40128e110e839c29.tar.gz
gentoo-2-f7b03b4e9c00ae0792c76f5c40128e110e839c29.tar.bz2
gentoo-2-f7b03b4e9c00ae0792c76f5c40128e110e839c29.zip
Added patch to compile on FreeBSD as per bug #109519.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'x11-libs/gtk+/files')
-rw-r--r--x11-libs/gtk+/files/gtk+-2.8.6-freebsd.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-libs/gtk+/files/gtk+-2.8.6-freebsd.patch b/x11-libs/gtk+/files/gtk+-2.8.6-freebsd.patch
new file mode 100644
index 000000000000..08e85e1d366d
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-2.8.6-freebsd.patch
@@ -0,0 +1,17 @@
+--- gtk+-2.8.6/gtk/gtkcalendar.c.orig 2005-10-04 13:00:55.000000000 +0200
++++ gtk+-2.8.6/gtk/gtkcalendar.c 2005-10-04 13:01:49.000000000 +0200
+@@ -565,10 +565,14 @@
+ time_t tmp_time;
+ GtkCalendarPrivate *priv;
+ gchar *year_before;
++#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
+ gchar *langinfo;
+ gint week_1stday = 0;
+ gint first_weekday = 1;
+ guint week_origin;
++#else
++ gchar *week_start;
++#endif
+
+ priv = calendar->priv = G_TYPE_INSTANCE_GET_PRIVATE (calendar,
+ GTK_TYPE_CALENDAR,