rpms/Xaw3d/devel Xaw3d-1.5E-warnings.patch, NONE, 1.1 Xaw3d.spec, 1.35, 1.36
Hans de Goede
jwrdegoede at fedoraproject.org
Sun Mar 15 19:33:08 UTC 2009
- Previous message (by thread): rpms/sj-fonts/devel import.log,1.1,1.2 sj-fonts.spec,1.3,1.4
- Next message (by thread): rpms/xfig/devel xfig-3.2.5-crash-on-char-from-charmap.patch, NONE, 1.1 xfig-3.2.5-debian.patch, NONE, 1.1 xfig.spec, 1.57, 1.58 xfig-3.2.5-modepanel.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwrdegoede
Update of /cvs/extras/rpms/Xaw3d/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29008
Modified Files:
Xaw3d.spec
Added Files:
Xaw3d-1.5E-warnings.patch
Log Message:
* Sun Mar 15 2009 Hans de Goede <hdegoede at redhat.com> 1.5E-14
- Fix a bunch of (potentially harmfull) compiler warnings
Xaw3d-1.5E-warnings.patch:
--- NEW FILE Xaw3d-1.5E-warnings.patch ---
--- Xaw3d-1.5E/xc/lib/Xaw3d/MultiSrc.c 2009-03-15 17:04:35.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/MultiSrc.c 2009-03-15 14:22:05.000000000 +0100
@@ -77,6 +77,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <wchar.h>
/****************************************************************
*
--- Xaw3d-1.5E/xc/lib/Xaw3d/Panner.c 2000-11-27 14:19:24.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/Panner.c 2009-03-15 13:50:40.000000000 +0100
@@ -36,7 +36,7 @@
#include <X11/Xmu/Misc.h> /* for Min */
#include <X11/Xmu/Drawing.h>
#include <ctype.h> /* for isascii() etc. */
-#include <math.h> /* for atof() */
+#include <stdlib.h> /* for atof() */
extern Bool XmuDistinguishablePixels(); /* not defined in any Xmu headers */
--- Xaw3d-1.5E/xc/lib/Xaw3d/Text.c 2009-03-15 17:04:35.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/Text.c 2009-03-15 13:54:10.000000000 +0100
@@ -75,6 +75,7 @@
#include <X11/Xfuncs.h>
#include <ctype.h> /* for isprint() */
#include <stdlib.h>
+#include <wchar.h>
#include "XawAlloc.h"
--- Xaw3d-1.5E/xc/lib/Xaw3d/TextAction.c 2000-11-27 14:19:36.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/TextAction.c 2009-03-15 14:19:27.000000000 +0100
@@ -45,7 +45,9 @@
#include "XawI18n.h"
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
+#include <wchar.h>
#define SrcScan XawTextSourceScan
#define FindDist XawTextSinkFindDistance
--- Xaw3d-1.5E/xc/lib/Xaw3d/TextPop.c 2009-03-15 17:04:35.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/TextPop.c 2009-03-15 14:19:44.000000000 +0100
@@ -65,6 +65,7 @@
#include <stdio.h>
#include <X11/Xos.h> /* for O_RDONLY */
#include <errno.h>
+#include <wchar.h>
#include "XawAlloc.h"
--- Xaw3d-1.5E/xc/lib/Xaw3d/TextSrc.c 2000-11-27 14:19:36.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/TextSrc.c 2009-03-15 14:19:13.000000000 +0100
@@ -49,6 +49,7 @@
#endif
#include <stdio.h>
#include <ctype.h>
+#include <wchar.h>
/****************************************************************
*
--- Xaw3d-1.5E/xc/lib/Xaw3d/ThreeD.c 2003-02-11 12:41:56.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/ThreeD.c 2009-03-15 14:21:20.000000000 +0100
@@ -39,6 +39,7 @@
#include <X11/Xaw3d/XawInit.h>
#include <X11/Xaw3d/ThreeDP.h>
#include <X11/Xosdefs.h>
+#include <X11/Xmu/CharSet.h>
/* Initialization of defaults */
--- Xaw3d-1.5E/xc/lib/Xaw3d/Tip.c 2003-03-09 01:31:49.000000000 +0100
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/Tip.c 2009-03-15 14:21:36.000000000 +0100
@@ -41,6 +41,7 @@
#include <X11/Xmu/Converters.h>
#include <X11/Xaw3d/TipP.h>
#include <X11/Xaw3d/XawInit.h>
+#include <stdlib.h>
#define TIP_EVENT_MASK (ButtonPressMask | \
ButtonReleaseMask | \
--- Xaw3d-1.5E/xc/lib/Xaw3d/XawI18n.c 1996-10-15 16:41:25.000000000 +0200
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/XawI18n.c 2009-03-15 14:23:11.000000000 +0100
@@ -55,6 +55,7 @@
*/
+#include <stdlib.h>
#include <X11/IntrinsicP.h>
#include "XawI18n.h"
--- Xaw3d-1.5E/xc/lib/Xaw3d/XawIm.c 1998-04-21 15:42:02.000000000 +0200
+++ Xaw3d-1.5E.new/xc/lib/Xaw3d/XawIm.c 2009-03-15 14:22:41.000000000 +0100
@@ -59,6 +59,7 @@
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <X11/ShellP.h>
+#include <X11/ResourceI.h>
#include <X11/Xaw3d/TextP.h>
#include <X11/Xaw3d/MultiSrc.h>
#include <X11/Xaw3d/MultiSinkP.h>
diff -up Xaw3d-1.5E/xc/lib/Xaw3d/XawI18n.h~ Xaw3d-1.5E/xc/lib/Xaw3d/XawI18n.h
--- Xaw3d-1.5E/xc/lib/Xaw3d/XawI18n.h~ 1996-10-15 16:41:26.000000000 +0200
+++ Xaw3d-1.5E/xc/lib/Xaw3d/XawI18n.h 2009-03-15 17:18:04.000000000 +0100
@@ -72,7 +72,4 @@ extern wchar_t _Xaw_atowc (
#ifndef HAS_ISW_FUNCS
#include <ctype.h>
-#ifndef iswspace
-#define iswspace(c) (isascii(c) && isspace(toascii(c)))
-#endif
#endif
Index: Xaw3d.spec
===================================================================
RCS file: /cvs/extras/rpms/Xaw3d/devel/Xaw3d.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- Xaw3d.spec 23 Feb 2009 23:46:44 -0000 1.35
+++ Xaw3d.spec 15 Mar 2009 19:32:38 -0000 1.36
@@ -1,7 +1,7 @@
Summary: A version of the MIT Athena widget set for X
Name: Xaw3d
Version: 1.5E
-Release: 13%{?dist}
+Release: 14%{?dist}
Group: System Environment/Libraries
Source: ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-%{version}.tar.gz
Patch: Xaw3d-1.5E-xorg-imake.patch
@@ -10,6 +10,7 @@
Patch3: Xaw3d-1.5-i18n.patch
Patch4: Xaw3d-1.5-box.c.patch
Patch5: Xaw3d-1.5-debian-fixes.patch
+Patch6: Xaw3d-1.5E-warnings.patch
License: MIT
URL: http://directory.fsf.org/project/xaw3d/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -69,6 +70,7 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
@@ -104,6 +106,9 @@
%{_includedir}/X11/Xaw3d
%changelog
+* Sun Mar 15 2009 Hans de Goede <hdegoede at redhat.com> 1.5E-14
+- Fix a bunch of (potentially harmfull) compiler warnings
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5E-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/sj-fonts/devel import.log,1.1,1.2 sj-fonts.spec,1.3,1.4
- Next message (by thread): rpms/xfig/devel xfig-3.2.5-crash-on-char-from-charmap.patch, NONE, 1.1 xfig-3.2.5-debian.patch, NONE, 1.1 xfig.spec, 1.57, 1.58 xfig-3.2.5-modepanel.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list