]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2002-12-05 19:09:57 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 5 Dec 2002 19:09:57 +0000 (19:09 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 5 Dec 2002 19:09:57 +0000 (19:09 +0000)
patches for gcc-3.2

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@171 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

Makefile.am
Makefile.in
configure
configure.in
display.c
socket.c

index 2e55ca4ff2f1ce1c7e41e0fb3dcb861ccc50f011..58471208837aa69e8619ab474043074ccf056097 100644 (file)
@@ -59,6 +59,7 @@ CREDITS \
 FAQ \
 NEWS \
 TODO \
+README \
 README.Drivers \
 README.MatrixOrbital \
 README.HD44780 \
index 1f11aadebae93858b6db952edd0b369985ed5467..139c7de65c7ddb550bf351e1431ac99ea22ae806 100644 (file)
@@ -84,7 +84,7 @@ lcd4linux_SOURCES =  lcd4linux.c debug.c debug.h cfg.c cfg.h lock.c lock.h parse
 EXTRA_lcd4linux_SOURCES =  acconfig.h BeckmannEgle.c Crystalfontz.c Crystalfontz.h Cwlinux.c HD44780.c M50530.c T6963.c USBLCD.c MatrixOrbital.c PalmPilot.c Raster.c SIN.c Skeleton.c XWindow.c Text.c
 
 
-EXTRA_DIST =  lcd4linux.conf.sample lcd4kde.conf lcd4linux.kdelnk lcd4linux.xpm lcd4linux.lsm CREDITS FAQ NEWS TODO README.Drivers README.MatrixOrbital README.HD44780 README.HD44780.GPO README.Crystalfontz README.X11 README.KDE README.Raster README.Png README.Webinterface README.Text
+EXTRA_DIST =  lcd4linux.conf.sample lcd4kde.conf lcd4linux.kdelnk lcd4linux.xpm lcd4linux.lsm CREDITS FAQ NEWS TODO README README.Drivers README.MatrixOrbital README.HD44780 README.HD44780.GPO README.Crystalfontz README.X11 README.KDE README.Raster README.Png README.Webinterface README.Text
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
index aa5f73f943140c7b99a4655937a073602547a2d3..e3d86523482e1b3c443b61d6ea141ed529b707cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -5480,6 +5480,7 @@ fi
 done
 
 ac_config_files="$ac_config_files Makefile"
+
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -5559,7 +5560,7 @@ DEFS=-DHAVE_CONFIG_H
 : ${CONFIG_STATUS=./config.status}
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:5562: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:5563: creating $CONFIG_STATUS" >&5
 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 cat >$CONFIG_STATUS <<_ACEOF
 #! $SHELL
@@ -5735,7 +5736,7 @@ cat >>$CONFIG_STATUS <<\EOF
     echo "$ac_cs_version"; exit 0 ;;
   --he | --h)
     # Conflict between --help and --header
-    { { echo "$as_me:5738: error: ambiguous option: $1
+    { { echo "$as_me:5739: error: ambiguous option: $1
 Try \`$0 --help' for more information." >&5
 echo "$as_me: error: ambiguous option: $1
 Try \`$0 --help' for more information." >&2;}
@@ -5754,7 +5755,7 @@ Try \`$0 --help' for more information." >&2;}
     ac_need_defaults=false;;
 
   # This is an error.
-  -*) { { echo "$as_me:5757: error: unrecognized option: $1
+  -*) { { echo "$as_me:5758: error: unrecognized option: $1
 Try \`$0 --help' for more information." >&5
 echo "$as_me: error: unrecognized option: $1
 Try \`$0 --help' for more information." >&2;}
@@ -5799,7 +5800,7 @@ do
   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
-  *) { { echo "$as_me:5802: error: invalid argument: $ac_config_target" >&5
+  *) { { echo "$as_me:5803: error: invalid argument: $ac_config_target" >&5
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    { (exit 1); exit 1; }; };;
   esac
@@ -6025,7 +6026,7 @@ done; }
   esac
 
   if test x"$ac_file" != x-; then
-    { echo "$as_me:6028: creating $ac_file" >&5
+    { echo "$as_me:6029: creating $ac_file" >&5
 echo "$as_me: creating $ac_file" >&6;}
     rm -f "$ac_file"
   fi
@@ -6043,7 +6044,7 @@ echo "$as_me: creating $ac_file" >&6;}
       -) echo $tmp/stdin ;;
       [\\/$]*)
          # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:6046: error: cannot find input file: $f" >&5
+         test -f "$f" || { { echo "$as_me:6047: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          echo $f;;
@@ -6056,7 +6057,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
            echo $srcdir/$f
          else
            # /dev/null tree
-           { { echo "$as_me:6059: error: cannot find input file: $f" >&5
+           { { echo "$as_me:6060: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          fi;;
@@ -6117,7 +6118,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   * )   ac_file_in=$ac_file.in ;;
   esac
 
-  test x"$ac_file" != x- && { echo "$as_me:6120: creating $ac_file" >&5
+  test x"$ac_file" != x- && { echo "$as_me:6121: creating $ac_file" >&5
 echo "$as_me: creating $ac_file" >&6;}
 
   # First look for the input files in the build tree, otherwise in the
@@ -6128,7 +6129,7 @@ echo "$as_me: creating $ac_file" >&6;}
       -) echo $tmp/stdin ;;
       [\\/$]*)
          # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:6131: error: cannot find input file: $f" >&5
+         test -f "$f" || { { echo "$as_me:6132: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          echo $f;;
@@ -6141,7 +6142,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
            echo $srcdir/$f
          else
            # /dev/null tree
-           { { echo "$as_me:6144: error: cannot find input file: $f" >&5
+           { { echo "$as_me:6145: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          fi;;
@@ -6258,7 +6259,7 @@ cat >>$CONFIG_STATUS <<\EOF
   rm -f $tmp/in
   if test x"$ac_file" != x-; then
     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
-      { echo "$as_me:6261: $ac_file is unchanged" >&5
+      { echo "$as_me:6262: $ac_file is unchanged" >&5
 echo "$as_me: $ac_file is unchanged" >&6;}
     else
       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
index 619ace06f29629cef6930228c6a1b4b5cec9cdfa..bc25ae61640f8ffaacecbe92a6d473dbede92a7d 100644 (file)
@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(lcd4linux.c)
+AC_INIT
+AC_CONFIG_SRCDIR([lcd4linux.c])
 AM_INIT_AUTOMAKE(lcd4linux, 0.99)
 AM_CONFIG_HEADER(config.h)
 
@@ -247,4 +248,5 @@ AC_FUNC_MEMCMP
 AC_TYPE_SIGNAL
 AC_CHECK_FUNCS(gettimeofday putenv select socket strdup strerror strstr strtol uname)
 
-AC_OUTPUT(Makefile)
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
index 1b5d1b81cf4ae9992d1869001d54650bfc3c2d5e..c376284596a585d5933572a9bac317ee386e5e42 100644 (file)
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.33 2002/09/11 05:16:33 reinelt Exp $
+/* $Id: display.c,v 1.34 2002/12/05 19:09:57 reinelt Exp $
  *
  * framework for device drivers
  *
@@ -20,6 +20,9 @@
  *
  *
  * $Log: display.c,v $
+ * Revision 1.34  2002/12/05 19:09:57  reinelt
+ * patches for gcc-3.2
+ *
  * Revision 1.33  2002/09/11 05:16:33  reinelt
  * added Cwlinux driver
  *
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <math.h>
 
 #include "debug.h"
index 1e70342b57c2990da974d873def319d910582d06..689f7134c4df117d9cd7a33b1d9ec55aaff41732 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -1,4 +1,4 @@
-/* $Id: socket.c,v 1.4 2001/09/12 05:58:16 reinelt Exp $
+/* $Id: socket.c,v 1.5 2002/12/05 19:09:57 reinelt Exp $
  *
  * simple socket functions
  *
@@ -20,6 +20,9 @@
  *
  *
  * $Log: socket.c,v $
+ * Revision 1.5  2002/12/05 19:09:57  reinelt
+ * patches for gcc-3.2
+ *
  * Revision 1.4  2001/09/12 05:58:16  reinelt
  * fixed bug in mail2.c
  *
@@ -70,8 +73,9 @@
  */
 
 #include <stdio.h>
-#include <errno.h>
 #include <stdlib.h>
+#include <string.h>
+#include <errno.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <sys/types.h>