diff options
Diffstat (limited to 'sys-apps/attr/files/attr-2.4.44-gettext.patch')
-rw-r--r-- | sys-apps/attr/files/attr-2.4.44-gettext.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/sys-apps/attr/files/attr-2.4.44-gettext.patch b/sys-apps/attr/files/attr-2.4.44-gettext.patch deleted file mode 100644 index 49c2d32b..00000000 --- a/sys-apps/attr/files/attr-2.4.44-gettext.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- include/gettext.h -+++ include/gettext.h -@@ -0,0 +1,10 @@ -+#include <config.h> -+#ifdef ENABLE_GETTEXT -+# include <libintl.h> -+# define _(x) gettext(x) -+#else -+# define _(x) (x) -+# define textdomain(d) do { } while (0) -+# define bindtextdomain(d,dir) do { } while (0) -+#endif -+#include <locale.h> ---- attr/attr.c -+++ attr/attr.c -@@ -26,6 +26,7 @@ - #include <errno.h> - #include <string.h> - #include <locale.h> -+#include "gettext.h" - - #include <attr/attributes.h> - #include "config.h" ---- libattr/attr_copy_file.c.orig 2007-09-20 02:51:37.000000000 -0400 -+++ libattr/attr_copy_file.c 2007-09-20 02:51:51.000000000 -0400 -@@ -19,6 +19,7 @@ - - #if defined (HAVE_CONFIG_H) - #include "config.h" -+#include "gettext.h" - #endif - - #include <sys/types.h> ---- libattr/attr_copy_fd.c.orig 2007-09-20 02:52:23.000000000 -0400 -+++ libattr/attr_copy_fd.c 2007-09-20 02:52:31.000000000 -0400 -@@ -19,6 +19,7 @@ - - #if defined (HAVE_CONFIG_H) - #include "config.h" -+#include "gettext.h" - #endif - - #include <sys/types.h> ---- getfattr/getfattr.c.orig 2007-09-20 02:52:49.000000000 -0400 -+++ getfattr/getfattr.c 2007-09-20 02:52:59.000000000 -0400 -@@ -30,6 +30,7 @@ - #include <regex.h> - #include <ftw.h> - #include <locale.h> -+#include "gettext.h" - - #include <attr/xattr.h> - #include "config.h" ---- setfattr/setfattr.c.orig 2007-09-20 02:53:12.000000000 -0400 -+++ setfattr/setfattr.c 2007-09-20 02:53:20.000000000 -0400 -@@ -28,6 +28,7 @@ - #include <getopt.h> - #include <locale.h> - #include <ctype.h> -+#include "gettext.h" - - #include <attr/xattr.h> - #include "config.h" |