File null-pointer.patch of Package xiterm

diff -ru iterm.orig/unix/fbiterm/include/bdfint.h iterm/unix/fbiterm/include/bdfint.h
--- iterm.orig/unix/fbiterm/include/bdfint.h	2002-08-13 09:10:45.000000000 +0200
+++ iterm/unix/fbiterm/include/bdfint.h	2003-09-24 16:16:49.000000000 +0200
@@ -32,7 +32,7 @@
 #define	bdfStrEqual(s1,s2)	(!strcmp(s1,s2))
 
 #define	BDF_GENPROPS	6
-#define NullProperty	((FontPropPtr)0)
+#define NullProperty	((FontPropPtr) NULL)
 
 /*
  * This structure holds some properties we need to generate if they aren't
diff -ru iterm.orig/unix/fbiterm/include/fntfil.h iterm/unix/fbiterm/include/fntfil.h
--- iterm.orig/unix/fbiterm/include/fntfil.h	2002-08-13 09:10:45.000000000 +0200
+++ iterm/unix/fbiterm/include/fntfil.h	2003-09-24 16:15:25.000000000 +0200
@@ -42,18 +42,18 @@
 typedef struct _FontDirectory	    *FontDirectoryPtr;
 typedef struct _FontRenderer	    *FontRendererPtr;
 
-#define NullFontEntry		    ((FontEntryPtr) 0)
-#define NullFontTable		    ((FontTablePtr) 0)
-#define NullFontName		    ((FontNamePtr) 0)
-#define NullFontScaled		    ((FontScaled) 0)
-#define NullFontScalableExtra	    ((FontScalableExtra) 0)
-#define NullFontscalableEntry	    ((FontScalableEntry) 0)
-#define NullFontScaleAliasEntry	    ((FontScaleAliasEntry) 0)
-#define NullFontBitmapEntry	    ((FontBitmapEntry) 0)
-#define NullFontAliasEntry	    ((FontAliasEntry) 0)
-#define NullFontBCEntry		    ((FontBCEntry) 0)
-#define NullFontDirectory	    ((FontDirectoryPtr) 0)
-#define NullFontRenderer	    ((FontRendererPtr) 0)
+#define NullFontEntry		    ((FontEntryPtr) NULL)
+#define NullFontTable		    ((FontTablePtr) NULL)
+#define NullFontName		    ((FontNamePtr) NULL)
+#define NullFontScaled		    ((FontScaledPtr) NULL)
+#define NullFontScalableExtra	    ((FontScalableExtraPtr) NULL)
+#define NullFontscalableEntry	    ((FontScalableEntryPtr) NULL)
+#define NullFontScaleAliasEntry	    ((FontScaleAliasEntryPtr) NULL)
+#define NullFontBitmapEntry	    ((FontBitmapEntryPtr) NULL)
+#define NullFontAliasEntry	    ((FontAliasEntryPtr) NULL)
+#define NullFontBCEntry		    ((FontBCEntryPtr) NULL)
+#define NullFontDirectory	    ((FontDirectoryPtr) NULL)
+#define NullFontRenderer	    ((FontRendererPtr) NULL)
 
 #define FONT_ENTRY_SCALABLE	0
 #define FONT_ENTRY_SCALE_ALIAS	1
diff -ru iterm.orig/unix/fbiterm/include/font.h iterm/unix/fbiterm/include/font.h
--- iterm.orig/unix/fbiterm/include/font.h	2002-08-13 09:10:45.000000000 +0200
+++ iterm/unix/fbiterm/include/font.h	2003-09-24 16:17:19.000000000 +0200
@@ -50,9 +50,9 @@
 typedef struct _FontNames *FontNamesPtr;
 typedef struct _FontResolution *FontResolutionPtr;
 
-#define NullCharInfo	((CharInfoPtr) 0)
-#define NullFont	((FontPtr) 0)
-#define NullFontInfo	((FontInfoPtr) 0)
+#define NullCharInfo	((CharInfoPtr) NULL)
+#define NullFont	((FontPtr) NULL)
+#define NullFontInfo	((FontInfoPtr) NULL)
 
  /* draw direction */
 #define LeftToRight 0