]> git.pld-linux.org Git - packages/freedroidrpg.git/commitdiff
- add missing lang.h file DEVEL
authorlisu <lisu@pld-linux.org>
Sat, 18 Aug 2007 22:34:30 +0000 (22:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freedroidrpg-lang_file.patch -> 1.1

freedroidrpg-lang_file.patch [new file with mode: 0644]

diff --git a/freedroidrpg-lang_file.patch b/freedroidrpg-lang_file.patch
new file mode 100644 (file)
index 0000000..fe30922
--- /dev/null
@@ -0,0 +1,21 @@
+--- freedroidrpg-0.10.3rc3/src/lang.h~ 2007-08-18 23:34:38.000000000 +0200
++++ freedroidrpg-0.10.3rc3/src/lang.h  2007-08-18 23:36:24.000000000 +0200
+@@ -0,0 +1,18 @@
++#ifndef _LANG_H
++#define _LANG_H
++#ifndef HAVE_LOCALE_H
++#undef ENABLE_NLS
++#endif
++#if ENABLE_NLS
++#include <locale.h>
++#include <libintl.h>
++#define LOCALE_PACKAGE "freedroidrpg"
++#define LOCALE_DIR FD_DATADIR"/locale/"
++#define _(String) gettext(String)
++#define N_(String) String
++#else
++#define _(String) String
++#define N_(String) String
++#endif
++#endif
++
This page took 0.049424 seconds and 4 git commands to generate.