[44158] trunk/dports/multimedia/libmms/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Mon Dec 22 11:54:48 PST 2008


Revision: 44158
          http://trac.macports.org/changeset/44158
Author:   mcalhoun at macports.org
Date:     2008-12-22 11:54:48 -0800 (Mon, 22 Dec 2008)
Log Message:
-----------
libmms: Avoid use of C++ keyword this in header files.

Modified Paths:
--------------
    trunk/dports/multimedia/libmms/Portfile

Modified: trunk/dports/multimedia/libmms/Portfile
===================================================================
--- trunk/dports/multimedia/libmms/Portfile	2008-12-22 19:53:23 UTC (rev 44157)
+++ trunk/dports/multimedia/libmms/Portfile	2008-12-22 19:54:48 UTC (rev 44158)
@@ -4,6 +4,7 @@
 
 name            libmms
 version         0.4
+revision        1
 categories      multimedia
 maintainers     boeyms openmaintainer
 description     Library for parsing mms:// and mmsh:// network streams
@@ -26,3 +27,8 @@
 
 # avoid warning about nested comments
 patchfiles patch-mms_config.h.in.diff
+
+post-patch {
+    # avoid use of C++ keyword this
+    reinplace "s|*this|*instance|" ${worksrcpath}/src/mms.h
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081222/8a601860/attachment.html>


More information about the macports-changes mailing list