[PD-cvs] packages/patches libdir-0.38-4.patch,1.2,1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Nov 28 07:42:26 CET 2006


Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14084/patches

Modified Files:
	libdir-0.38-4.patch 
Log Message:
updated to use the PDDP standard -meta.pd file now

Index: libdir-0.38-4.patch
===================================================================
RCS file: /cvsroot/pure-data/packages/patches/libdir-0.38-4.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** libdir-0.38-4.patch	21 Nov 2005 04:37:41 -0000	1.2
--- libdir-0.38-4.patch	28 Nov 2006 06:42:24 -0000	1.3
***************
*** 1,11 ****
- ? configure
  Index: s_loader.c
  ===================================================================
  RCS file: /cvsroot/pure-data/pd/src/s_loader.c,v
! retrieving revision 1.4
! diff -u -w -r1.4 s_loader.c
! --- s_loader.c	6 Sep 2004 20:20:35 -0000	1.4
! +++ s_loader.c	20 Nov 2005 03:47:04 -0000
! @@ -163,3 +163,82 @@
   
   
--- 1,10 ----
  Index: s_loader.c
  ===================================================================
  RCS file: /cvsroot/pure-data/pd/src/s_loader.c,v
! retrieving revision 1.6
! diff -u -w -r1.6 s_loader.c
! --- s_loader.c	30 May 2005 03:04:19 -0000	1.6
! +++ s_loader.c	28 Nov 2006 03:59:50 -0000
! @@ -172,3 +175,83 @@
   
   
***************
*** 25,29 ****
  +    int fd = -1;
  +    char searchpathname[MAXPDSTRING], helppathname[MAXPDSTRING], 
! +        classname2[MAXPDSTRING], dirbuf[MAXPDSTRING], *nameptr;
  +    
  +#if 0
--- 24,28 ----
  +    int fd = -1;
  +    char searchpathname[MAXPDSTRING], helppathname[MAXPDSTRING], 
! +        fullclassname[MAXPDSTRING], dirbuf[MAXPDSTRING], *nameptr;
  +    
  +#if 0
***************
*** 31,39 ****
  +#endif
  +
! +        /* look for meta file (classname)/(classname).pd <hans at at.or.at> */
! +    strncpy(classname2, classname, MAXPDSTRING);
! +    strcat(classname2, "/");
! +    strncat(classname2, classname, MAXPDSTRING-strlen(classname2));
! +    if ((fd = open_via_path(dirname, classname2, ".pd",
  +                            dirbuf, &nameptr, MAXPDSTRING, 1)) < 0)
  +    {
--- 30,39 ----
  +#endif
  +
! +/* look for meta file (classname)/(classname)-meta.pd */
! +	strncpy(fullclassname, classname, MAXPDSTRING - 6);
! +	strcat(fullclassname, "/");
! +	strncat(fullclassname, classname, MAXPDSTRING - strlen(fullclassname) - 6);
! +	strcat(fullclassname, "-meta");
! +    if ((fd = open_via_path(dirname, fullclassname, ".pd",
  +                            dirbuf, &nameptr, MAXPDSTRING, 1)) < 0)
  +    {





More information about the Pd-cvs mailing list