]> git.pld-linux.org Git - packages/camserv.git/commitdiff
- errno fixes for current glibc
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 9 Jul 2003 09:23:16 +0000 (09:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    camserv-errno.patch -> 1.1

camserv-errno.patch [new file with mode: 0644]

diff --git a/camserv-errno.patch b/camserv-errno.patch
new file mode 100644 (file)
index 0000000..4825423
--- /dev/null
@@ -0,0 +1,68 @@
+--- camserv-0.5.1/camserv/camserv.c.orig       Sun May 12 20:05:55 2002
++++ camserv-0.5.1/camserv/camserv.c    Wed Jul  9 10:54:46 2003
+@@ -19,6 +19,7 @@
+ #include "camserv_config.h"
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -153,7 +154,6 @@
+   CamConfig *camcfg;
+   char *shm_segment, tmpbuf[ 1024 ], cfg_path[ MAXPATHLEN ];
+   int fd, shm_alloc, donecfg;
+-  extern int errno;
+   donecfg = 0;
+   if (argc >= 2) {
+--- camserv-0.5.1/camserv/main_loop.c.orig     Mon Sep 16 00:05:23 2002
++++ camserv-0.5.1/camserv/main_loop.c  Wed Jul  9 10:55:11 2003
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -14,8 +15,6 @@
+ #include "list.h"
+ #include "log.h"
+-extern int errno;
+-
+ static int Abort = 0;
+ #define CINFO_STATE_PREAMBLE    0
+--- camserv-0.5.1/camserv/picture_loop.c.orig  Mon Mar 11 01:51:44 2002
++++ camserv-0.5.1/camserv/picture_loop.c       Wed Jul  9 10:55:30 2003
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -244,7 +245,6 @@
+ {
+   Filter *filters;
+   Video_Funcs vfuncs;
+-  extern int errno;
+   void *vid_device = NULL;
+   char *pic_snap = NULL, vidsec[ 1024 ];
+   Video_Geometry geom;
+--- camserv-0.5.1/relay/relay.c.orig   Mon Sep 16 00:13:16 2002
++++ camserv-0.5.1/relay/relay.c        Wed Jul  9 11:07:20 2003
+@@ -18,6 +18,7 @@
+  */
+ #include "camserv_config.h"
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -34,8 +35,6 @@
+ #define BACKLOG  20
+-extern int errno;
+-
+ #define CLIENT_T_UNK              0
+ #define CLIENT_T_CAMSERV          1
+ #define CLIENT_T_BROWSER          2
This page took 0.055707 seconds and 4 git commands to generate.