summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-08 22:06:16 (GMT)
committerGitHub <noreply@github.com>2017-06-08 22:06:16 (GMT)
commitf7c7c4a096ae15b4f0281b22031b47ad43ad122e (patch)
tree54dc5340ab294373057b2f6fc5d2ae5c01698df6 /patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch
parent29ecbf84c86098423a7228765aa9324c931eecc8 (diff)
parent1b4e784a0ba636646def1db5ca012fd54ee7a81c (diff)
Merge pull request #738 from stilor/lintian-warnings
Fix debuild warnings/errors
Diffstat (limited to 'patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch')
-rw-r--r--patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch
index 0e05844..fb0881d 100644
--- a/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch
+++ b/patches/glibc/ports-2.12.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.12.1.orig/locale/programs/3level.h glibc-2.12.1/locale/programs/3level.h
--- glibc-2.12.1.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200
+++ glibc-2.12.1/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100