rpms/abiword/devel abiword-2.2.5-wvread.patch, 1.1, 1.2 abiword.spec, 1.1, 1.2

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Mon Mar 14 23:02:49 UTC 2005


Author: katzj

Update of /cvs/extras/rpms/abiword/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9829

Modified Files:
	abiword-2.2.5-wvread.patch abiword.spec 
Log Message:
* Fri Mar 14 2005 Marc Maurer <uwog at abisource.com> - 1:2.2.5-2
- Remove the --disable-magick plugin switch
- disable GDA support until the plugin is ported to gnomedb 1.2.x
- Change the download location from SF to http://www.abisource.com/
- patch libole2
- fix read as a macro in new glibc


abiword-2.2.5-wvread.patch:

Index: abiword-2.2.5-wvread.patch
===================================================================
RCS file: /cvs/extras/rpms/abiword/devel/abiword-2.2.5-wvread.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- abiword-2.2.5-wvread.patch	14 Mar 2005 22:39:45 -0000	1.1
+++ abiword-2.2.5-wvread.patch	14 Mar 2005 23:02:47 -0000	1.2
@@ -1,11 +1,21 @@
 diff -u abiword-2.2.5.orig/wv/libole2/ms-ole.c abiword-2.2.5/wv/libole2/ms-ole.c
 --- abiword-2.2.5.orig/wv/libole2/ms-ole.c	2004-10-23 02:59:51.000000000 +0200
-+++ abiword-2.2.5/wv/libole2/ms-ole.c	2005-03-14 21:50:48.000000000 +0100
-@@ -36,6 +36,7 @@
- #include <assert.h>
- #include <ctype.h>
- #include <string.h>
-+#undef read
++++ abiword-2.2.5/wv/libole2/ms-ole.c	2005-03-14 23:36:08.130603903 +0100
+@@ -482,7 +482,7 @@
  
- #ifdef __MINGW32__ /* incomplete defines on mingw */
+ 	offset = (b+1)*BB_BLOCK_SIZE;
+ 	f->syswrap->lseek (f->file_des, offset, SEEK_SET, f->syswrap->closure);
+-	f->syswrap->read (f->file_des, attr->data, BB_BLOCK_SIZE, f->syswrap->closure);
++	(f->syswrap->read) (f->file_des, attr->data, BB_BLOCK_SIZE, f->syswrap->closure);
+ 	attr->usage = 1;
+ 	attr->dirty = forwrite;
  
+@@ -1791,7 +1791,7 @@
+ 		f->mem = g_new (guint8, BB_BLOCK_SIZE);
+ 
+ 		if (!f->mem ||
+-		    f->syswrap->read (file, f->mem, BB_BLOCK_SIZE,
++		    (f->syswrap->read) (file, f->mem, BB_BLOCK_SIZE,
+ 				      f->syswrap->closure) == -1) {
+ 			g_warning ("Error reading header\n");
+ 			f->syswrap->close (file, f->syswrap->closure) ;


Index: abiword.spec
===================================================================
RCS file: /cvs/extras/rpms/abiword/devel/abiword.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- abiword.spec	14 Mar 2005 22:39:45 -0000	1.1
+++ abiword.spec	14 Mar 2005 23:02:47 -0000	1.2
@@ -136,6 +136,7 @@
 - disable GDA support until the plugin is ported to gnomedb 1.2.x
 - Change the download location from SF to http://www.abisource.com/
 - patch libole2
+- fix read as a macro in new glibc
 
 * Fri Mar  2 2005 Caolan McNamara <caolanm at redhat.com> - 1:2.2.5-1
 - bump to latest stable




More information about the fedora-extras-commits mailing list