[21780] trunk/dports/print/denemo
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 6 09:39:36 PST 2007
Revision: 21780
http://trac.macosforge.org/projects/macports/changeset/21780
Author: yves at macports.org
Date: 2007-02-06 09:39:36 -0800 (Tue, 06 Feb 2007)
Log Message:
-----------
Rev 2 : fix for truncate() giga-bug
Revision Links:
--------------
http://trac.macosforge.org/projects/macports/changeset/2
Modified Paths:
--------------
trunk/dports/print/denemo/Portfile
trunk/dports/print/denemo/files/patch-external.c
Modified: trunk/dports/print/denemo/Portfile
===================================================================
--- trunk/dports/print/denemo/Portfile 2007-02-06 17:34:05 UTC (rev 21779)
+++ trunk/dports/print/denemo/Portfile 2007-02-06 17:39:36 UTC (rev 21780)
@@ -3,7 +3,7 @@
PortSystem 1.0
name denemo
version 0.7.6
-revision 1
+revision 2
categories print audio x11
platforms darwin
maintainers yves at macports.org
@@ -23,7 +23,6 @@
depends_lib port:librsvg
depends_run port:qtplay
- #port:csound
patchfiles patch-denemo.conf patch-external.c patch-prefops.c
post-patch {
@@ -36,3 +35,8 @@
LDFLAGS="-L${prefix}/lib"
configure.args --disable-alsa --disable-nls \
--with-plugins=analysis,midiinput,rumour
+
+variant with_csound {
+ depends_run-append port:csound
+}
+
Modified: trunk/dports/print/denemo/files/patch-external.c
===================================================================
--- trunk/dports/print/denemo/files/patch-external.c 2007-02-06 17:34:05 UTC (rev 21779)
+++ trunk/dports/print/denemo/files/patch-external.c 2007-02-06 17:39:36 UTC (rev 21780)
@@ -1,11 +1,10 @@
---- src/external.c.orig 2007-01-13 14:48:44.000000000 -0500
-+++ src/external.c 2007-01-13 14:49:11.000000000 -0500
-@@ -167,7 +167,7 @@
- rewind (fp);
- fprintf (fp, "%d", -1);
- fclose (fp);
-- truncate (pidpath->str, 2); /* '-' '1' EOF */
-+/* truncate (pidpath->str, 2); '-' '1' EOF */
- g_string_free (pidpath, TRUE);
- }
- }
+--- src/external.c.orig 2007-02-06 12:25:59.000000000 -0500
++++ src/external.c 2007-02-06 12:27:40.000000000 -0500
+@@ -12,6 +12,7 @@
+ #include "prefops.h"
+ #include <signal.h>
+ #include "external.h"
++#include <unistd.h>
+
+
+ /* test it a given temp filename points to an
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070206/881e18a7/attachment.html
More information about the macports-changes
mailing list