Update of /cvsroot/pure-data/externals/pidip/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10987/pidip/modules
Modified Files: Tag: branch-v0-39-2-extended pdp_i.c pdp_icedthe~.c pdp_o.c pdp_theonice~.c Removed Files: Tag: branch-v0-39-2-extended Makefile Log Message:
- removed arduino and hidio because they are changing too fast
- removed build products where they were causing difficulties
- fixed PDP build issues on Mac OS X
- fixed PiDiP build issues on Mac OS X, but it doesn't build yet because of a missing imagemagick header (magick/xwindow.h)
Index: pdp_o.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_o.c,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** pdp_o.c 14 Nov 2004 22:52:21 -0000 1.3 --- pdp_o.c 11 Dec 2006 16:34:51 -0000 1.3.2.1 *************** *** 41,44 **** --- 41,48 ---- #define DEFAULT_FRAME_RATE 25
+ #ifndef MSG_NOSIGNAL + # define MSG_NOSIGNAL SO_NOSIGPIPE + #endif + static char *pdp_o_version = "pdp_o: version 0.1, a video stream emitter, written by ydegoyon@free.fr";
--- Makefile DELETED ---
Index: pdp_theonice~.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_theonice~.c,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** pdp_theonice~.c 27 Feb 2006 01:04:09 -0000 1.2 --- pdp_theonice~.c 11 Dec 2006 16:34:51 -0000 1.2.2.1 *************** *** 65,68 **** --- 65,72 ---- #define OGG_AUDIO_SIZE 1024
+ #ifndef MSG_NOSIGNAL + # define MSG_NOSIGNAL SO_NOSIGPIPE + #endif + static char base64table[65] = { 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
Index: pdp_i.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_i.c,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** pdp_i.c 2 Jan 2005 06:02:48 -0000 1.5 --- pdp_i.c 11 Dec 2006 16:34:51 -0000 1.5.2.1 *************** *** 47,50 **** --- 47,54 ---- #define INPUT_BUFFER_SIZE 1048578 /* 1 M */
+ #ifndef MSG_NOSIGNAL + # define MSG_NOSIGNAL SO_NOSIGPIPE + #endif + /* time-out used for select() call */ static struct timeval ztout; *************** *** 69,73 **** { int sockopt = 1; ! if (setsockopt(sockfd, SOL_TCP, TCP_NODELAY, (const char*) &sockopt, sizeof(int)) < 0) { post("pdp_i : setsockopt TCP_NODELAY failed"); --- 73,77 ---- { int sockopt = 1; ! if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, (const char*) &sockopt, sizeof(int)) < 0) { post("pdp_i : setsockopt TCP_NODELAY failed");
Index: pdp_icedthe~.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_icedthe~.c,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** pdp_icedthe~.c 9 Jul 2005 19:35:40 -0000 1.2 --- pdp_icedthe~.c 11 Dec 2006 16:34:51 -0000 1.2.2.1 *************** *** 64,67 **** --- 64,71 ---- #define MAX_WRONG_PACKETS 10
+ #ifndef MSG_NOSIGNAL + # define MSG_NOSIGNAL SO_NOSIGPIPE + #endif + static char *pdp_icedthe_version = "pdp_icedthe~: version 0.1, a theora stream reader ( ydegoyon@free.fr).";