diff --git a/insight-7.8.50-vla-intel-2.patch b/insight-7.8.50-vla-intel-2.patch new file mode 100644 index 0000000..78f1840 --- /dev/null +++ b/insight-7.8.50-vla-intel-2.patch @@ -0,0 +1,12 @@ +diff -Naurp insight-7.8.50.20140827.orig/gdb/value.c insight-7.8.50.20140827.new/gdb/value.c +--- insight-7.8.50.20140827.orig/gdb/value.c 2015-06-23 13:55:42.822763769 +0200 ++++ insight-7.8.50.20140827.new/gdb/value.c 2015-06-23 13:57:06.697573195 +0200 +@@ -3052,7 +3052,7 @@ value_primitive_field (struct value *arg + } + + if (!TYPE_DATA_LOCATION (type) +- || !TYPE_DATA_LOCATION_KIND (type) == PROP_CONST) ++ || TYPE_DATA_LOCATION_KIND (type) != PROP_CONST) + v->offset = (value_offset (arg1) + offset + + value_embedded_offset (arg1)); + } diff --git a/insight.spec b/insight.spec index 0f2d4f1..2c763a6 100644 --- a/insight.spec +++ b/insight.spec @@ -17,7 +17,7 @@ Name: insight Version: %(echo %{ver} | tr - .) -Release: 4%{?snap:.%{snap}git}%{?dist} +Release: 6%{?snap:.%{snap}git}%{?dist} Summary: Graphical debugger based on GDB License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL Group: Development/Debuggers @@ -127,6 +127,8 @@ Patch150: gdb-6.8-attach-signalled-detach-stopped.patch Patch151: gdb-6.8-quit-never-aborts.patch Patch152: gdb-rhel5-compat.patch +Patch200: insight-7.8.50-vla-intel-2.patch + %description Insight is a tight graphical user interface to GDB written in Tcl/Tk. @@ -219,6 +221,8 @@ GDB version 6.x. %patch150 -p1 -R %endif +%patch200 -p1 + #------------------------------------------------------------------------------- %build @@ -392,6 +396,9 @@ rm -rf "${RPM_BUILD_ROOT}" %changelog #------------------------------------------------------------------------------- +* Tue Jun 23 2015 Patrick Monnerat 7.8.50-6.20140827git +- Patch "vla-intel-2" to fix a subexpression operator precedence. + * Wed Jan 21 2015 Patrick Monnerat 7.8.50-4.20140827git - Conditionally backport to F20. https://bugzilla.redhat.com/show_bug.cgi?id=1184080