summaryrefslogtreecommitdiff
path: root/libc/debian/patches/localedef-prog-only.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/patches/localedef-prog-only.patch')
-rw-r--r--libc/debian/patches/localedef-prog-only.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/debian/patches/localedef-prog-only.patch b/libc/debian/patches/localedef-prog-only.patch
new file mode 100644
index 0000000..6e987e1
--- /dev/null
+++ b/libc/debian/patches/localedef-prog-only.patch
@@ -0,0 +1,18 @@
+Index: libc/usr/src/cmd/localedef/Makefile
+===================================================================
+--- libc.orig/usr/src/cmd/localedef/Makefile
++++ libc/usr/src/cmd/localedef/Makefile
+@@ -268,11 +268,11 @@ ROOTPRIVTRANS = $(PRIVTRANSLOCS:%=$(ROOT
+
+ $(ROOTDATA) := FILEMODE=0444
+
+-all: $(PROG) $(DATA)
++all: $(PROG)
+
+ translate: $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
+
+-install: all $(ROOTPROG) $(ROOTDATA) $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
++install: all $(ROOTPROG)
+
+ $(NDIR):
+ mkdir $@