summaryrefslogtreecommitdiff
path: root/devel/gettext/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gettext/patches/patch-af')
-rw-r--r--devel/gettext/patches/patch-af34
1 files changed, 0 insertions, 34 deletions
diff --git a/devel/gettext/patches/patch-af b/devel/gettext/patches/patch-af
deleted file mode 100644
index ab643a92474..00000000000
--- a/devel/gettext/patches/patch-af
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-af,v 1.1 2000/06/30 17:07:36 danw Exp $
-
-Fixes from glibc
-
---- intl/finddomain.c.orig Fri Jun 23 03:23:00 2000
-+++ intl/finddomain.c Fri Jun 23 04:18:34 2000
-@@ -81,7 +81,7 @@
- const char *modifier;
- const char *territory;
- const char *codeset;
-- const char *normalized_codeset;
-+ char *normalized_codeset;
- const char *special;
- const char *sponsor;
- const char *revision;
-@@ -192,6 +192,10 @@
- if (alias_value != NULL)
- free (locale);
-
-+ /* The space for normalized_codeset is dynamically allocated. Free it. */
-+ if (mask & XPG_NORM_CODESET)
-+ free (normalized_codeset);
-+
- return retval;
- }
-
-@@ -208,6 +212,7 @@
- if (runp->data != NULL)
- _nl_unload_domain ((struct loaded_domain *) runp->data);
- runp = runp->next;
-+ free (here->filename);
- free (here);
- }
- }