summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch')
-rw-r--r--patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch
index 4784a07..3cc6559 100644
--- a/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch
+++ b/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch
@@ -1,5 +1,3 @@
-#! /bin/sh -e
-
# DP: Description: Fix localedef segfault when run under exec-shield,
# PaX or similar. (#231438, #198099)
# DP: Dpatch Author: James Troup <james@nocrew.org>
@@ -7,20 +5,6 @@
# DP: Upstream status: Unknown
# DP: Status Details: Unknown
# DP: Date: 2004-03-16
-
-if [ $# -ne 2 ]; then
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1
-fi
-case "$1" in
- -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;;
- -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;;
- *)
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1
-esac
-exit 0
-
diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h
--- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200
+++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100