diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-11 13:57:14 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-11 13:57:14 (EDT) |
commit | 51a6034194bbeb50cfbdcd7662d17f4eab8e0725 (patch) | |
tree | 86eb90f70f32b8e4793a3c3cbbb6debe468a6f94 /patches/03_noperl-gen-translit.patch | |
parent | 7fc43e6b6a6957ee3e080433552143aad2a12ac4 (diff) |
Refresh patches.
Correct offsets and update libc/locale/gen-translit.sh against upstream changes
to libc/locale/gen-translit.pl
Diffstat (limited to 'patches/03_noperl-gen-translit.patch')
-rw-r--r-- | patches/03_noperl-gen-translit.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/03_noperl-gen-translit.patch b/patches/03_noperl-gen-translit.patch index cffc8cd..2bd4585 100644 --- a/patches/03_noperl-gen-translit.patch +++ b/patches/03_noperl-gen-translit.patch @@ -5,7 +5,7 @@ Description: Replace locale/gen-translit.pl with a shell script diff -Naur src.orig/libc/locale/gen-translit.sh src/libc/locale/gen-translit.sh --- src.orig/libc/locale/gen-translit.sh 1969-12-31 19:00:00.000000000 -0500 +++ src/libc/locale/gen-translit.sh 2013-06-21 18:04:13.414351956 -0400 -@@ -0,0 +1,195 @@ +@@ -0,0 +1,197 @@ +#!/bin/sh +# A POSIX.1 shell command language translation of gen-translit.pl. + @@ -96,6 +96,8 @@ diff -Naur src.orig/libc/locale/gen-translit.sh src/libc/locale/gen-translit.sh +$(cat C-translit.h.in | gcc -E - || die 'Cannot preprocess input file') +EOF + ++printf '#include <stdint.h>\n' ++ +printf '#define NTRANSLIT %d\n' ${ntranslit} + +printf 'static const uint32_t translit_from_idx[] =\n{\n ' @@ -204,7 +206,7 @@ diff -Naur src.orig/libc/locale/gen-translit.sh src/libc/locale/gen-translit.sh diff -Naur src.orig/libc/locale/Makefile src/libc/locale/Makefile --- src.orig/libc/locale/Makefile 2012-11-17 12:50:14.000000000 -0500 +++ src/libc/locale/Makefile 2013-06-21 18:10:15.525446048 -0400 -@@ -88,7 +88,11 @@ +@@ -87,7 +87,11 @@ $(objpfx)localedef $(objpfx)locale: $(lib-modules:%=$(objpfx)%.o) C-translit.h: C-translit.h.in gen-translit.pl |