Update of /cvsroot/linuxconsole/ruby/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18433
Modified Files:
Makefile acceltest.c fftest.c jscal.c jstest.c
Log Message:
Compilation fixes, disabled acceltest, because it uses
framebuffer operations that aren't available anymore.
Index: Makefile
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile 16 Oct 2001 21:05:57 -0000 1.11
+++ Makefile 19 Oct 2004 07:51:52 -0000 1.12
@@ -33,7 +33,7 @@
CFLAGS = -g -O2 -Wall -I../linux/include
PROGRAMS = evtest inputattach jstest jscal fftest ffmvforce ffset \
- ffcfstress acceltest
+ ffcfstress # acceltest
compile: $(PROGRAMS)
Index: acceltest.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/acceltest.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- acceltest.c 3 Oct 2001 08:49:58 -0000 1.10
+++ acceltest.c 19 Oct 2004 07:51:52 -0000 1.11
@@ -120,8 +120,8 @@
exit(1);
}
fprintf(stderr, "Filling rect with color 0x%x\n", color);
- fbfr.x1 = sx;
- fbfr.y1 = sy;
+ fbfr.dx = sx;
+ fbfr.dy = sy;
fbfr.width = wi;
fbfr.height = he;
fbfr.color = color;
Index: fftest.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/fftest.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- fftest.c 3 May 2002 18:47:12 -0000 1.20
+++ fftest.c 19 Oct 2004 07:51:52 -0000 1.21
@@ -29,6 +29,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <linux/input.h>
Index: jscal.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/jscal.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- jscal.c 25 Sep 2001 09:37:57 -0000 1.4
+++ jscal.c 19 Oct 2004 07:51:52 -0000 1.5
@@ -39,6 +39,7 @@
#include <getopt.h>
#include <string.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <asm/param.h>
#include <linux/joystick.h>
Index: jstest.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/jstest.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- jstest.c 27 Jan 2004 20:15:59 -0000 1.6
+++ jstest.c 19 Oct 2004 07:51:52 -0000 1.7
@@ -43,6 +43,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#include <linux/joystick.h>
|