From 306ddd2af2980d6b21f2b6b2e91a24c75b07286e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mar 21 2010 05:18:31 +0000 Subject: Fix patch to fix python module (fixes #560277) --- diff --git a/fontforge-20090224-pythondl.patch b/fontforge-20090224-pythondl.patch index 34087ac..45e04bf 100644 --- a/fontforge-20090224-pythondl.patch +++ b/fontforge-20090224-pythondl.patch @@ -35,7 +35,7 @@ diff -Nur fontforge-20090224.orig/pyhook/loadfontforge.h fontforge-20090224/pyho if ( (lib = dlopen("libfontforge" SO_EXT,RTLD_LAZY))==NULL ) { #ifdef PREFIX - lib = dlopen( PREFIX "/lib/" "libfontforge" SO_EXT,RTLD_LAZY); -+ lib = dlopen( SOLIBDIR "libfontforge.so.1" SO_EXT,RTLD_LAZY); ++ lib = dlopen( SOLIBDIR "libfontforge.so.1" ,RTLD_LAZY); #endif } if ( lib==NULL ) { diff --git a/fontforge.spec b/fontforge.spec index 4685a77..08e3060 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -5,7 +5,7 @@ Name: fontforge Version: 20090923 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Outline and bitmap font editor Group: Applications/Publishing @@ -149,6 +149,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %{_libdir}/pkgconfig/*.pc %changelog +* Sat Mar 20 2010 Kevin Fenzi - 20090923-3 +- Fix patch to fix python module (fixes #560277) + * Wed Dec 30 2009 Kevin Fenzi - 20090923-2 - Add patch to fix relative paths for fontlint (fixes #530760)