[115784] trunk/dports/textproc/aspell

jeremyhu at macports.org jeremyhu at macports.org
Fri Jan 10 23:30:45 PST 2014


Revision: 115784
          https://trac.macports.org/changeset/115784
Author:   jeremyhu at macports.org
Date:     2014-01-10 23:30:45 -0800 (Fri, 10 Jan 2014)
Log Message:
-----------
aspell: Build fix for newer clang

Modified Paths:
--------------
    trunk/dports/textproc/aspell/Portfile

Added Paths:
-----------
    trunk/dports/textproc/aspell/files/clang.patch

Modified: trunk/dports/textproc/aspell/Portfile
===================================================================
--- trunk/dports/textproc/aspell/Portfile	2014-01-11 05:58:19 UTC (rev 115783)
+++ trunk/dports/textproc/aspell/Portfile	2014-01-11 07:30:45 UTC (rev 115784)
@@ -27,6 +27,8 @@
 depends_lib             port:gettext port:texinfo
 # texinfo is also used in post-activate
 
+patchfiles              clang.patch
+
 use_autoreconf          yes
 autoreconf.args         -fvi
 

Added: trunk/dports/textproc/aspell/files/clang.patch
===================================================================
--- trunk/dports/textproc/aspell/files/clang.patch	                        (rev 0)
+++ trunk/dports/textproc/aspell/files/clang.patch	2014-01-11 07:30:45 UTC (rev 115784)
@@ -0,0 +1,18 @@
+--- interfaces/cc/aspell.h.orig	2011-07-02 14:53:27.000000000 -0700
++++ interfaces/cc/aspell.h	2014-01-10 23:28:54.000000000 -0800
+@@ -237,6 +237,7 @@ void delete_aspell_can_have_error(struct
+ /******************************** errors ********************************/
+ 
+ 
++#ifndef __cplusplus
+ extern const struct AspellErrorInfo * const aerror_other;
+ extern const struct AspellErrorInfo * const aerror_operation_not_supported;
+ extern const struct AspellErrorInfo * const   aerror_cant_copy;
+@@ -322,6 +323,7 @@ extern const struct AspellErrorInfo * co
+ extern const struct AspellErrorInfo * const   aerror_bad_magic;
+ extern const struct AspellErrorInfo * const aerror_expression;
+ extern const struct AspellErrorInfo * const   aerror_invalid_expression;
++#endif
+ 
+ 
+ /******************************* speller *******************************/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140110/c7ba0d39/attachment.html>


More information about the macports-changes mailing list