OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Aug-2004 15:24:57
Branch: HEAD Handle: 2004081114245600
Modified files:
openpkg-src/openpkg HISTORY bash.patch openpkg.spec
Log:
apply more fixes for GNU Bash 3.0
Summary:
Revision Changes Path
1.204 +1 -0 openpkg-src/openpkg/HISTORY
1.5 +63 -0 openpkg-src/openpkg/bash.patch
1.352 +1 -1 openpkg-src/openpkg/openpkg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.203 -r1.204 HISTORY
--- openpkg-src/openpkg/HISTORY 10 Aug 2004 15:40:09 -0000 1.203
+++ openpkg-src/openpkg/HISTORY 11 Aug 2004 13:24:56 -0000 1.204
@@ -2,6 +2,7 @@
2004
====
+20040811 apply more fixes for GNU Bash 3.0
20040810 fix uid/gid determination loops by not being confused by multiple query
results
20040804 upgrade to BeeCrypt 4.0.0 and GNU Bash 3.0
20040725 fix a few typos in rc(8) manual page
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/bash.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 bash.patch
--- openpkg-src/openpkg/bash.patch 4 Aug 2004 19:14:47 -0000 1.4
+++ openpkg-src/openpkg/bash.patch 11 Aug 2004 13:24:56 -0000 1.5
@@ -171,3 +171,66 @@
return (prompt_prefix_length);
}
+-----------------------------------------------------------------------------
+
+Fix timezone handling for HPUX
+
+Index: lib/sh/strftime.c
+--- lib/sh/strftime.c.orig 2004-03-04 04:13:23 +0100
++++ lib/sh/strftime.c 2004-08-06 12:40:06 +0200
+@@ -97,6 +97,8 @@
+ extern int daylight;
+ #if defined(SOLARIS) || defined(mips) || defined (M_UNIX)
+ extern long int timezone, altzone;
++#elif defined(HPUX)
++extern long int timezone;
+ #else
+ extern int timezone, altzone;
+ #endif
+@@ -480,7 +482,11 @@
+ * Systems with tzname[] probably have timezone as
+ * secs west of GMT. Convert to mins east of GMT.
+ */
++#if defined(HPUX)
++ off = -(timezone / 60);
++#else
+ off = -(daylight ? timezone : altzone) / 60;
++#endif /* HPUX */
+ #else /* !HAVE_TZNAME */
+ off = -zone.tz_minuteswest;
+ #endif /* !HAVE_TZNAME */
+
+-----------------------------------------------------------------------------
+
+Fix segfault when accessing an unset array.
+http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00026.html
+
+Index: arrayfunc.c
+--- arrayfunc.c.orig 2003-12-19 06:03:09 +0100
++++ arrayfunc.c 2004-08-11 15:17:03 +0200
+@@ -611,7 +611,7 @@
+ var = find_variable (t);
+
+ free (t);
+- return var;
++ return (var == 0 || invisible_p (var)) ? (SHELL_VAR *)0 : var;
+ }
+
+ /* Return a string containing the elements in the array and subscript
+
+-----------------------------------------------------------------------------
+
+Fix nested brace vs. variable expansion.
+http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html
+
+Index: braces.c
+--- braces.c.orig 2003-12-04 17:09:52 +0100
++++ braces.c 2004-08-11 15:18:14 +0200
+@@ -402,6 +402,7 @@
+ {
+ pass_next = 1;
+ i++;
++ level++;
+ continue;
+ }
+ #endif
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.351 -r1.352 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 10 Aug 2004 15:40:09 -0000 1.351
+++ openpkg-src/openpkg/openpkg.spec 11 Aug 2004 13:24:56 -0000 1.352
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20040810
+%define V_openpkg 20040811
# the used software versions
%define V_rpm 4.2.1
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]