[Lunar-commits] <moonbase> fontforge: add a patch to compile with Python 2.7.

Florin Braescu florin at lunar-linux.org
Thu Sep 30 16:10:21 CEST 2010


commit dcfa1a801013675a351f03e4126223be3a881868
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Thu Sep 30 17:10:21 2010 +0300

    fontforge: add a patch to compile with Python 2.7.
---
 graphics/fontforge/BUILD   |    2 ++
 graphics/fontforge/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/graphics/fontforge/BUILD b/graphics/fontforge/BUILD
index 63af0c4..f863b10 100644
--- a/graphics/fontforge/BUILD
+++ b/graphics/fontforge/BUILD
@@ -4,6 +4,8 @@
   # http://repos.archlinux.org/viewvc.cgi/fontforge/repos/extra-i686/PKGBUILD?view=log
   OPTS+=" --with-freetype-src=/usr/include/freetype2 --disable-static --enable-double --enable-type3 --enable-devicetables"  &&
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   ./configure --prefix=/usr  \
               $OPTS         &&
 
diff --git a/graphics/fontforge/DETAILS b/graphics/fontforge/DETAILS
index 784ea35..469ffaa 100644
--- a/graphics/fontforge/DETAILS
+++ b/graphics/fontforge/DETAILS
@@ -1,11 +1,14 @@
           MODULE=fontforge
          VERSION=20100501
           SOURCE=$MODULE\_full-$VERSION.tar.bz2
+         SOURCE2=$MODULE-$VERSION-python-2.7.patch.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:483425116c6af6ad90e37f9ada0c28e34f251ec3
+     SOURCE2_VFY=sha1:8890f58b6999e5d50ef4a923708a875a11f689a1
         WEB_SITE=http://fontforge.sourceforge.net
          ENTERED=20070920
-         UPDATED=20100509
+         UPDATED=20100930
            SHORT="An outline font editor"
 
 cat << EOF


More information about the Lunar-commits mailing list