[112817] trunk/dports/graphics/podofo
devans at macports.org
devans at macports.org
Fri Nov 1 15:58:51 PDT 2013
Revision: 112817
https://trac.macports.org/changeset/112817
Author: devans at macports.org
Date: 2013-11-01 15:58:51 -0700 (Fri, 01 Nov 2013)
Log Message:
-----------
podofo: apply submitted patch to fix Mavericks build problem (#41118), don't overide cmake-1.0 build dependencies.
Modified Paths:
--------------
trunk/dports/graphics/podofo/Portfile
Added Paths:
-----------
trunk/dports/graphics/podofo/files/patch-ios_include.diff
Modified: trunk/dports/graphics/podofo/Portfile
===================================================================
--- trunk/dports/graphics/podofo/Portfile 2013-11-01 22:52:16 UTC (rev 112816)
+++ trunk/dports/graphics/podofo/Portfile 2013-11-01 22:58:51 UTC (rev 112817)
@@ -7,7 +7,7 @@
name podofo
version 0.9.2
-revision 1
+revision 2
license GPL-2 LGPL-2
categories graphics
maintainers devans openmaintainer
@@ -27,8 +27,6 @@
checksums sha256 465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 \
rmd160 69bf1035f2466ba95208830038c6f8e303580a5b
-depends_build port:cmake
-
depends_lib port:zlib \
port:freetype \
port:fontconfig \
@@ -44,24 +42,11 @@
patchfiles patch-src-base-PdfEncrypt.cpp.diff \
patch-cmake-modules-FindFREETYPE.cmake.diff \
- patch-lua-tools.diff
+ patch-lua-tools.diff \
+ patch-ios_include.diff
use_parallel_build no
-# TODO: Fix this buggy C++ code
-compiler.blacklist *clang*
-
-platform darwin {
- if {${os.major} >= 13} {
- depends_lib
- depends_run
- pre-fetch {
- ui_error "$name does not build on Mavericks or later."
- error "unsupported platform"
- }
- }
-}
-
configure.cmd cmake
configure.args-append -G \"Unix Makefiles\" \
Added: trunk/dports/graphics/podofo/files/patch-ios_include.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-ios_include.diff (rev 0)
+++ trunk/dports/graphics/podofo/files/patch-ios_include.diff 2013-11-01 22:58:51 UTC (rev 112817)
@@ -0,0 +1,21 @@
+--- src/base/PdfInputDevice.h.orig
++++ src/base/PdfInputDevice.h
+@@ -22,6 +22,7 @@
+ #define _PDF_INPUT_DEVICE_H_
+
+ #include <istream>
++#include <ios>
+
+ #include "PdfDefines.h"
+ #include "PdfLocale.h"
+--- src/base/PdfLocale.h.orig
++++ src/base/PdfLocale.h
+@@ -1,7 +1,7 @@
+ #ifndef PODOFO_PDFLOCALE_H
+ #define PODOFO_PDFLOCALE_H
+
+-namespace std { class ios_base; };
++#include <ios>
+
+ namespace PoDoFo {
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131101/929c3c4b/attachment.html>
More information about the macports-changes
mailing list