summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lcd4linux/files/lcd4linux-0.10.0-gcc4-compat.patch')
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.0-gcc4-compat.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.0-gcc4-compat.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.0-gcc4-compat.patch
deleted file mode 100644
index 3e66979..0000000
--- a/app-misc/lcd4linux/files/lcd4linux-0.10.0-gcc4-compat.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-GCC4 fixes, see bug #147388.
-Patch from upstream SVN
-
---- /trunk/drv_SimpleLCD.c (revision 547)
-+++ /trunk/drv_SimpleLCD.c (revision 581)
-@@ -1,3 +1,3 @@
--/* $Id: drv_SimpleLCD.c,v 1.4 2005/05/08 04:32:44 reinelt Exp $
-+/* $Id: drv_SimpleLCD.c,v 1.5 2005/07/06 04:40:18 reinelt Exp $
- *
- * driver for a simple serial terminal.
-@@ -23,4 +23,7 @@
- *
- * $Log: drv_SimpleLCD.c,v $
-+ * Revision 1.5 2005/07/06 04:40:18 reinelt
-+ * GCC-4 fixes
-+ *
- * Revision 1.4 2005/05/08 04:32:44 reinelt
- * CodingStyle added and applied
-@@ -199,4 +202,5 @@
- {
- int rows = -1, cols = -1;
-+ int value;
- unsigned int flags = 0;
- char *s;
-@@ -210,7 +214,8 @@
- }
-
-- cfg_number(section, "BarCharValue", 0, 0, 255, &flags);
-- bar_char = flags;
-- cfg_number(section, "Options", 0, 0, 0xffff, &flags);
-+ cfg_number(section, "BarCharValue", 0, 0, 255, &value);
-+ bar_char = value;
-+ cfg_number(section, "Options", 0, 0, 0xffff, &value);
-+ flags = value;
- if (drv_generic_serial_open(section, Name, flags) < 0)
- return -1;
-Index: /trunk/lcd4linux_i2c.h
-===================================================================
---- /trunk/lcd4linux_i2c.h (revision 562)
-+++ /trunk/lcd4linux_i2c.h (revision 581)
-@@ -1,3 +1,3 @@
--/* $Id: lcd4linux_i2c.h,v 1.2 2005/06/01 12:09:13 reinelt Exp $
-+/* $Id: lcd4linux_i2c.h,v 1.3 2005/07/06 04:40:18 reinelt Exp $
- *
- * user space i2c sturctures and defines, taken from the official kernel i2c
-@@ -33,4 +33,7 @@
- *
- * $Log: lcd4linux_i2c.h,v $
-+ * Revision 1.3 2005/07/06 04:40:18 reinelt
-+ * GCC-4 fixes
-+ *
- * Revision 1.2 2005/06/01 12:09:13 reinelt
- * removed ^M from lcd4linux_i2c.h; indent.sh run
-@@ -79,5 +82,5 @@
- /* Transfer num messages.
- */
--extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num);
-+extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msg, int num);
-
- /*