summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2007-03-16 02:48:57 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2007-03-16 02:48:57 +0000
commit871110dfea66dc67d178d880555ef4e4561b8165 (patch)
treeb1887744cf1cf5be8869484cfda69a3dbc524883 /app-misc/workrave/files/workrave-1.8.4-nls_macros.patch
parentStable for HPPA too. (diff)
downloadhistorical-871110dfea66dc67d178d880555ef4e4561b8165.tar.gz
historical-871110dfea66dc67d178d880555ef4e4561b8165.tar.bz2
historical-871110dfea66dc67d178d880555ef4e4561b8165.zip
New release: 1.8.4
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-misc/workrave/files/workrave-1.8.4-nls_macros.patch')
-rw-r--r--app-misc/workrave/files/workrave-1.8.4-nls_macros.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/workrave/files/workrave-1.8.4-nls_macros.patch b/app-misc/workrave/files/workrave-1.8.4-nls_macros.patch
new file mode 100644
index 000000000000..19ac5da3b78c
--- /dev/null
+++ b/app-misc/workrave/files/workrave-1.8.4-nls_macros.patch
@@ -0,0 +1,64 @@
+diff -NurdpB workrave-1.8.4/common/include/nls.h workrave-1.8.4-patched/common/include/nls.h
+--- workrave-1.8.4/common/include/nls.h 2007-03-04 13:56:45.000000000 -0500
++++ workrave-1.8.4-patched/common/include/nls.h 2007-03-15 17:59:05.000000000 -0500
+@@ -25,28 +25,23 @@
+ #ifndef WORKRAVE_NLS_H
+ #define WORKRAVE_NLS_H
+
+-#ifdef HAVE_GNOME
+-# include <gnome.h>
+-#else
+-# ifdef ENABLE_NLS
+-# include <locale.h>
+-# include <libintl.h>
+-# define _(String) gettext (String)
+-# ifdef gettext_noop
+-# define N_(String) gettext_noop (String)
+-# else
+-# define N_(String) (String)
+-# endif
++#ifdef ENABLE_NLS
++# ifdef HAVE_GNOME
++# include <gnome.h>
+ # else
+-/* Stubs that do something close enough. */
+-# define textdomain(String) (String)
+-# define gettext(String) (String)
+-# define dgettext(Domain,Message) (Message)
+-# define dcgettext(Domain,Message,Type) (Message)
+-# define bindtextdomain(Domain,Directory) (Domain)
+-# define _(String) (String)
++# include <locale.h>
++# include <libintl.h>
++# define _(String) gettext (String)
++# ifdef gettext_noop
++# define N_(String) gettext_noop (String)
++# else
+ # define N_(String) (String)
++# endif
+ # endif
++#else
++/* Stubs that do something close enough. */
++# define _(String) (String)
++# define N_(String) (String)
+ #endif
+
+ #ifdef __cplusplus
+diff -NurdpB workrave-1.8.4/frontend/gtkmm/src/RemoteControl.cc workrave-1.8.4-patched/frontend/gtkmm/src/RemoteControl.cc
+--- workrave-1.8.4/frontend/gtkmm/src/RemoteControl.cc 2007-03-04 13:56:38.000000000 -0500
++++ workrave-1.8.4-patched/frontend/gtkmm/src/RemoteControl.cc 2007-03-15 17:59:43.000000000 -0500
+@@ -22,13 +22,12 @@ static const char rcsid[] = "$Id: Remote
+
+ #include "debug.hh"
+
+-#include "RemoteControl.hh"
+-
+ #include "GUI.hh"
+ #include "AppletControl.hh"
+ #include "GnomeAppletWindow.hh"
+
+ #include "Menus.hh"
++#include "RemoteControl.hh"
+
+ WR_INIT()
+