rpms/getdata/F-11 getdata-mstrings.diff, NONE, 1.1 getdata.spec, 1.7, 1.8

Matthew D Truch mtruch at fedoraproject.org
Sun Sep 27 17:14:58 UTC 2009


Author: mtruch

Update of /cvs/extras/rpms/getdata/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20649

Modified Files:
	getdata.spec 
Added Files:
	getdata-mstrings.diff 
Log Message:
Apply bugfix patch from upstream.


getdata-mstrings.diff:
 meta_list.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE getdata-mstrings.diff ---
diff -ur getdata-0.5.0/src/meta_list.c getdata-0.5.0-tests-fixed/src/meta_list.c
--- getdata-0.5.0/src/meta_list.c	2008-11-23 19:08:56.000000000 -0500
+++ getdata-0.5.0-tests-fixed/src/meta_list.c	2009-09-18 23:01:01.000000000 -0400
@@ -123,7 +123,7 @@
     if (e->meta_entry[i]->field_type == GD_STRING_ENTRY)
       fl[n++] = e->meta_entry[i]->e->string;
   }
-  fl[i] = NULL;
+  fl[n] = NULL;
 
   e->string_value_list = (const char**)fl;
 


Index: getdata.spec
===================================================================
RCS file: /cvs/extras/rpms/getdata/F-11/getdata.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- getdata.spec	17 Aug 2009 02:31:15 -0000	1.7
+++ getdata.spec	27 Sep 2009 17:14:56 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           getdata
 Version:        0.5.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Library for reading and writing dirfile data
 
 Group:          Development/Libraries
@@ -9,6 +9,8 @@ URL:            http://getdata.sourcefor
 Source0:        http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch0:         getdata-mstrings.diff
+
 BuildRequires:     gcc-gfortran zlib-devel libtool-ltdl-devel bzip2-devel
 Requires(post):    /sbin/ldconfig
 Requires(postun):  /sbin/ldconfig
@@ -51,6 +53,7 @@ Does not yet allow writing of bzip2 enco
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # FIXME: FFLAGS/FCFLAGS are not being honored; looking into it with upstream.
@@ -102,6 +105,9 @@ rm -rf %{buildroot}
 %{_libdir}/libgetdatabzip2*.so
 
 %changelog
+* Sun Sep 27 2009 Matthew Truch <matt at truch.net> - 0.5.0-4
+- Apply mstrings bugfix from upstream.
+
 * Sun Aug 16 2009 Matthew Truch <matt at truch.net> - 0.5.0-3
 - Disable verbose debugging output.
 




More information about the fedora-extras-commits mailing list