File xkeycaps-2.46-Imake.patch of Package xkeycaps

--- Imakefile.orig	2007-10-04 19:50:50.000000000 +0000
+++ Imakefile	2007-10-04 19:52:59.000000000 +0000
@@ -1,6 +1,6 @@
-/**/# Imakefile for xkeycaps;
-/**/# Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski.
-
+XCOMM Imakefile for xkeycaps;
+XCOMM Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski.
+ 
 /*
  *  To specify a different default keyboard (for when the vendor display
  *  string isn't recognised) do something like this:
@@ -37,27 +37,6 @@
     SYSDEP_OBJS = $(CURRENT_DIR)/sunOS.o
 #endif
 
-#ifdef HPArchitecture
-    SYSDEP_OBJS = $(CURRENT_DIR)/hpux.o
-
-   /* This nonsense seems to be necessary to get the passwd struct on all HP
-    * systems.  HP can't seem to make up their mind what preprocessor directive
-    * they want to use to tell their header files that they are being compiled
-    * on an HP.  Don't ask me to explain why these aren't the default...
-    * On some systems, -Ae defines all of these, but I don't believe that is
-    * (has been?) the case on all systems.
-    *
-    * Also, apparently "HPkeysyms.h" comes with HP's R5, but not MIT's R6, so
-    * we need to add the HP R5 directory to the end of the include path as 
-    * well.
-    */
-     HP_LOSSAGE = -D_HPUX_SOURCE -DHPUX -Dhpux -D__hpux -Dunix $(HP_LOSSAGE_2)\
-		  -I/usr/contrib/X11R6/include -I/usr/include/X11R5
-# if !HasGcc2
-     HP_LOSSAGE_2 = -Aa -Ae 
-# endif
-#endif
-
 #ifdef SGIArchitecture
 # ifndef HasGcc
    /* This will cause the keyboard template data to go into a read-only
@@ -353,8 +332,8 @@
             TAR = tar
        COMPRESS = compress
    COMPRESS_EXT = Z
-/**/#      COMPRESS = gzip --verbose --best
-/**/#  COMPRESS_EXT = gz
+XCOMM   COMPRESS = gzip --verbose --best
+XCOMM   COMPRESS_EXT = gz
 
 ComplexProgramTarget(xkeycaps)