[56964] trunk/dports/devel/xapian-core

toby at macports.org toby at macports.org
Thu Sep 3 15:01:19 PDT 2009


Revision: 56964
          http://trac.macports.org/changeset/56964
Author:   toby at macports.org
Date:     2009-09-03 15:01:16 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
#21020 (xapian-core-1.0.9 Fails to build on Snow Leopard)

Modified Paths:
--------------
    trunk/dports/devel/xapian-core/Portfile

Added Paths:
-----------
    trunk/dports/devel/xapian-core/files/
    trunk/dports/devel/xapian-core/files/patch-common__gnu_getopt.h

Modified: trunk/dports/devel/xapian-core/Portfile
===================================================================
--- trunk/dports/devel/xapian-core/Portfile	2009-09-03 21:54:06 UTC (rev 56963)
+++ trunk/dports/devel/xapian-core/Portfile	2009-09-03 22:01:16 UTC (rev 56964)
@@ -22,4 +22,6 @@
                     sha1 fc0ee24cafdc049f9e154329d11b315f74ac5f7d \
                     rmd160 f146aa7dfd2ca03da5f1e29b1b469ecb5e686cf7
 
+patchfiles          patch-common__gnu_getopt.h
+
 depends_lib         port:zlib

Added: trunk/dports/devel/xapian-core/files/patch-common__gnu_getopt.h
===================================================================
--- trunk/dports/devel/xapian-core/files/patch-common__gnu_getopt.h	                        (rev 0)
+++ trunk/dports/devel/xapian-core/files/patch-common__gnu_getopt.h	2009-09-03 22:01:16 UTC (rev 56964)
@@ -0,0 +1,15 @@
+--- common/gnu_getopt.h.orig	2009-09-03 14:51:53.000000000 -0700
++++ common/gnu_getopt.h	2009-09-03 14:52:33.000000000 -0700
+@@ -58,10 +58,12 @@
+ 
+ #else
+ 
++__BEGIN_DECLS
+ extern char *optarg;
+ extern int optind;
+ extern int opterr;
+ extern int optopt;
++__END_DECLS
+ 
+ struct option {
+     const char *name;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/5791aa3d/attachment.html>


More information about the macports-changes mailing list