summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2006-07-11 10:21:33 +0000
committerDaniel Drake <dsd@gentoo.org>2006-07-11 10:21:33 +0000
commit9ba464fe466e6c9fd1161214eeb468e23dc55ff4 (patch)
tree9776bc47434c2037f80a1ca73797ffdcb78d4167 /media-libs/libgphoto2/files
parentÂnew versionÃ:enca,xvmc,amr (diff)
downloadgentoo-2-9ba464fe466e6c9fd1161214eeb468e23dc55ff4.tar.gz
gentoo-2-9ba464fe466e6c9fd1161214eeb468e23dc55ff4.tar.bz2
gentoo-2-9ba464fe466e6c9fd1161214eeb468e23dc55ff4.zip
Fix -nls build breakage thanks to Samuli Suominen in bug #139534. Patch from Andrew Resch.
(Portage version: 2.1.1_pre2-r6)
Diffstat (limited to 'media-libs/libgphoto2/files')
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.2.1-ngettext.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.2.1-ngettext.patch b/media-libs/libgphoto2/files/libgphoto2-2.2.1-ngettext.patch
new file mode 100644
index 000000000000..213d883de0e9
--- /dev/null
+++ b/media-libs/libgphoto2/files/libgphoto2-2.2.1-ngettext.patch
@@ -0,0 +1,14 @@
+Patch from Andrew Resch at https://bugs.gentoo.org/show_bug.cgi?id=139534
+Also present in upstream svn tree
+
+--- libgphoto2-2.2.1/camlibs/sonix/library.c 2006-04-18 18:54:18.000000000 -0700
++++ libgphoto2-2.2.1-work/camlibs/sonix/library.c 2006-07-07 23:12:56.012649500 -0700
+@@ -41,7 +41,7 @@
+ #else
+ # define _(String) (String)
+ # define N_(String) (String)
+-# define ngettext(String1,String2,Count) ((Count==1)?String1:String)
++# define ngettext(String1,String2,Count) ((Count==1)?String1:String2)
+ #endif
+
+ #include <gphoto2-port.h>