Index: Makefile =================================================================== --- Makefile (revision 415159) +++ Makefile (working copy) @@ -4,6 +4,7 @@ PORTNAME= pd DISTVERSION= 0.47-0 DISTVERSIONSUFFIX= .src +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://msp.ucsd.edu/Software/ @@ -23,7 +24,6 @@ tcl:wrapper tk:wrapper SHEBANG_FILES= tcl/pkg_mkIndex.tcl SHEBANG_LANG= tclsh -tclsh_OLD_CMD= /usr/bin/tclsh tclsh_CMD= ${LOCALBASE}/bin/tclsh GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_lib_pthread_pthread_create=no @@ -43,8 +43,9 @@ post-patch: ${FIND} ${PATCH_WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ 's|__FreeBSD_kernel__|__FreeBSD__|g ; \ - s|__x86_64__|__amd64__|g ; \ - s|||g' + s|__x86_64__|__amd64__|g' + ${FIND} ${WRKSRC}/extra -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|||g' ${REINPLACE_CMD} -e \ 's|\*kfreebsd\*gnu\*)|*freebsd*)| ; \ s|portaudio=yes|portaudio=no| ; \ Index: files/patch-extra_pd_pd.c =================================================================== --- files/patch-extra_pd_pd.c (revision 415159) +++ files/patch-extra_pd_pd.c (nonexistent) @@ -1,10 +0,0 @@ ---- extra/pd~/pd~.c.orig 2010-07-29 05:55:17.000000000 +0900 -+++ extra/pd~/pd~.c 2011-04-06 19:18:20.000000000 +0900 -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - #include - #endif Property changes on: files/patch-extra_pd_pd.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: files/patch-extra_pd~_pd~.c =================================================================== --- files/patch-extra_pd~_pd~.c (nonexistent) +++ files/patch-extra_pd~_pd~.c (working copy) @@ -0,0 +1,10 @@ +--- extra/pd~/pd~.c.orig 2016-05-13 08:31:10 UTC ++++ extra/pd~/pd~.c +@@ -19,6 +19,7 @@ typedef int socklen_t; + #include + #include + #include ++#include + #include + #include + #endif Property changes on: files/patch-extra_pd~_pd~.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-src_s__main.c =================================================================== --- files/patch-src_s__main.c (revision 415159) +++ files/patch-src_s__main.c (nonexistent) @@ -1,14 +0,0 @@ ---- src/s_main.c.orig 2015-09-09 23:08:21 UTC -+++ src/s_main.c -@@ -1137,7 +1137,11 @@ static void sys_afterargparse(void) - /* add "doc/5.reference" library to helppath */ - strncpy(sbuf, sys_libdir->s_name, MAXPDSTRING-30); - sbuf[MAXPDSTRING-30] = 0; -+#if defined(__FreeBSD__) -+ strcat(sbuf, "/share/doc/pd/5.reference"); -+#else - strcat(sbuf, "/doc/5.reference"); -+#endif - sys_helppath = namelist_append_files(sys_helppath, sbuf); - /* correct to make audio and MIDI device lists zero based. On - MMIO, however, "1" really means the second device (the first one Property changes on: files/patch-src_s__main.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property