auto-import changelog data from gawk-3.1.3-6.src.rpm
Mon Jan 26 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-6 - fixed getpgrp_void problem (#114246) - removed old patches
This commit is contained in:
parent
610e35687d
commit
912f53f00b
45
gawk-3.1.3-getpgrp_void.patch
Normal file
45
gawk-3.1.3-getpgrp_void.patch
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
--- gawk-3.1.3/main.c.getpgrp_void 2004-01-26 12:08:26.000000000 +0100
|
||||||
|
+++ gawk-3.1.3/main.c 2004-01-26 12:15:22.000000000 +0100
|
||||||
|
@@ -874,14 +874,11 @@
|
||||||
|
|
||||||
|
PROCINFO_node = install("PROCINFO",
|
||||||
|
node((NODE *) NULL, Node_var_array, (NODE *) NULL));
|
||||||
|
-
|
||||||
|
#ifdef GETPGRP_VOID
|
||||||
|
-#define getpgrp_arg() /* nothing */
|
||||||
|
+ value = getpgrp();
|
||||||
|
#else
|
||||||
|
-#define getpgrp_arg() getpid()
|
||||||
|
+ value = getpgrp(getpid());
|
||||||
|
#endif
|
||||||
|
-
|
||||||
|
- value = getpgrp(getpgrp_arg());
|
||||||
|
aptr = assoc_lookup(PROCINFO_node, tmp_string("pgrpid", 6), FALSE);
|
||||||
|
*aptr = make_number(value);
|
||||||
|
|
||||||
|
--- gawk-3.1.3/io.c.getpgrp_void 2004-01-26 12:08:36.000000000 +0100
|
||||||
|
+++ gawk-3.1.3/io.c 2004-01-26 12:16:04.000000000 +0100
|
||||||
|
@@ -1422,11 +1422,6 @@
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef GETPGRP_VOID
|
||||||
|
-#define getpgrp_arg() /* nothing */
|
||||||
|
-#else
|
||||||
|
-#define getpgrp_arg() getpid()
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
/* pidopen --- "open" /dev/pid, /dev/ppid, and /dev/pgrpid */
|
||||||
|
|
||||||
|
@@ -1440,7 +1435,11 @@
|
||||||
|
warning(_("use `PROCINFO[\"%s\"]' instead of `%s'"), cp, name);
|
||||||
|
|
||||||
|
if (name[6] == 'g')
|
||||||
|
+#ifdef GETPGRP_VOID
|
||||||
|
+ sprintf(tbuf, "%d\n", (int) getpgrp());
|
||||||
|
+#else
|
||||||
|
sprintf(tbuf, "%d\n", (int) getpgrp(getpgrp_arg()));
|
||||||
|
+#endif
|
||||||
|
else if (name[6] == 'i')
|
||||||
|
sprintf(tbuf, "%d\n", (int) getpid());
|
||||||
|
else
|
24
gawk.spec
24
gawk.spec
@ -1,19 +1,17 @@
|
|||||||
Summary: The GNU version of the awk text processing utility.
|
Summary: The GNU version of the awk text processing utility.
|
||||||
Name: gawk
|
Name: gawk
|
||||||
Version: 3.1.3
|
Version: 3.1.3
|
||||||
Release: 5
|
Release: 6
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source0: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.bz2
|
Source0: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.bz2
|
||||||
Source1: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}-ps.tar.gz
|
Source1: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}-ps.tar.gz
|
||||||
Patch0: gawk-3.1.0-newsecurity.patch
|
|
||||||
Patch1: gawk-3.1.0-shutup.patch
|
|
||||||
Patch2: gawk-3.1.1-ngroups.patch
|
|
||||||
Patch3: gawk-3.1.3-fix1.patch
|
Patch3: gawk-3.1.3-fix1.patch
|
||||||
Patch4: gawk-3.1.3-fix2.patch
|
Patch4: gawk-3.1.3-fix2.patch
|
||||||
Patch5: gawk-3.1.3-fix3.patch
|
Patch5: gawk-3.1.3-fix3.patch
|
||||||
Patch6: gawk-3.1.3-fix4.patch
|
Patch6: gawk-3.1.3-fix4.patch
|
||||||
Patch7: gawk-3.1.3-fix5.patch
|
Patch7: gawk-3.1.3-fix5.patch
|
||||||
|
Patch8: gawk-3.1.3-getpgrp_void.patch
|
||||||
Prereq: /sbin/install-info
|
Prereq: /sbin/install-info
|
||||||
Requires: /bin/mktemp
|
Requires: /bin/mktemp
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
@ -28,14 +26,12 @@ considered to be a standard Linux tool for processing text.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -b 1
|
%setup -q -b 1
|
||||||
#%patch0 -p1
|
%patch3 -p1 -b .fix1
|
||||||
#%patch1 -p1
|
%patch4 -p0 -b .fix2
|
||||||
#%patch2 -p1
|
%patch5 -p1 -b .fix3
|
||||||
%patch3 -p1
|
%patch6 -p1 -b .fix4
|
||||||
%patch4 -p0
|
%patch7 -p1 -b .fix5
|
||||||
%patch5 -p1
|
%patch8 -p1 -b .getpgrp_void
|
||||||
%patch6 -p1
|
|
||||||
%patch7 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -84,6 +80,10 @@ fi
|
|||||||
%{_datadir}
|
%{_datadir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 26 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-6
|
||||||
|
- fixed getpgrp_void problem (#114246)
|
||||||
|
- removed old patches
|
||||||
|
|
||||||
* Fri Jan 09 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
* Fri Jan 09 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
- add a "make check"
|
- add a "make check"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user