[Lunar-commits] <moonbase> inkscape: fix build errors

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Fri Jun 1 11:12:17 CEST 2012


commit d5e81303e9b4c698fd867d7679563b176f409c4d
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Fri Jun 1 00:11:22 2012 +0200

    inkscape: fix build errors
    
    Those damn bastards changed the API of libpoppler once again..
---
 graphics/inkscape/BUILD |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/graphics/inkscape/BUILD b/graphics/inkscape/BUILD
index 30cecb3..efa1fcb 100644
--- a/graphics/inkscape/BUILD
+++ b/graphics/inkscape/BUILD
@@ -1,4 +1,9 @@
 (
+   #fix build with poppler 0.20.0
+   sedit "s:getOrigName:getName:" src/extension/internal/pdfinput/svg-builder.cpp &&
+   sedit "s:error(:error(errInternal,:" src/extension/internal/pdfinput/pdf-parser.cpp &&
+
+   CXXFLAGS+=" -fpermissive" &&
 
    ./configure  --prefix=${GNOME26_PREFIX:-/usr}  \
                 --build=$BUILD                    \


More information about the Lunar-commits mailing list