From cd0801739557ad8536a2d7331ffe90de58b811f1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 16 Mar 2010 14:37:52 +0800 Subject: grip-3.2.0: Add another FreeBSD patch for getting the locale right. --- recipes/grip/grip-3.2.0/patch-src::main.c | 208 ++++++++++++++++++++++++++++++ recipes/grip/grip_3.2.0.bb | 5 +- 2 files changed, 211 insertions(+), 2 deletions(-) create mode 100644 recipes/grip/grip-3.2.0/patch-src::main.c (limited to 'recipes/grip') diff --git a/recipes/grip/grip-3.2.0/patch-src::main.c b/recipes/grip/grip-3.2.0/patch-src::main.c new file mode 100644 index 0000000000..ce3bd1ca08 --- /dev/null +++ b/recipes/grip/grip-3.2.0/patch-src::main.c @@ -0,0 +1,208 @@ + + + + + +view + + + + + + + + + + + + + + +
+
+ Skip site + navigation (1)Skip section navigation (2) + +
+ + +

Site Navigation

+ + +
+ +
+ +

view

+ + + + + + + +
+
+File:  + [FreeBSD] / ports / audio / grip / files / patch-src::main.c
+ + Revision 1.1: download - view: text, annotated - select for diffs
+Sun Nov 15 12:26:31 2009 UTC (3 months, 4 weeks ago) by naddy
+Branches: MAIN
+CVS tags: RELEASE_7_3_0, +HEAD
+
+Fix the actual bug that caused translated message catalogs to be
+displayed incorrectly, and remove the workaround.
+
+
+
+--- src/main.c.orig
++++ src/main.c
+@@ -163,7 +163,7 @@
+ 		     GNOME_PARAM_POPT_TABLE,options,
+ 		     GNOME_PROGRAM_STANDARD_PROPERTIES,NULL);
+ 
+-  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF8");
++  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ 
+   /* Session Management */
+   
+
+ +
+ +
+
+ + diff --git a/recipes/grip/grip_3.2.0.bb b/recipes/grip/grip_3.2.0.bb index b4473860e0..bda6044014 100644 --- a/recipes/grip/grip_3.2.0.bb +++ b/recipes/grip/grip_3.2.0.bb @@ -6,9 +6,10 @@ HOMEPAGE="http://www.nostatic.org/grip/" LICENSE="GPL" SRC_URI="${SOURCEFORGE_MIRROR}/grip/grip-${PV}.tar.gz \ - file://patch-src::discdb;patch=1;pnum=0 " + file://patch-src::discdb;patch=1;pnum=0 \ + file://patch-src::main.c;patch=1;pnum=0 " DEPENDS="libgnomeui vte curl cdparanoia id3lib" -PR = "r1" +PR = "r2" inherit autotools -- cgit v1.2.3