pilot-link patch



I have a small CVS diff against two files that I modified to get
pilot-link to compile under Debian unstable's g++ 2.95.2-0pre2.
Could someone please tell me how to create a patch proper? Also, could
someone with CVS write access check in my changes? Thank you.

wish:/opt/gnome/src/pilot-link# cvs diff include/pi-appinfo.hxx include/pi-dlp.h
xx 
Index: include/pi-appinfo.hxx
===================================================================
RCS file: /cvs/gnome/pilot-link/include/pi-appinfo.hxx,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 pi-appinfo.hxx
8c8
< const BASE_APP_INFO_SIZE = 278;	// All apps take up 278 bytes of the sam
e stuff
---
> const int BASE_APP_INFO_SIZE = 278;	// All apps take up 278 bytes of the sam
e stuff
Index: include/pi-dlp.hxx
===================================================================
RCS file: /cvs/gnome/pilot-link/include/pi-dlp.hxx,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 pi-dlp.hxx
41,42c41,42
< 	  return dlp_FindDBInfo(_sd, cardno, start, dbname, type, creator,
< 				info);
---
> 	  return dlp_FindDBInfo(_sd, cardno, start, (char *)dbname,
> 	  			type, creator, info);
53c53
< 	  return dlp_OpenDB(_sd, cardno, mode, name, db);
---
> 	  return dlp_OpenDB(_sd, cardno, mode, (char *)name, db);
84c84
< 	  return dlp_AddSyncLogEntry(_sd, entry);
---
> 	  return dlp_AddSyncLogEntry(_sd, (char *)entry);
163,164c163,164
< 	  return dlp_WriteRecord(_sd, handle, flags, recID, catID, data,
< 				 length, newID);
---
> 	  return dlp_WriteRecord(_sd, handle, flags, recID, catID,
> 				(void *)data, length, newID);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]