[arch-commits] Commit in fontforge/trunk (PKGBUILD python35.patch)

Gaetan Bisson bisson at archlinux.org
Sat Sep 19 18:57:48 UTC 2015


    Date: Saturday, September 19, 2015 @ 20:57:48
  Author: bisson
Revision: 246681

rebuild for python-3.5

Added:
  fontforge/trunk/python35.patch
Modified:
  fontforge/trunk/PKGBUILD

----------------+
 PKGBUILD       |   13 ++++++++++---
 python35.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-19 18:24:11 UTC (rev 246680)
+++ PKGBUILD	2015-09-19 18:57:48 UTC (rev 246681)
@@ -5,7 +5,7 @@
 
 pkgname=fontforge
 pkgver=20150612
-pkgrel=1
+pkgrel=2
 pkgdesc='Outline and bitmap font editor'
 url='http://www.fontforge.org/'
 arch=('i686' 'x86_64')
@@ -15,12 +15,19 @@
          'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'libunicodenames' 'zeromq'
          'python' 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme')
 source=("https://github.com/fontforge/fontforge/archive/${pkgver}.tar.gz"
-        'http://fontforge.org/cidmaps.tgz')
+        'http://fontforge.org/cidmaps.tgz'
+        'python35.patch')
 sha1sums=('a29ef3ff4df9b77344e29b25c632b36fb79c13e9'
-          'efbc7c9d3e95159f5600dc71f9cccb370e46bb94')
+          'efbc7c9d3e95159f5600dc71f9cccb370e46bb94'
+          '8003bc30a56aee7378ac1d74639d2678a823d952')
 
 install=install
 
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../python35.patch
+}
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	export LIBZMQ_LIBS=-lzmq

Added: python35.patch
===================================================================
--- python35.patch	                        (rev 0)
+++ python35.patch	2015-09-19 18:57:48 UTC (rev 246681)
@@ -0,0 +1,12 @@
+diff -Naur old/fontforge/python.c new/fontforge/python.c
+--- old/fontforge/python.c	2015-06-12 10:48:13.000000000 -1000
++++ new/fontforge/python.c	2015-09-19 08:44:21.523111860 -1000
+@@ -18175,7 +18175,7 @@
+     mdef->runtime.pymod_def.m_doc = mdef->docstring;
+     mdef->runtime.pymod_def.m_methods = mdef->methods;
+     mdef->runtime.pymod_def.m_size = -1;
+-    mdef->runtime.pymod_def.m_reload = NULL;
++    mdef->runtime.pymod_def.m_slots = NULL;
+     mdef->runtime.pymod_def.m_traverse = NULL;
+     mdef->runtime.pymod_def.m_clear = NULL;
+     mdef->runtime.pymod_def.m_free = NULL;



More information about the arch-commits mailing list