~ubuntu-branches/ubuntu/lucid/bash/lucid

« back to all changes in this revision

Viewing changes to debian/patches/bash32-012.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-08-24 12:06:59 UTC
  • mfrom: (1.3.2 upstream) (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090824120659-gmp1uuy2w9k2st53
Tags: 4.0-4ubuntu1
* Merge with Debian; remaining changes:
  - Build from the upstream sources, build the documentation in info format.
  - /etc/skel/.bashrc: eval lesspipe.
* Changes to the skeleton .bashrc:
  - Source .bash_aliases after defining aliases. LP: #400686.
  - Enable color support for grep. LP: #386502.
* The bash docs now  describe uname -s not having any effect on many
  systems. LP: #378595.
* Don't ship an info dir file. LP: #358932.
* Fix some lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
if [ $# -eq 3 -a "$2" = '-d' ]; then
4
 
    pdir="-d $3"
5
 
elif [ $# -ne 1 ]; then
6
 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7
 
    exit 1
8
 
fi
9
 
case "$1" in
10
 
    -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11
 
    -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
12
 
    *)
13
 
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14
 
        exit 1
15
 
esac
16
 
exit 0
17
 
 
18
 
# DP: bash-3.2 upstream patch bash32-012
19
 
 
20
 
                             BASH PATCH REPORT
21
 
                             =================
22
 
 
23
 
Bash-Release: 3.2
24
 
Patch-ID: bash32-012
25
 
 
26
 
Bug-Reported-by: John Wyman <JohnWyman@celink.com>
27
 
Bug-Reference-ID: <5E7DEFC094C35044B87FAE761D9F0EE20143A3B7@exchange2k.celink.com>
28
 
Bug-Reference-URL: 
29
 
 
30
 
Bug-Description:
31
 
 
32
 
Some systems (AIX 4.x) don't implement the PRI_xxx macros correctly,
33
 
causing syntax errors when attempting to compile bash on those systems.
34
 
This patch adds support for the PRI_MACROS_BROKEN define.
35
 
 
36
 
You will need to re-run `configure' after applying the patch.  Run
37
 
`touch configure' so make doesn't try to run autoconf.
38
 
 
39
 
Patch:
40
 
 
41
 
*** ../bash-3.2.11/config.h.in  Tue Sep 12 16:00:54 2006
42
 
--- config.h.in Tue Mar  6 11:17:55 2007
43
 
***************
44
 
*** 1,5 ****
45
 
  /* config.h -- Configuration file for bash. */
46
 
  
47
 
! /* Copyright (C) 1987-2006 Free Software Foundation, Inc.
48
 
  
49
 
     This file is part of GNU Bash, the Bourne Again SHell.
50
 
--- 1,5 ----
51
 
  /* config.h -- Configuration file for bash. */
52
 
  
53
 
! /* Copyright (C) 1987-2007 Free Software Foundation, Inc.
54
 
  
55
 
     This file is part of GNU Bash, the Bourne Again SHell.
56
 
***************
57
 
*** 414,417 ****
58
 
--- 414,419 ----
59
 
  #undef HAVE_DECL_STRTOLD
60
 
  
61
 
+ #undef PRI_MACROS_BROKEN
62
 
63
 
  #undef STRTOLD_BROKEN
64
 
  
65
 
***************
66
 
*** 1007,1010 ****
67
 
--- 1009,1015 ----
68
 
  #undef HAVE_DCGETTEXT
69
 
  
70
 
+ /* Define if you have the `localeconv' function. */
71
 
+ #undef HAVE_LOCALECONV
72
 
73
 
  /* Define if your system has a working `malloc' function. */
74
 
  /* #undef HAVE_MALLOC */
75
 
*** ../bash-3.2.11/builtins/printf.def  Mon Nov 13 08:58:52 2006
76
 
--- builtins/printf.def Sun Feb  4 13:58:59 2007
77
 
***************
78
 
*** 2,6 ****
79
 
  It implements the builtin "printf" in Bash.
80
 
  
81
 
! Copyright (C) 1997-2005 Free Software Foundation, Inc.
82
 
  
83
 
  This file is part of GNU Bash, the Bourne Again SHell.
84
 
--- 2,6 ----
85
 
  It implements the builtin "printf" in Bash.
86
 
  
87
 
! Copyright (C) 1997-2007 Free Software Foundation, Inc.
88
 
  
89
 
  This file is part of GNU Bash, the Bourne Again SHell.
90
 
***************
91
 
*** 71,74 ****
92
 
--- 71,78 ----
93
 
  #include "common.h"
94
 
  
95
 
+ #if defined (PRI_MACROS_BROKEN)
96
 
+ #  undef PRIdMAX
97
 
+ #endif
98
 
99
 
  #if !defined (PRIdMAX)
100
 
  #  if HAVE_LONG_LONG
101
 
*** ../bash-3.2/patchlevel.h    Thu Apr 13 08:31:04 2006
102
 
--- patchlevel.h        Mon Oct 16 14:22:54 2006
103
 
***************
104
 
*** 26,30 ****
105
 
     looks for to find the patch level (for the sccs version string). */
106
 
  
107
 
! #define PATCHLEVEL 11
108
 
  
109
 
  #endif /* _PATCHLEVEL_H_ */
110
 
--- 26,30 ----
111
 
     looks for to find the patch level (for the sccs version string). */
112
 
  
113
 
! #define PATCHLEVEL 12
114
 
  
115
 
  #endif /* _PATCHLEVEL_H_ */