rpms/insight/devel insight-6.8-gcc44.patch, NONE, 1.1 insight.spec, 1.1, 1.2
Patrick Monnerat
monnerat at fedoraproject.org
Wed Feb 18 16:37:25 UTC 2009
Author: monnerat
Update of /cvs/pkgs/rpms/insight/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31392
Modified Files:
insight.spec
Added Files:
insight-6.8-gcc44.patch
Log Message:
* Wed Feb 18 2009 Patrick Monnerat <pm at datasphere.ch> 6.8-5
- Patch "gcc44" to make it compilable with gcc 4.4.
- Build converts image format using ImageMagick instead of gif2png.
- Add build requirement of libXft-devel as a temporary workaround for missing
dependence of tk-devel on it.
insight-6.8-gcc44.patch:
--- NEW FILE insight-6.8-gcc44.patch ---
diff -Naur insight-6.8.orig/gdb/eval.c insight-6.8.new/gdb/eval.c
--- insight-6.8.orig/gdb/eval.c 2008-02-04 01:23:04.000000000 +0100
+++ insight-6.8.new/gdb/eval.c 2009-02-18 15:24:53.000000000 +0100
@@ -1647,6 +1647,9 @@
struct type *tmp_type;
int offset_item; /* The array offset where the item lives */
+ /* Be sure it is initialized. */
+ memset((char *) subscript_array, 0, sizeof subscript_array);
+
if (nargs > MAX_FORTRAN_DIMS)
error (_("Too many subscripts for F77 (%d Max)"), MAX_FORTRAN_DIMS);
Index: insight.spec
===================================================================
RCS file: /cvs/pkgs/rpms/insight/devel/insight.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- insight.spec 15 Oct 2008 09:26:53 -0000 1.1
+++ insight.spec 18 Feb 2009 16:36:55 -0000 1.2
@@ -1,6 +1,6 @@
Name: insight
Version: 6.8
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Graphical debugger based on GDB
License: GPLv3+
Group: Development/Debuggers
@@ -19,6 +19,7 @@
Patch9: insight-6.8-readline-system.patch
Patch10: insight-6.8-tclm4.patch
Patch11: insight-6.8-lib64.patch
+Patch12: insight-6.8-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: iwidgets
BuildRequires: tcl-devel
@@ -29,10 +30,12 @@
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: expat-devel
-BuildRequires: gif2png
+BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
BuildRequires: automake
BuildRequires: autoconf
+# The requirement below should be suppressed when tk-devel will do it.
+BuildRequires: libXft-devel
%description
Insight is a tight graphical user interface to GDB written in Tcl/Tk.
@@ -57,6 +60,7 @@
%patch9 -p1 -b .readline-system
%patch10 -p1 -b .tclm4
%patch11 -p1 -b .lib64
+%patch12 -p1 -b .gcc44
#-------------------------------------------------------------------------------
@@ -184,8 +188,8 @@
# Install icon.
${INSTALL} -m 755 -d "${RPM_BUILD_ROOT}%{_datadir}/pixmaps"
-gif2png -f -O < "gdb/gdbtk/library/images/gdbtk_icon.gif" \
- > "${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png"
+convert "gdb/gdbtk/library/images/gdbtk_icon.gif" \
+ "${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png"
#-------------------------------------------------------------------------------
@@ -212,6 +216,12 @@
%changelog
#-------------------------------------------------------------------------------
+* Wed Feb 18 2009 Patrick Monnerat <pm at datasphere.ch> 6.8-5
+- Patch "gcc44" to make it compilable with gcc 4.4.
+- Build converts image format using ImageMagick instead of gif2png.
+- Add build requirement of libXft-devel as a temporary workaround for missing
+ dependence of tk-devel on it.
+
* Mon Oct 13 2008 Patrick Monnerat <pm at datasphere.ch> 6.8-4
- X-Fedora application category removed.
- Force option -p of install.
More information about the fedora-extras-commits
mailing list