summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-02-02 20:40:45 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-02-02 20:40:45 +0000
commit3f889a35971be19267b2271721943bc777d82b39 (patch)
treee8789dc6a9b7b9dc938b6912c3801dcdf3c06111 /media-gfx/k3d/files
parentMark 2.10.1-r1 stable on alpha (diff)
downloadgentoo-2-3f889a35971be19267b2271721943bc777d82b39.tar.gz
gentoo-2-3f889a35971be19267b2271721943bc777d82b39.tar.bz2
gentoo-2-3f889a35971be19267b2271721943bc777d82b39.zip
0.5.0.37 version bump.
(Portage version: 2.0.54)
Diffstat (limited to 'media-gfx/k3d/files')
-rw-r--r--media-gfx/k3d/files/digest-k3d-0.5.0.371
-rw-r--r--media-gfx/k3d/files/k3d-0.5.0.37-nls.patch48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/k3d/files/digest-k3d-0.5.0.37 b/media-gfx/k3d/files/digest-k3d-0.5.0.37
new file mode 100644
index 000000000000..a1692fc80b4f
--- /dev/null
+++ b/media-gfx/k3d/files/digest-k3d-0.5.0.37
@@ -0,0 +1 @@
+MD5 1e0d26d4867c2f07e25060e295818e21 k3d-0.5.0.37.tar.bz2 4518681
diff --git a/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch b/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch
new file mode 100644
index 000000000000..f5ae33fdbb0c
--- /dev/null
+++ b/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch
@@ -0,0 +1,48 @@
+diff --exclude='*~' -Naur k3d-0.5.0.37.orig/application/main.cpp k3d-0.5.0.37/application/main.cpp
+--- k3d-0.5.0.37.orig/application/main.cpp 2006-02-02 17:22:31.000000000 -0200
++++ k3d-0.5.0.37/application/main.cpp 2006-02-02 17:23:20.000000000 -0200
+@@ -685,10 +685,12 @@
+ {
+ const std::string program_name = boost::filesystem::path(argv[0], boost::filesystem::native).leaf();
+
++#ifdef ENABLE_NLS
+ setlocale(LC_ALL, "");
+ bindtextdomain(PACKAGE, K3D_LOCALE);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain(PACKAGE);
++#endif
+
+ logbufs_t logbufs;
+
+diff --exclude='*~' -Naur k3d-0.5.0.37.orig/bug-buddy/main.cpp k3d-0.5.0.37/bug-buddy/main.cpp
+--- k3d-0.5.0.37.orig/bug-buddy/main.cpp 2006-02-02 17:22:34.000000000 -0200
++++ k3d-0.5.0.37/bug-buddy/main.cpp 2006-02-02 17:23:58.000000000 -0200
+@@ -532,10 +532,12 @@
+ {
+ const std::string program_name = boost::filesystem::path(argv[0], boost::filesystem::native).leaf();
+
++#ifdef ENABLE_NLS
+ setlocale(LC_ALL, "");
+ bindtextdomain(PACKAGE, K3D_LOCALE);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain(PACKAGE);
++#endif
+
+ Gtk::Main main(&argc, &argv);
+
+diff --exclude='*~' -Naur k3d-0.5.0.37.orig/k3dsdk/i18n.h k3d-0.5.0.37/k3dsdk/i18n.h
+--- k3d-0.5.0.37.orig/k3dsdk/i18n.h 2006-02-02 17:22:33.000000000 -0200
++++ k3d-0.5.0.37/k3dsdk/i18n.h 2006-02-02 17:24:50.000000000 -0200
+@@ -23,12 +23,6 @@
+
+ #define _(String) (String)
+ #define N_(String) (String)
+- #define textdomain(String)
+- #define gettext(String) (String)
+- #define dgettext(Domain, String) (String)
+- #define dcgettext(Domain, String, Type) (String)
+- #define bindtextdomain(Domain, Directory)
+- #define bind_textdomain_codeset(Domain, Codeset)
+
+ #endif // !ENABLE_NLS
+