diff options
Diffstat (limited to 'sys-apps/eject/files')
-rw-r--r-- | sys-apps/eject/files/eject-2.0.13-i18n-uclibc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/eject/files/eject-2.0.13-i18n-uclibc.patch b/sys-apps/eject/files/eject-2.0.13-i18n-uclibc.patch new file mode 100644 index 000000000000..6e7348b101ea --- /dev/null +++ b/sys-apps/eject/files/eject-2.0.13-i18n-uclibc.patch @@ -0,0 +1,28 @@ +--- i18n.h.orig 2005-07-23 10:40:55.000000000 -0400 ++++ i18n.h 2005-07-23 10:41:00.000000000 -0400 +@@ -7,9 +7,11 @@ + 程式國際化設計: 謝崑中 + */ + ++#include <features.h> + #ifndef __i18n__ +- #define __i18n__ + #define PKG "eject" ++ # ifndef __UCLIBC__ ++ #define __i18n__ + #define LOCALEDIR "/usr/share/locale" + + #include <locale.h> +@@ -17,7 +19,11 @@ + #define _(str) gettext (str) + #define N_(str) (str) + #define I18NCODE setlocale(LC_ALL,""); textdomain(PKG); bindtextdomain(PKG,LOCALEDIR); +- ++ #else ++ #define _(str) (str) ++ #define N_(str) (str) ++ #define I18NCODE ++ #endif + void i18n_init (void); + #endif + |