---
ChangeLog | 5 +++++
distrib/macports/Portfile.in | 7 ++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c844971..41798a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * distrib/macports/Portfile.in: Apply changes required by MacPorts
+ team.
+
2012-05-11 Guillaume Lazzara <z(a)lrde.epita.fr>
* NEWS: Start populating the changes list.
diff --git a/distrib/macports/Portfile.in b/distrib/macports/Portfile.in
index 63f41d7..c15c44f 100644
--- a/distrib/macports/Portfile.in
+++ b/distrib/macports/Portfile.in
@@ -26,6 +26,8 @@ depends_lib port:GraphicsMagick \
supported_archs i386 x86_64
configure.args-append --with-imagemagickxx=no
+# code violates aliasing rules
+configure.cxxflags-append -fno-strict-aliasing
variant scribo description {Add a DIA framework} {
depends_lib-append port:tesseract \
@@ -41,9 +43,4 @@ variant swilena description {Add Python bindings} {
configure.args-append --enable-swilena
}
-# Temporary workaround because of a Apple's GCC bug.
-platform darwin 11 {
- configure.env-append CXXFLAGS=-fno-strict-aliasing
-}
-
default_variants +scribo
--
1.7.2.5