Added patch to compile on FreeBSD as per bug #109519.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 27 Oct 2005 21:43:24 +0000 (21:43 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 27 Oct 2005 21:43:24 +0000 (21:43 +0000)
Package-Manager: portage-2.0.53_rc6

x11-libs/gtk+/ChangeLog
x11-libs/gtk+/Manifest
x11-libs/gtk+/files/gtk+-2.8.6-freebsd.patch [new file with mode: 0644]
x11-libs/gtk+/gtk+-2.8.6.ebuild

index 246f68715e4e1db8daa41885d68160617eb3269e..42decdae737792965830a73c64304e5cd923ead8 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for x11-libs/gtk+
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.192 2005/10/22 15:11:38 nigoro Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.193 2005/10/27 21:43:24 flameeyes Exp $
+
+  27 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +files/gtk+-2.8.6-freebsd.patch, gtk+-2.8.6.ebuild:
+  Added patch to compile on FreeBSD as per bug #109519.
 
   22 Oct 2005; Yuta SATOH <nigoro@gentoo.org> gtk+-2.6.8.ebuild,
   gtk+-2.6.10.ebuild:
index ecb837d08ba11e70d0aefddb7516962f1cb75747..c0b6ab0a0f69e42c6c6b1eca6c875b0e80653053 100644 (file)
@@ -1,7 +1,7 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 7a2ce75b96aa64baf6e39ce1f966db20 ChangeLog 27542
+MD5 0661cfe00a1276ed83d65596869b023a ChangeLog 27709
 MD5 621a7db3e7e6856c66eec5caeea1e88e files/digest-gtk+-1.2.10-r10 138
 MD5 621a7db3e7e6856c66eec5caeea1e88e files/digest-gtk+-1.2.10-r11 138
 MD5 f56b08a8f40b528e72b6406ea337c51c files/digest-gtk+-2.6.10 212
@@ -12,17 +12,18 @@ MD5 0ec83a4bf20f79d85eb2976b58c39465 files/gtk+-1.2.10-m4.patch 220
 MD5 d94ff41d82a8f0c56dd68a2fa71ef2fc files/gtk+-2.2.1-disable_icons_smooth_alpha.patch 1383
 MD5 0df92cf64a9324ef85fc72885a4285b1 files/gtk+-2.4.9-ppc64.patch 1732
 MD5 5f35263753f0ad976c13f501247b8d51 files/gtk+-2.8.0-multilib.patch 2456
+MD5 88f458873590e6a355d2bcb76fa859f7 files/gtk+-2.8.6-freebsd.patch 507
 MD5 36d00cf3b4035e6cb9873ade9ed1a9ce files/gtkrc 627
 MD5 afb0e5aa8f6410c088c2e177a17efe5d gtk+-1.2.10-r10.ebuild 1719
 MD5 88d6d5cc6a5a4f0e0426646667134046 gtk+-1.2.10-r11.ebuild 1831
 MD5 7facb5274a3cb2576a7ef26c1d24f0cb gtk+-2.6.10.ebuild 2870
 MD5 5033b22f68c770cc1738680edc951abf gtk+-2.6.8.ebuild 2884
-MD5 0932776d5ee1eee66db5c66f4421b82c gtk+-2.8.6.ebuild 3342
+MD5 08ec9bef4408c4aac885091eb6c21450 gtk+-2.8.6.ebuild 3470
 MD5 58b5c1a403ab43f5160c44c32761cbe0 metadata.xml 424
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDWlbN60LfUIagIAkRAp1QAJ92eY8zkLY71ugDPmvWtL1asrsS6wCfedlk
-0JLFj06XRWKe6tfZO4x3ZeY=
-=jSNw
+iD8DBQFDYUoYj5H05b2HAEkRAsnkAJ4t5HUBYMDklCw9NYWrbWIrKFh/wQCgmrGA
+V3E2OYsRZiOu6gPAQfxFNcM=
+=yCyF
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..08e85e1
--- /dev/null
@@ -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,
index eb3748cbe34c5b891f0720db51fda1deeef826e1..c4c6f95bd42b388175fca2005ac48e4bdcb3ecb9 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.8.6.ebuild,v 1.2 2005/10/19 13:24:54 nigoro Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.8.6.ebuild,v 1.3 2005/10/27 21:43:24 flameeyes Exp $
 
 inherit gnome.org flag-o-matic eutils debug
 
@@ -68,6 +68,9 @@ src_unpack() {
        # add smoothscroll support for usability reasons
        # http://bugzilla.gnome.org/show_bug.cgi?id=103811
        epatch ${DISTDIR}/${PN}-2-smoothscroll-r6.patch.bz2
+       # make it compile on FreeBSD systems
+       # http://bugs.gnome.org/show_bug.cgi?id=317910
+       epatch ${FILESDIR}/${P}-freebsd.patch
 
        # use an arch-specific config directory so that 32bit and 64bit versions
        # dont clash on multilib systems