rpms/newt-perl/devel newt-perl-1.08-xs.patch, 1.1, 1.2 newt-perl.spec, 1.10, 1.11

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Nov 15 16:23:11 UTC 2006


Author: jorton

Update of /cvs/dist/rpms/newt-perl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18931

Modified Files:
	newt-perl-1.08-xs.patch newt-perl.spec 
Log Message:
* Wed Nov 15 2006 Joe Orton <jorton at redhat.com> 1.08-10
- fix compiler warnings (#155977)


newt-perl-1.08-xs.patch:
 Newt.xs |   86 ++++++++++++++++++++++++++--------------------------------------
 1 files changed, 36 insertions(+), 50 deletions(-)

Index: newt-perl-1.08-xs.patch
===================================================================
RCS file: /cvs/dist/rpms/newt-perl/devel/newt-perl-1.08-xs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- newt-perl-1.08-xs.patch	9 Sep 2004 09:14:04 -0000	1.1
+++ newt-perl-1.08-xs.patch	15 Nov 2006 16:23:09 -0000	1.2
@@ -1,6 +1,34 @@
---- Newt-1.08/Newt.xs.xs	Fri Jun 15 13:39:37 2001
-+++ Newt-1.08/Newt.xs	Fri Jun 15 13:40:17 2001
-@@ -700,10 +700,6 @@
+--- Newt-1.08/Newt.xs.exes	2006-11-15 16:18:19.000000000 +0000
++++ Newt-1.08/Newt.xs	2006-11-15 16:20:20.000000000 +0000
+@@ -64,14 +64,6 @@
+ 		perl_call_sv(perl_suspend_cb, G_DISCARD | G_NOARGS);	
+ }
+ 
+-static int
+-not_here(s)
+-char *s;
+-{
+-    croak("%s not implemented on this architecture", s);
+-    return -1;
+-}
+-
+ static double
+ constant(name, arg)
+ char *name;
+@@ -94,12 +86,6 @@
+     case 'G':
+ 	break;
+     case 'H':
+-	if (strEQ(name, "H_NEWT"))
+-#ifdef H_NEWT
+-	    return H_NEWT;
+-#else
+-	    goto not_there;
+-#endif
+ 	break;
+     case 'I':
+ 	break;
+@@ -706,10 +692,6 @@
  	int		arg
  
  
@@ -11,7 +39,7 @@
  int
  newtInit()
  
-@@ -714,10 +710,6 @@
+@@ -720,10 +702,6 @@
  newtCls()
  
  void
@@ -22,7 +50,7 @@
  newtWaitForKey()
  
  void
-@@ -851,11 +843,6 @@
+@@ -857,11 +835,6 @@
  newtRadioGetCurrent(setMember)
  	newtComponent	setMember
  
@@ -34,7 +62,7 @@
  newtComponent
  newtLabel(left, top, text)
  	int	left
-@@ -888,13 +875,11 @@
+@@ -894,13 +867,11 @@
  	int	height
  	int	flags
  
@@ -51,7 +79,7 @@
  
  void
  newtListboxSetCurrent(co, num)
-@@ -921,25 +906,48 @@
+@@ -927,25 +898,48 @@
  newtListboxSetData(co, num, data)
  	newtComponent	co
  	int	num
@@ -102,7 +130,7 @@
  
  
  void
-@@ -973,8 +981,8 @@
+@@ -979,8 +973,8 @@
  void
  newtListboxSelectItem(co, key, sense)
  	newtComponent	co
@@ -113,7 +141,7 @@
  
  newtComponent
  newtCheckboxTree(left, top, height, flags)
-@@ -1088,9 +1096,14 @@
+@@ -1094,9 +1088,14 @@
  newtFormSetSize(co)
  	newtComponent	co
  
@@ -129,7 +157,7 @@
  
  void
  newtFormSetBackground(co, color)
-@@ -1307,12 +1320,6 @@
+@@ -1313,12 +1312,6 @@
  	int	recurse
  
  newtGrid
@@ -142,17 +170,17 @@
  newtButtonBar(button1, b1comp, ...)
  	char *	button1
  	newtComponent *	b1comp
-@@ -1322,13 +1329,6 @@
- 	char *	title
+@@ -1329,13 +1322,6 @@
  	char *	buttonText
  	char *	text
--
+ 
 -void
 -newtWinMessagev(title, buttonText, text, argv)
 -	char *	title
 -	char *	buttonText
 -	char *	text
 -	va_list	argv
- 
+-
  int
  newtWinChoice(title, button1, button2, text, ...)
+ 	char *	title


Index: newt-perl.spec
===================================================================
RCS file: /cvs/dist/rpms/newt-perl/devel/newt-perl.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- newt-perl.spec	12 Jul 2006 07:27:52 -0000	1.10
+++ newt-perl.spec	15 Nov 2006 16:23:09 -0000	1.11
@@ -2,7 +2,7 @@
 Summary: Perl bindings for the Newt library
 Name: newt-perl
 Version: 1.08
-Release: 9.2.2
+Release: 10
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-buildroot
 Source: ftp://ftp.msg.com.mx/pub/Newt/Newt-1.08.tar.gz
@@ -60,6 +60,9 @@
 %doc ChangeLog README
 
 %changelog
+* Wed Nov 15 2006 Joe Orton <jorton at redhat.com> 1.08-10
+- fix compiler warnings (#155977)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 1.08-9.2.2
 - rebuild
 




More information about the fedora-cvs-commits mailing list