Fix patch to fix python module (fixes #560277)

This commit is contained in:
Kevin Fenzi 2010-03-21 05:18:31 +00:00
parent 9f1d9e713d
commit 306ddd2af2
2 changed files with 5 additions and 2 deletions

View File

@ -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 ) {

View File

@ -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 <kevin@tummy.com> - 20090923-3
- Fix patch to fix python module (fixes #560277)
* Wed Dec 30 2009 Kevin Fenzi <kevin@tummy.com> - 20090923-2
- Add patch to fix relative paths for fontlint (fixes #530760)