rpms/gtkwave/devel gtkwave-3.2.2-BZ515672.patch, NONE, 1.1 gtkwave.spec, 1.65, 1.66
Paul Howarth
pghmcfc at fedoraproject.org
Thu Aug 6 20:02:00 UTC 2009
Author: pghmcfc
Update of /cvs/pkgs/rpms/gtkwave/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24139
Modified Files:
gtkwave.spec
Added Files:
gtkwave-3.2.2-BZ515672.patch
Log Message:
add patch to work around #515672 (internal compiler error on PPC)
gtkwave-3.2.2-BZ515672.patch:
fstapi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- NEW FILE gtkwave-3.2.2-BZ515672.patch ---
--- gtkwave-3.2.2/src/helpers/fst/fstapi.c 2009-08-06 20:44:14.000000000 +0100
+++ gtkwave-3.2.2/src/helpers/fst/fstapi.c 2009-08-06 20:45:27.000000000 +0100
@@ -2431,7 +2431,8 @@
{
FILE *fcomp;
off_t offpnt, uclen;
- char gz_membuf[FST_GZIO_LEN];
+ const BZ515672_BODGE = 32;
+ char gz_membuf[FST_GZIO_LEN + BZ515672_BODGE];
void *zhandle;
int flen = strlen(xc->filename);
char *hf = calloc(1, flen + 16 + 32 + 1);
Index: gtkwave.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtkwave/devel/gtkwave.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -p -r1.65 -r1.66
--- gtkwave.spec 5 Aug 2009 09:34:39 -0000 1.65
+++ gtkwave.spec 6 Aug 2009 20:01:59 -0000 1.66
@@ -3,11 +3,12 @@
Summary: Waveform Viewer
Name: gtkwave
Version: 3.2.2
-Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
+Release: %{?prerel:0.}2%{?prerel:.%{prerel}}%{?dist}
License: GPLv2+
Group: Applications/Engineering
URL: http://gtkwave.sourceforge.net/
Source0: http://gtkwave.sourceforge.net/gtkwave-%{version}%{?prerel}.tar.gz
+Patch0: gtkwave-3.2.2-BZ515672.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, bzip2-devel, zlib-devel, gperf, flex
# BR: /usr/include/tcl.h rather than tcl-devel for compatibility with
@@ -23,6 +24,9 @@ tools.
%setup -q -n gtkwave-%{version}%{?prerel}
%{__cp} -p .gtkwaverc gtkwaverc.sample
+# Work around #515672 (internal compiler error on PPC)
+%patch0 -p1 -b .BZ515672
+
# Note that GTKWave is a GUI application but no desktop entry is provided for it.
# This is because the application required at least one mandatory parameter (file
# to view) and cannot be opened in a "no file" mode from a menu.
@@ -100,6 +104,9 @@ done
%{_mandir}/man5/gtkwaverc.5*
%changelog
+* Thu Aug 6 2009 Paul Howarth <paul at city-fan.org> 3.2.2-2
+- add patch to work around #515672 (internal compiler error on PPC)
+
* Wed Aug 5 2009 Paul Howarth <paul at city-fan.org> 3.2.2-1
- update to 3.2.2 (new tools evcd2vcd/fst2vcd/vcd2fst)
- drop print-to-file patch, no longer needed
More information about the scm-commits
mailing list