[53843] trunk/dports/devel/libftdi/Portfile

snc at macports.org snc at macports.org
Wed Jul 15 09:08:55 PDT 2009


Revision: 53843
          http://trac.macports.org/changeset/53843
Author:   snc at macports.org
Date:     2009-07-15 09:08:55 -0700 (Wed, 15 Jul 2009)
Log Message:
-----------
apply prototype patch from upstream

Modified Paths:
--------------
    trunk/dports/devel/libftdi/Portfile

Modified: trunk/dports/devel/libftdi/Portfile
===================================================================
--- trunk/dports/devel/libftdi/Portfile	2009-07-15 16:03:07 UTC (rev 53842)
+++ trunk/dports/devel/libftdi/Portfile	2009-07-15 16:08:55 UTC (rev 53843)
@@ -5,6 +5,7 @@
 
 name                libftdi
 version             0.16
+revision            1
 categories          devel
 maintainers         snc openmaintainer
 description         A library to talk to FTDI chips
@@ -20,3 +21,8 @@
                     rmd160 7ab0cab64cd43239c5a2ed22d85c4e931b3b1625
 
 depends_lib         port:libusb
+
+patch {
+    reinplace "s|struct ftdi_context \\*ftdi_new()|struct ftdi_context *ftdi_new(void)|" \
+        ${worksrcpath}/src/ftdi.h ${worksrcpath}/src/ftdi.c
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090715/94cbab08/attachment.html>


More information about the macports-changes mailing list