- Remove getcwd() value check patch, accepted upstream
This commit is contained in:
Ville-Pekka Vainio 2009-09-18 09:41:53 +00:00
parent 3958114be6
commit 419ebc96d7
4 changed files with 8 additions and 22 deletions

View File

@ -1 +1 @@
libvoikko-2.2rc1.tar.gz
libvoikko-2.2rc2.tar.gz

View File

@ -1,15 +0,0 @@
diff -Naur libvoikko-2.2.orig/src/morphology/malaga/files.cpp libvoikko-2.2/src/morphology/malaga/files.cpp
--- libvoikko-2.2.orig/src/morphology/malaga/files.cpp 2009-09-15 18:13:31.226662282 +0300
+++ libvoikko-2.2/src/morphology/malaga/files.cpp 2009-09-15 18:18:53.658662494 +0300
@@ -337,10 +337,9 @@
add_to_text( path, relative_dir );
free_mem( &relative_dir );
}
- else
+ else if (getcwd( current_dir, MAX_PATH_SIZE ) != NULL)
{
/* Put current directory in front. */
- getcwd( current_dir, MAX_PATH_SIZE );
add_to_text( path, current_dir );
}
}

View File

@ -1,6 +1,6 @@
Name: libvoikko
Version: 2.2
Release: 0.2.rc1%{?dist}
Release: 0.3.rc2%{?dist}
Summary: Voikko is a library for spellcheckers and hyphenators
Group: System Environment/Libraries
@ -9,9 +9,7 @@ URL: http://voikko.sourceforge.net/
# The usual format of stable release URLs
#Source0: http://downloads.sourceforge.net/voikko/%{name}-%{version}.tar.gz
# The usual format of test release URLs
Source0: http://www.puimula.org/htp/testing/%{name}-%{version}rc1.tar.gz
# Sent upstream
Patch0: libvoikko-2.2-check_getcwd.patch
Source0: http://www.puimula.org/htp/testing/%{name}-%{version}rc2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python glib2-devel
@ -51,7 +49,6 @@ scripts.
%prep
%setup -q
%patch0 -p1
%build
@ -103,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libvoikko.pc
%changelog
* Fri Sep 18 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 2.2-0.3.rc2
- 2.2rc2
- Remove getcwd() value check patch, accepted upstream
* Wed Sep 16 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 2.2-0.2.rc1
- Remove rpath which was set for the voikko-tools binaries in 64 bit
architechtures

View File

@ -1 +1 @@
2513a38189fbda0818b107ad72c0ab59 libvoikko-2.2rc1.tar.gz
d60aa199cd6a112bca782728851f82b4 libvoikko-2.2rc2.tar.gz