pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cambevao Fix LP64 issues.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d872503cde1
branches:  trunk
changeset: 543677:2d872503cde1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 21 20:59:32 2008 +0000

description:
Fix LP64 issues.

diffstat:

 graphics/cambevao/distinfo         |   3 ++-
 graphics/cambevao/patches/patch-ac |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r fc5ee7f253b8 -r 2d872503cde1 graphics/cambevao/distinfo
--- a/graphics/cambevao/distinfo        Sat Jun 21 20:51:57 2008 +0000
+++ b/graphics/cambevao/distinfo        Sat Jun 21 20:59:32 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2006/04/20 16:05:44 joerg Exp $
+$NetBSD: distinfo,v 1.5 2008/06/21 20:59:32 joerg Exp $
 
 SHA1 (cambevao-2.2.tar.gz) = 98d67a1e8e79cdb5b3cc8b099065f90c2c204b36
 RMD160 (cambevao-2.2.tar.gz) = 922fc6e98503917e503ab4e5a7271dc882be3455
 Size (cambevao-2.2.tar.gz) = 158557 bytes
 SHA1 (patch-aa) = 9b37747201dca6e86484c69f50e57ca9dd91339c
 SHA1 (patch-ab) = 4c489afb31b8e713ab75776dc154d8545d4833e0
+SHA1 (patch-ac) = e9490b52ca8b61efce9d9bdbb66314aec25cd8b1
diff -r fc5ee7f253b8 -r 2d872503cde1 graphics/cambevao/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cambevao/patches/patch-ac        Sat Jun 21 20:59:32 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2008/06/21 20:59:32 joerg Exp $
+
+--- server.c.orig      2004-11-12 22:51:23.000000000 +0000
++++ server.c
+@@ -132,7 +132,7 @@ Generated by \
+ #define REPHEADER HTTPOK\
+ "Content-type: multipart/x-mixed-replace;boundary="BOUNDARY"\r\n"
+ #define TYPEHEADER "Content-type: image/jpeg\r\n"
+-#define LENHEADER  "Content-length: %d\r\n"
++#define LENHEADER  "Content-length: %zu\r\n"
+ #define STATICHEADER HTTPOK""TYPEHEADER""LENHEADER"\r\n"
+ #define STREAMHEADER TYPEHEADER""LENHEADER"\r\n"
+ #define STREAMFOOTER "\r\n--"BOUNDARY"\r\n"
+@@ -156,7 +156,7 @@ static size_t css_h_len  = 0;
+ 
+ static int server_write(struct webcam *cam,
+                                                               int d, const void *buf, size_t nbytes);
+-static int read_line(int fd, char *ptr, ssize_t maxlen);
++static ssize_t read_line(int fd, char *ptr, ssize_t maxlen);
+ static void read_client_msg(struct webcam *cam, struct client *cl);
+ static void check_clients(struct webcam *cam);
+ static void client_accept(struct webcam *cam);



Home | Main Index | Thread Index | Old Index