summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/psmisc/files/psmisc-21.6-nonls.patch')
-rw-r--r--sys-process/psmisc/files/psmisc-21.6-nonls.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-process/psmisc/files/psmisc-21.6-nonls.patch b/sys-process/psmisc/files/psmisc-21.6-nonls.patch
new file mode 100644
index 000000000000..4d282e3423a6
--- /dev/null
+++ b/sys-process/psmisc/files/psmisc-21.6-nonls.patch
@@ -0,0 +1,14 @@
+--- psmisc-21.6/src/i18n.h 2004-11-09 06:25:15.000000000 -0500
++++ psmisc-21.6.nonls/src/i18n.h 2005-03-14 00:21:53.000000000 -0500
+@@ -13,6 +13,11 @@
+ #define _(String) gettext (String)
+ #else
+ #define _(String) (String)
++#define rpmatch(x) \
++ ( (line == NULL) ? -1 : \
++ (*line == 'y' || *line == 'Y') ? 1 : \
++ (*line == 'n' || *line == 'N') ? 0 : \
++ -1 )
+ #endif
+
+ #endif