Index: NEWS
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/NEWS,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- NEWS	2002/02/01 20:29:42	1.3
+++ NEWS	2002/05/14 19:40:48	1.4
@@ -1,3 +1,7 @@
+version 0.3.1:
+- a few compilation fixes for various distros (RH 7.1, slackware 8.0,
+  SuSE 7.3) by me and Kees Jongenburger
+
 version 0.3.0:
 
 - the fast file copier (cbmcopy/cbmread/cbmwrite) for 1541/1570/1571/1581
Index: cbm4linux.spec
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/cbm4linux.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cbm4linux.spec	2002/04/05 19:57:52	1.10
+++ cbm4linux.spec	2002/05/14 19:28:57	1.11
@@ -1,5 +1,5 @@
 %define name cbm4linux
-%define ver 0.3.0
+%define ver 0.3.1
 Summary: CBM4Linux kernel module, runtime libraries and utilities
 Name: %{name}
 Version: %{ver}
Index: config.make
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/config.make,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- config.make	2002/02/01 20:31:28	1.15
+++ config.make	2002/05/14 18:44:35	1.16
@@ -1,4 +1,4 @@
-# $Id: config.make,v 1.15 2002/02/01 20:31:28 michael Exp $
+# $Id: config.make,v 1.16 2002/05/14 18:44:35 michael Exp $
 #
 # choose your crossassembler (if you have one).
 # mandatory if you want to hack any of the 6502 sources.
@@ -61,7 +61,7 @@
 #
 MAJ = 0
 MIN = 3
-REL = 0
+REL = 1
 
 
 #
Index: cbmcopy/main.c
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/cbmcopy/main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cbmcopy/main.c	2002/03/17 19:08:15	1.11
+++ cbmcopy/main.c	2002/05/01 13:18:27	1.12
@@ -9,7 +9,7 @@
 
 #ifdef SAVE_RCSID
 static char *rcsid =
-    "@(#) $Id: main.c,v 1.11 2002/03/17 19:08:15 michael Exp $";
+    "@(#) $Id: main.c,v 1.12 2002/05/01 13:18:27 michael Exp $";
 #endif
 
 #include <ctype.h>
@@ -50,7 +50,7 @@
         fprintf(stderr, "[%s] ", severities[severity]);
         va_start(args, format);
         vfprintf(stderr, format, args);
-        va_end(srgs);
+        va_end(args);
         fprintf(stderr, "\n");
     }
 }
Index: cbmctrl/Makefile
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/cbmctrl/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cbmctrl/Makefile	2001/12/15 16:52:13	1.2
+++ cbmctrl/Makefile	2002/05/14 19:47:09	1.3
@@ -1,16 +1,17 @@
-# $Id: Makefile,v 1.2 2001/12/15 16:52:13 michael Exp $
+# $Id: Makefile,v 1.3 2002/05/14 19:47:09 michael Exp $
 
 include ../config.make
 
 .PHONY: all mrproper clean install uninstall
 
 PROGS   = cbmctrl
+OBJS    = cbmctrl.o
 MAN1    = cbmctrl.1
 
 all: $(PROGS)
 
 clean:
-	rm -f $(PROGS)
+	rm -f $(PROGS) $(OBJS)
 
 mrproper: clean
 
@@ -22,5 +23,5 @@
 	for f in $(PROGS); do rm -f $(BINDIR)/$$f; done
 	for f in $(MAN1); do rm -f $(MANDIR)/$$f{,.gz}; done
 
-cbmctrl: cbmctrl.o
+cbmctrl: $(OBJS)
 	$(CC) $(CFLAGS) $< -o $@ $(LINK_FLAGS)
Index: d64copy/main.c
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/d64copy/main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- d64copy/main.c	2001/11/01 16:37:42	1.12
+++ d64copy/main.c	2002/05/01 13:18:19	1.13
@@ -9,7 +9,7 @@
 
 #ifdef SAVE_RCSID
 static char *rcsid =
-    "@(#) $Id: main.c,v 1.12 2001/11/01 16:37:42 michael Exp $";
+    "@(#) $Id: main.c,v 1.13 2002/05/01 13:18:19 michael Exp $";
 #endif
 
 #include "../include/opencbm.h"
@@ -142,7 +142,7 @@
         fprintf(stderr, "[%s] ", severities[severity]);
         va_start(args, format);
         vfprintf(stderr, format, args);
-        va_end(srgs);
+        va_end(args);
         fprintf(stderr, "\n");
     }
 }
Index: kernel/cbm_module.c
===================================================================
RCS file: /home/michael/.cvsroot/cbm4linux/kernel/cbm_module.c,v
retrieving revision 1.17
retrieving revision 1.19
diff -u -r1.17 -r1.19
--- kernel/cbm_module.c	2002/04/18 18:16:32	1.17
+++ kernel/cbm_module.c	2002/05/01 13:24:40	1.19
@@ -10,7 +10,7 @@
 
 #ifdef SAVE_RCSID
 static char *rcsid =
-    "@(#) $Id: cbm_module.c,v 1.17 2002/04/18 18:16:32 michael Exp $";
+    "@(#) $Id: cbm_module.c,v 1.19 2002/05/01 13:24:40 michael Exp $";
 #endif
 
 #include <linux/config.h>
@@ -30,6 +30,7 @@
 
 #ifndef DIRECT_PORT_ACCESS
 # include <linux/parport.h>
+# include <linux/parport_pc.h>
 #endif
 
 #include <linux/delay.h>
@@ -76,6 +77,7 @@
 
 MODULE_AUTHOR("Michael Klein");
 MODULE_DESCRIPTION("Serial CBM bus driver module");
+MODULE_LICENSE("GPL");
 #endif  /* KERNEL_VERSION */
 
 #define NAME      "cbm"
