1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../eject/no-i18n.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 uClibC and dietlibc without add-on libraries do not have i18n.
19 - Rene Rebe <rene@exactcode.de>
21 --- eject-2.1.0/i18n.h.vanilla 2007-01-15 10:20:57.000000000 +0000
22 +++ eject-2.1.0/i18n.h 2007-01-15 10:25:54.000000000 +0000
24 µ{¦¡°ê»Ú¤Æ³]p: Á±X¤¤
27 +#include <stdlib.h> /* uClibC / dietlibc defines */
31 +#if defined (__UCLIBC__) || defined (__dietlibc__)
32 + #define _(str) (str)
33 + #define N_(str) (str)
37 #define LOCALEDIR "/usr/share/locale"
41 void i18n_init (void);