rpms/insight/devel insight-6.8.1-sbrk.patch, NONE, 1.1 insight.spec, 1.7, 1.8

Patrick Monnerat monnerat at fedoraproject.org
Wed Jan 13 20:23:58 UTC 2010


Author: monnerat

Update of /cvs/pkgs/rpms/insight/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8179

Modified Files:
	insight.spec 
Added Files:
	insight-6.8.1-sbrk.patch 
Log Message:

* Wed Jan 13 2010 Patrick Monnerat <pm at datasphere.ch> 6.8.1-2
- Patch "sbrk" to enable sbrk() prototype on F13.


insight-6.8.1-sbrk.patch:
 event-top.c |    4 ++++
 main.c      |    4 ++++
 top.c       |    4 ++++
 3 files changed, 12 insertions(+)

--- NEW FILE insight-6.8.1-sbrk.patch ---
diff -Naur insight-6.8-1.orig/gdb/event-top.c insight-6.8-1.new/gdb/event-top.c
--- insight-6.8-1.orig/gdb/event-top.c	2008-01-01 23:53:09.000000000 +0100
+++ insight-6.8-1.new/gdb/event-top.c	2010-01-13 21:06:33.000000000 +0100
@@ -20,6 +20,10 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
+/* Enable sbrk() prototype. */
+#include <features.h>
+#undef __USE_XOPEN2K
+
 #include "defs.h"
 #include "top.h"
 #include "inferior.h"
diff -Naur insight-6.8-1.orig/gdb/main.c insight-6.8-1.new/gdb/main.c
--- insight-6.8-1.orig/gdb/main.c	2010-01-13 18:00:29.000000000 +0100
+++ insight-6.8-1.new/gdb/main.c	2010-01-13 20:52:02.000000000 +0100
@@ -19,6 +19,10 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* Enable sbrk() prototype. */
+#include <features.h>
+#undef __USE_XOPEN2K
+
 #include "defs.h"
 #include "top.h"
 #include "target.h"
diff -Naur insight-6.8-1.orig/gdb/top.c insight-6.8-1.new/gdb/top.c
--- insight-6.8-1.orig/gdb/top.c	2010-01-13 18:00:29.000000000 +0100
+++ insight-6.8-1.new/gdb/top.c	2010-01-13 21:08:35.000000000 +0100
@@ -19,6 +19,10 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* Enable sbrk() prototype. */
+#include <features.h>
+#undef __USE_XOPEN2K
+
 #include "defs.h"
 #include "gdbcmd.h"
 #include "call-cmds.h"


Index: insight.spec
===================================================================
RCS file: /cvs/pkgs/rpms/insight/devel/insight.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- insight.spec	13 Jan 2010 16:26:14 -0000	1.7
+++ insight.spec	13 Jan 2010 20:23:57 -0000	1.8
@@ -2,7 +2,7 @@
 
 Name:		insight
 Version:	%(echo %{ver} | tr - .)
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Graphical debugger based on GDB
 License:	GPLv3+
 Group:		Development/Debuggers
@@ -25,6 +25,7 @@ Patch12:	insight-6.8-gcc44.patch
 Patch13:	insight-6.8-doubleinstall.patch
 Patch14:	insight-6.8-readline6.patch
 Patch15:	insight-6.8.1-baseclassfield.patch
+Patch16:	insight-6.8.1-sbrk.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 Requires:	iwidgets
 BuildRequires:	tcl-devel
@@ -67,6 +68,7 @@ GDB version 6.x.
 %patch13 -p1 -b .doubleinstall
 %patch14 -p1 -b .readline6
 %patch15 -p1 -b .baseclassfield
+%patch16 -p1 -b .sbrk
 
 
 #-------------------------------------------------------------------------------
@@ -222,6 +224,9 @@ rm -rf "${RPM_BUILD_ROOT}"
 %changelog
 #-------------------------------------------------------------------------------
 
+* Wed Jan 13 2010 Patrick Monnerat <pm at datasphere.ch> 6.8.1-2
+- Patch "sbrk" to enable sbrk() prototype on F13.
+
 * Wed Jan 13 2010 Patrick Monnerat <pm at datasphere.ch> 6.8.1-1
 - New version.
 - Patch "baseclassfield" to fix bug BZ 551126.



More information about the scm-commits mailing list