diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-21 20:59:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-21 20:59:32 +0000 |
commit | 5bc4874e4b5e94a9e74a6539ff5e1a10422a905d (patch) | |
tree | 5e4c85aa47d8faeba9cb0f10ccca69114cbca8ce /graphics/cambevao | |
parent | bbdb970d70aa5f5f9db4d72389c3a2e61684f425 (diff) | |
download | pkgsrc-5bc4874e4b5e94a9e74a6539ff5e1a10422a905d.tar.gz |
Fix LP64 issues.
Diffstat (limited to 'graphics/cambevao')
-rw-r--r-- | graphics/cambevao/distinfo | 3 | ||||
-rw-r--r-- | graphics/cambevao/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/cambevao/distinfo b/graphics/cambevao/distinfo index 611439cd498..6b2c5fdb9c7 100644 --- a/graphics/cambevao/distinfo +++ b/graphics/cambevao/distinfo @@ -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 --git a/graphics/cambevao/patches/patch-ac b/graphics/cambevao/patches/patch-ac new file mode 100644 index 00000000000..c401d36a952 --- /dev/null +++ b/graphics/cambevao/patches/patch-ac @@ -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); |