[PD-cvs] externals/pidip/modules pdp_i.c, 1.6, 1.7 pdp_icedthe~.c, 1.3, 1.4 pdp_o.c, 1.4, 1.5 pdp_theonice~.c, 1.3, 1.4 Makefile, 1.19, NONE

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu Dec 14 07:03:33 CET 2006


Update of /cvsroot/pure-data/externals/pidip/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19827/modules

Modified Files:
	pdp_i.c pdp_icedthe~.c pdp_o.c pdp_theonice~.c 
Removed Files:
	Makefile 
Log Message:
merged in fixes from branch-v0-39-2-extended so that it builds on Mac OS X, and works better with the Pd-extended build system

Index: pdp_o.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_o.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pdp_o.c	11 Dec 2006 23:14:27 -0000	1.4
--- pdp_o.c	14 Dec 2006 06:03:30 -0000	1.5
***************
*** 39,42 ****
--- 39,46 ----
  #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 at free.fr";
  

--- Makefile DELETED ---

Index: pdp_theonice~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_theonice~.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pdp_theonice~.c	11 Dec 2006 23:14:28 -0000	1.3
--- pdp_theonice~.c	14 Dec 2006 06:03:30 -0000	1.4
***************
*** 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.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** pdp_i.c	11 Dec 2006 23:14:26 -0000	1.6
--- pdp_i.c	14 Dec 2006 06:03:30 -0000	1.7
***************
*** 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.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pdp_icedthe~.c	11 Dec 2006 23:14:26 -0000	1.3
--- pdp_icedthe~.c	14 Dec 2006 06:03:30 -0000	1.4
***************
*** 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 at free.fr).";
  





More information about the Pd-cvs mailing list