rpms/gnome-utils/devel gcalctool-5.7.23-dummy-uses.patch, NONE, 1.1 gnome-utils.spec, 1.77, 1.78

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 17 14:33:54 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gnome-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv593

Modified Files:
	gnome-utils.spec 
Added Files:
	gcalctool-5.7.23-dummy-uses.patch 
Log Message:
fix errors


gcalctool-5.7.23-dummy-uses.patch:
 lex.ce.c |   11 -----------
 lex.lr.c |   11 -----------
 2 files changed, 22 deletions(-)

--- NEW FILE gcalctool-5.7.23-dummy-uses.patch ---
--- gnome-utils-2.13.5/gcalctool-5.7.23/gcalctool/lex.lr.c.dummy-uses	2006-01-17 09:25:36.000000000 -0500
+++ gnome-utils-2.13.5/gcalctool-5.7.23/gcalctool/lex.lr.c	2006-01-17 09:25:46.000000000 -0500
@@ -1845,17 +1845,6 @@
 	}
 #endif
 
-/* Some people want warning-free code, and under certain #define
-   conditions, gcc will warn for unusedness of some functions.  This
-   function is provided merely to silent these warnings.  It's not
-   static itself, so it will clutter exports, but it has at least
-   urandom name so that clashes won't occur.*/
-void _yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_()
-{
-  yy_flex_realloc ((void*)0, 0);
-}
-#line 110 "./lr_tokeniser.l"
-
 
 void
 reset_lr_tokeniser()
--- gnome-utils-2.13.5/gcalctool-5.7.23/gcalctool/lex.ce.c.dummy-uses	2006-01-17 09:08:41.000000000 -0500
+++ gnome-utils-2.13.5/gcalctool-5.7.23/gcalctool/lex.ce.c	2006-01-17 09:08:54.000000000 -0500
@@ -1878,17 +1878,6 @@
 	}
 #endif
 
-/* Some people want warning-free code, and under certain #define
-   conditions, gcc will warn for unusedness of some functions.  This
-   function is provided merely to silent these warnings.  It's not
-   static itself, so it will clutter exports, but it has at least
-   urandom name so that clashes won't occur.*/
-void _yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_()
-{
-  yy_flex_realloc ((void*)0, 0);
-}
-#line 116 "./ce_tokeniser.l"
-
 
 void
 reset_ce_tokeniser()


Index: gnome-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-utils/devel/gnome-utils.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- gnome-utils.spec	17 Jan 2006 04:55:53 -0000	1.77
+++ gnome-utils.spec	17 Jan 2006 14:33:49 -0000	1.78
@@ -84,6 +84,7 @@
 
 pushd gcalctool-%{gcalctool_version}
 %patch0 -p2 -b .schemasdir
+%patch1 -p2 -b .dummy-uses
 popd
 
 %build




More information about the fedora-cvs-commits mailing list