[arch-commits] Commit in fontforge/repos (6 files)
Gaëtan Bisson
bisson at archlinux.org
Sat Aug 5 23:35:27 UTC 2017
Date: Saturday, August 5, 2017 @ 23:35:26
Author: bisson
Revision: 301693
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
fontforge/repos/extra-i686/PKGBUILD
(from rev 301692, fontforge/trunk/PKGBUILD)
fontforge/repos/extra-x86_64/PKGBUILD
(from rev 301692, fontforge/trunk/PKGBUILD)
Deleted:
fontforge/repos/extra-i686/PKGBUILD
fontforge/repos/extra-i686/pymem_free.patch
fontforge/repos/extra-x86_64/PKGBUILD
fontforge/repos/extra-x86_64/pymem_free.patch
-------------------------------+
/PKGBUILD | 86 ++++++++++++++++++++++++
extra-i686/PKGBUILD | 54 ---------------
extra-i686/pymem_free.patch | 141 ----------------------------------------
extra-x86_64/PKGBUILD | 54 ---------------
extra-x86_64/pymem_free.patch | 141 ----------------------------------------
5 files changed, 86 insertions(+), 390 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2017-08-05 23:34:43 UTC (rev 301692)
+++ extra-i686/PKGBUILD 2017-08-05 23:35:26 UTC (rev 301693)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=fontforge
-pkgver=20161012
-pkgrel=4
-pkgdesc='Outline and bitmap font editor'
-url='https://fontforge.github.io/'
-arch=('i686' 'x86_64')
-license=('BSD')
-makedepends=('git')
-depends=('libtool' 'libxkbui' 'libxi'
- '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"
- 'https://fontforge.github.io/cidmaps.tgz'
- 'pymem_free.patch')
-sha256sums=('a5f5c2974eb9109b607e24f06e57696d5861aaebb620fc2c132bdbac6e656351'
- '1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3'
- 'fd6059fe263e12d02240466c23e773fcd7776ea37c90de52bafd3dc40f09a524')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../pymem_free.patch
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export LIBZMQ_LIBS=-lzmq
- ./bootstrap --force
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-python-extension \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -d "${pkgdir}/usr/share/fontforge"
- install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
-
- install -d "${pkgdir}/usr/share/icons"
- cp -a desktop/icons "${pkgdir}/usr/share/icons/hicolor"
- rm -fr "${pkgdir}/usr/share/icons/hicolor/src"
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
-}
Copied: fontforge/repos/extra-i686/PKGBUILD (from rev 301692, fontforge/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-08-05 23:35:26 UTC (rev 301693)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=fontforge
+pkgver=20170731
+pkgrel=1
+pkgdesc='Outline and bitmap font editor'
+url='https://fontforge.github.io/'
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('git')
+depends=('libtool' 'libxkbui' 'libxi'
+ '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"
+ 'https://fontforge.github.io/cidmaps.tgz')
+sha256sums=('3f53d06caba2a96dc498df81717e35504815046b3178e811c85c4cc135492d8c'
+ '1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LIBZMQ_LIBS=-lzmq
+ ./bootstrap --force
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-python-extension \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/share/fontforge"
+ install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
+}
Deleted: extra-i686/pymem_free.patch
===================================================================
--- extra-i686/pymem_free.patch 2017-08-05 23:34:43 UTC (rev 301692)
+++ extra-i686/pymem_free.patch 2017-08-05 23:35:26 UTC (rev 301693)
@@ -1,141 +0,0 @@
-From b5a057f004d2686f5ae47d3f892c63b531c7da13 Mon Sep 17 00:00:00 2001
-From: Parag A Nemade <pnemade at fedoraproject.org>
-Date: Fri, 10 Mar 2017 08:41:24 +0530
-Subject: [PATCH] Fix many of the free() calls to PyMem_Free() for the
- python3.6 requirement This is also based on the discussion happened in
- upstream issue https://github.com/fontforge/fontforge/issues/2992
-
-This commit is a fix for the reported two problems in issue
-https://github.com/fontforge/fontforge/issues/3042
-
-The upstream documentation says
-PyArg_ParseTuple() will allocate a buffer of the needed size, copy the
-encoded data into this buffer and adjust *buffer to reference the newly
-allocated storage. The caller is responsible for calling PyMem_Free()
-to free the allocated buffer after use.
----
- fontforge/python.c | 27 ++++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/fontforge/python.c b/fontforge/python.c
-index faa7485..758422a 100644
---- a/fontforge/python.c
-+++ b/fontforge/python.c
-@@ -1045,7 +1045,7 @@ static PyObject *PyFF_OpenFont(PyObject *UNUSED(self), PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|i", "UTF-8", &filename, &openflags ))
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- /* The actual filename opened may be different from the one passed
- * to LoadSplineFont, so we can't report the filename on an
-@@ -1072,7 +1072,7 @@ static PyObject *PyFF_FontsInFile(PyObject *UNUSED(self), PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- ret = GetFontNames(locfilename, 1);
- free(locfilename);
- cnt = 0;
-@@ -4128,7 +4128,7 @@ static PyObject *PyFFLayer_export(PyFF_Layer *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- pt = strrchr(locfilename,'.');
- if ( pt==NULL ) pt=locfilename;
-@@ -7785,7 +7785,7 @@ static PyObject *PyFFGlyph_import(PyObject *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|O","UTF-8",&filename, &flags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- /* Check if the file exists and is readable */
- if ( access(locfilename,R_OK)!=0 ) {
-@@ -7854,7 +7854,7 @@ static PyObject *PyFFGlyph_export(PyObject *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|OO","UTF-8",&filename,&foo,&bar) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- pt = strrchr(locfilename,'.');
- if ( pt==NULL ) pt=locfilename;
-@@ -13549,7 +13549,7 @@ return (NULL);
- &to_background) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- ext = strrchr(locfilename,'.');
- if ( ext==NULL ) {
-@@ -13623,7 +13623,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"OesO", &other, "UTF-8", &filename, &flagstuple ))
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( !PyType_IsSubtype(&PyFF_FontType, Py_TYPE(other)) ) {
- PyErr_Format(PyExc_TypeError,"First argument must be a fontforge font");
-@@ -15690,7 +15690,7 @@ return( NULL );
- }
- }
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- if ( !GenerateScript(fv->sf,locfilename,bitmaptype,iflags,resolution,subfontdirectory,
- NULL,fv->normal==NULL?fv->map:fv->normal,rename_to,layer) ) {
- PyErr_Format(PyExc_EnvironmentError, "Font generation failed");
-@@ -15846,7 +15846,7 @@ return( NULL );
- }
-
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( !WriteTTC(locfilename,head,ff_ttc,bf,iflags,layer,ittcflags)) {
- PyErr_Format(PyExc_EnvironmentError, "Font generation failed");
-@@ -15874,7 +15874,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"es|s","UTF-8",&filename,&lookup_name) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( lookup_name!=NULL ) {
- otl = SFFindLookup(fv->sf,lookup_name);
-@@ -15914,7 +15914,8 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-+
- if ( !LoadKerningDataFromMetricsFile(fv->sf,locfilename,fv->map)) {
- PyErr_Format(PyExc_EnvironmentError, "No metrics data found");
- return( NULL );
-@@ -15938,7 +15939,7 @@ return (NULL);
- &preserveCrossFontKerning, &openflags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- sf = LoadSplineFont(locfilename,openflags);
- if ( sf==NULL ) {
- PyErr_Format(PyExc_EnvironmentError, "No font found in file \"%s\"", locfilename);
-@@ -15966,7 +15967,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"des|i",&fraction,"UTF-8",&filename, &openflags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- sf = LoadSplineFont(locfilename,openflags);
- if ( sf==NULL ) {
- PyErr_Format(PyExc_EnvironmentError, "No font found in file \"%s\"", locfilename);
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2017-08-05 23:34:43 UTC (rev 301692)
+++ extra-x86_64/PKGBUILD 2017-08-05 23:35:26 UTC (rev 301693)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=fontforge
-pkgver=20161012
-pkgrel=4
-pkgdesc='Outline and bitmap font editor'
-url='https://fontforge.github.io/'
-arch=('i686' 'x86_64')
-license=('BSD')
-makedepends=('git')
-depends=('libtool' 'libxkbui' 'libxi'
- '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"
- 'https://fontforge.github.io/cidmaps.tgz'
- 'pymem_free.patch')
-sha256sums=('a5f5c2974eb9109b607e24f06e57696d5861aaebb620fc2c132bdbac6e656351'
- '1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3'
- 'fd6059fe263e12d02240466c23e773fcd7776ea37c90de52bafd3dc40f09a524')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../pymem_free.patch
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export LIBZMQ_LIBS=-lzmq
- ./bootstrap --force
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-python-extension \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -d "${pkgdir}/usr/share/fontforge"
- install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
-
- install -d "${pkgdir}/usr/share/icons"
- cp -a desktop/icons "${pkgdir}/usr/share/icons/hicolor"
- rm -fr "${pkgdir}/usr/share/icons/hicolor/src"
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
-}
Copied: fontforge/repos/extra-x86_64/PKGBUILD (from rev 301692, fontforge/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-08-05 23:35:26 UTC (rev 301693)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=fontforge
+pkgver=20170731
+pkgrel=1
+pkgdesc='Outline and bitmap font editor'
+url='https://fontforge.github.io/'
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('git')
+depends=('libtool' 'libxkbui' 'libxi'
+ '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"
+ 'https://fontforge.github.io/cidmaps.tgz')
+sha256sums=('3f53d06caba2a96dc498df81717e35504815046b3178e811c85c4cc135492d8c'
+ '1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LIBZMQ_LIBS=-lzmq
+ ./bootstrap --force
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-python-extension \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/share/fontforge"
+ install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
+}
Deleted: extra-x86_64/pymem_free.patch
===================================================================
--- extra-x86_64/pymem_free.patch 2017-08-05 23:34:43 UTC (rev 301692)
+++ extra-x86_64/pymem_free.patch 2017-08-05 23:35:26 UTC (rev 301693)
@@ -1,141 +0,0 @@
-From b5a057f004d2686f5ae47d3f892c63b531c7da13 Mon Sep 17 00:00:00 2001
-From: Parag A Nemade <pnemade at fedoraproject.org>
-Date: Fri, 10 Mar 2017 08:41:24 +0530
-Subject: [PATCH] Fix many of the free() calls to PyMem_Free() for the
- python3.6 requirement This is also based on the discussion happened in
- upstream issue https://github.com/fontforge/fontforge/issues/2992
-
-This commit is a fix for the reported two problems in issue
-https://github.com/fontforge/fontforge/issues/3042
-
-The upstream documentation says
-PyArg_ParseTuple() will allocate a buffer of the needed size, copy the
-encoded data into this buffer and adjust *buffer to reference the newly
-allocated storage. The caller is responsible for calling PyMem_Free()
-to free the allocated buffer after use.
----
- fontforge/python.c | 27 ++++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/fontforge/python.c b/fontforge/python.c
-index faa7485..758422a 100644
---- a/fontforge/python.c
-+++ b/fontforge/python.c
-@@ -1045,7 +1045,7 @@ static PyObject *PyFF_OpenFont(PyObject *UNUSED(self), PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|i", "UTF-8", &filename, &openflags ))
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- /* The actual filename opened may be different from the one passed
- * to LoadSplineFont, so we can't report the filename on an
-@@ -1072,7 +1072,7 @@ static PyObject *PyFF_FontsInFile(PyObject *UNUSED(self), PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- ret = GetFontNames(locfilename, 1);
- free(locfilename);
- cnt = 0;
-@@ -4128,7 +4128,7 @@ static PyObject *PyFFLayer_export(PyFF_Layer *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- pt = strrchr(locfilename,'.');
- if ( pt==NULL ) pt=locfilename;
-@@ -7785,7 +7785,7 @@ static PyObject *PyFFGlyph_import(PyObject *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|O","UTF-8",&filename, &flags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- /* Check if the file exists and is readable */
- if ( access(locfilename,R_OK)!=0 ) {
-@@ -7854,7 +7854,7 @@ static PyObject *PyFFGlyph_export(PyObject *self, PyObject *args) {
- if ( !PyArg_ParseTuple(args,"es|OO","UTF-8",&filename,&foo,&bar) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- pt = strrchr(locfilename,'.');
- if ( pt==NULL ) pt=locfilename;
-@@ -13549,7 +13549,7 @@ return (NULL);
- &to_background) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- ext = strrchr(locfilename,'.');
- if ( ext==NULL ) {
-@@ -13623,7 +13623,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"OesO", &other, "UTF-8", &filename, &flagstuple ))
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( !PyType_IsSubtype(&PyFF_FontType, Py_TYPE(other)) ) {
- PyErr_Format(PyExc_TypeError,"First argument must be a fontforge font");
-@@ -15690,7 +15690,7 @@ return( NULL );
- }
- }
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- if ( !GenerateScript(fv->sf,locfilename,bitmaptype,iflags,resolution,subfontdirectory,
- NULL,fv->normal==NULL?fv->map:fv->normal,rename_to,layer) ) {
- PyErr_Format(PyExc_EnvironmentError, "Font generation failed");
-@@ -15846,7 +15846,7 @@ return( NULL );
- }
-
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( !WriteTTC(locfilename,head,ff_ttc,bf,iflags,layer,ittcflags)) {
- PyErr_Format(PyExc_EnvironmentError, "Font generation failed");
-@@ -15874,7 +15874,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"es|s","UTF-8",&filename,&lookup_name) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-
- if ( lookup_name!=NULL ) {
- otl = SFFindLookup(fv->sf,lookup_name);
-@@ -15914,7 +15914,8 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"es","UTF-8",&filename) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
-+
- if ( !LoadKerningDataFromMetricsFile(fv->sf,locfilename,fv->map)) {
- PyErr_Format(PyExc_EnvironmentError, "No metrics data found");
- return( NULL );
-@@ -15938,7 +15939,7 @@ return (NULL);
- &preserveCrossFontKerning, &openflags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- sf = LoadSplineFont(locfilename,openflags);
- if ( sf==NULL ) {
- PyErr_Format(PyExc_EnvironmentError, "No font found in file \"%s\"", locfilename);
-@@ -15966,7 +15967,7 @@ return (NULL);
- if ( !PyArg_ParseTuple(args,"des|i",&fraction,"UTF-8",&filename, &openflags) )
- return( NULL );
- locfilename = utf82def_copy(filename);
-- free(filename);
-+ PyMem_Free(filename);
- sf = LoadSplineFont(locfilename,openflags);
- if ( sf==NULL ) {
- PyErr_Format(PyExc_EnvironmentError, "No font found in file \"%s\"", locfilename);
More information about the arch-commits
mailing list