Group :: System/Libraries
RPM: libXaw3d
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: Xaw3d-1.5E-alt-compile.patch
Download
Download
--- libXaw3d-1.5/xc/lib/Xaw3d/Imakefile..altc 2003-03-08 17:55:18 +0300
+++ libXaw3d-1.5/xc/lib/Xaw3d/Imakefile 2006-02-04 17:58:07 +0300
@@ -22,7 +22,7 @@
#define IncSubSubdir Xaw3d
XCOMM When building outside an X11 source tree:
-XCOMM EXTRA_INCLUDES = -I.
+EXTRA_INCLUDES = -I.
#ifdef SharedXawReqs
REQUIREDLIBS = SharedXawReqs
--- libXaw3d-1.5/xc/lib/Xaw3d/List.c..altc 2000-11-27 16:19:36 +0300
+++ libXaw3d-1.5/xc/lib/Xaw3d/List.c 2006-02-04 17:58:07 +0300
@@ -38,6 +38,7 @@
#include "Xaw3dP.h"
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
--- libXaw3d-1.5/xc/lib/Xaw3d/MultiSink.c..altc 1996-10-15 18:41:20 +0400
+++ libXaw3d-1.5/xc/lib/Xaw3d/MultiSink.c 2006-02-04 17:58:07 +0300
@@ -81,6 +81,7 @@
#include <X11/Xaw3d/TextP.h>
#include "XawI18n.h"
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#ifdef GETLASTPOS
--- libXaw3d-1.5/xc/lib/Xaw3d/Text.c..altc 2006-02-04 17:57:15 +0300
+++ libXaw3d-1.5/xc/lib/Xaw3d/Text.c 2006-02-04 17:58:07 +0300
@@ -74,6 +74,7 @@
#include <X11/Xaw3d/ThreeDP.h>
#include <X11/Xfuncs.h>
#include <ctype.h> /* for isprint() */
+#include <stdlib.h> /* for abs() */
#include "XawAlloc.h"
--- libXaw3d-1.5/xc/lib/Xaw3d/XawI18n.h..altc 2006-02-04 17:57:15 +0300
+++ libXaw3d-1.5/xc/lib/Xaw3d/XawI18n.h 2006-02-04 17:58:07 +0300
@@ -38,6 +38,10 @@
#endif
#endif /* 0 */
+#ifndef X_NOT_STDC_ENV
+#include <stdlib.h>
+#endif
+
#ifdef HAS_WCHAR_H
#include <wchar.h>
#endif