Branch oldpackages for 14.07
[14.07/packages.git] / utils / bash / patches / 120-upstream-bash42-020.patch
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release:   4.2
5 Patch-ID:       bash42-020
6
7 Bug-Reported-by:        Vincent Sheffer <vince.sheffer@apisphere.com>
8 Bug-Reference-ID:       <F13C1C4F-C44C-4071-BFED-4BB6D13CF92F@apisphere.com>
9 Bug-Reference-URL:      https://lists.gnu.org/archive/html/bug-readline/2011-08/msg00000.html
10
11 Bug-Description:
12
13 The shared object helper script needs to be updated for Mac OS X 10.7
14 (Lion, darwin11).
15
16 Patch (apply with `patch -p0'):
17
18 --- a/support/shobj-conf
19 +++ b/support/shobj-conf
20 @@ -157,7 +157,7 @@ freebsd[4-9]*|freebsdelf*|dragonfly*)
21         ;;
22  
23  # Darwin/MacOS X
24 -darwin[89]*|darwin10*)
25 +darwin[89]*|darwin1[012]*)
26         SHOBJ_STATUS=supported
27         SHLIB_STATUS=supported
28         
29 @@ -186,7 +186,7 @@ darwin*|macosx*)
30         SHLIB_LIBSUFF='dylib'
31  
32         case "${host_os}" in
33 -       darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
34 +       darwin[789]*|darwin1[012]*)     SHOBJ_LDFLAGS=''
35                         SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
36                         ;;
37         *)              SHOBJ_LDFLAGS='-dynamic'
38 --- a/patchlevel.h
39 +++ b/patchlevel.h
40 @@ -25,6 +25,6 @@
41     regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
42     looks for to find the patch level (for the sccs version string). */
43  
44 -#define PATCHLEVEL 19
45 +#define PATCHLEVEL 20
46  
47  #endif /* _PATCHLEVEL_H_ */