How to build xloadimage 4.1 on Yellow Dog Linux 4.1
---------------------------------------------------


1) Download source tarball from:



2) untar and cd to resulting directory

3) apply enclosed diff file

4) make

5) accept all defaults EXCEPT:

- when asked for the default C compiler, type: gcc -ansi

- when asked for installation directory, type: /usr/X11R6/bin

6) sudo make install




---------- BEGIN DIFF FILE ----------

diff --unified -Nr xloadimage.4.1/config.c xloadimage.4.1-YDL/config.c
--- xloadimage.4.1/config.c 1993-10-28 17:37:46.000000000 +0100
+++ xloadimage.4.1-YDL/config.c 2006-10-08 14:21:07.000000000 +0200
@@ -13,6 +13,9 @@
#include "xloadimage.h"
#include
#include
+#define S_IFMT 00170000
+#define S_IFDIR 0040000
+
#ifndef VMS
#include
#endif
diff --unified -Nr xloadimage.4.1/img.c xloadimage.4.1-YDL/img.c
--- xloadimage.4.1/img.c 1993-10-28 17:18:15.000000000 +0100
+++ xloadimage.4.1-YDL/img.c 2006-10-08 14:26:39.000000000 +0200
@@ -14,6 +14,7 @@
#include
#include
#include
+#include
#include "image.h"

extern int errno;
diff --unified -Nr xloadimage.4.1/rlelib.c xloadimage.4.1-YDL/rlelib.c
--- xloadimage.4.1/rlelib.c 1993-10-21 22:28:41.000000000 +0100
+++ xloadimage.4.1-YDL/rlelib.c 2006-10-08 13:55:36.000000000 +0200
@@ -12,8 +12,9 @@

#include
#include
-#include
+#include
#include
+#include

#include "image.h" /* need ZFILE definition */
#include "rle.h"

---------- END DIFF FILE ----------


--
Jazzman * jazz.man@ *
~~~~~~~ * tiscali.it *