freebsd-ports/devel/cocktail/files/patch-reuse-c-Positions.c
Edwin Groothuis 8937ed4066 [PORT UPGRADE] devel/cocktail corrected for 64bits compilation
The orignal port only ran on i386, since there were some
	64bit conversion problems. The included tar file replaces
	the compete devel/cocktail tree currently in the ports tree.

(lots of patches!)

PR:		ports/71940
Submitted by:	Willem Jan Withagen <wjw@withagen.nl>
2004-12-15 04:05:34 +00:00

21 lines
693 B
C

--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/Positions.c Tue Feb 15 14:26:37 1994
+++ ./reuse/c/Positions.c Fri Sep 10 13:35:03 2004
@@ -17,7 +17,8 @@
/* Ich, Doktor Josef Grosch, Informatiker, Juli 1992 */
-static char rcsid [] = "$Id: Positions.c,v 1.3 1993/08/18 15:01:05 grosch rel $";
+# include <sys/cdefs.h>
+__RCSID("$Id: Positions.c,v 1.3 1993/08/18 15:01:05 grosch rel $");
# include "Positions.h"
@@ -25,7 +26,7 @@
int Compare
# if defined __STDC__ | defined __cplusplus
- (tPosition Position1, tPosition Position2)
+ (const tPosition Position1, const tPosition Position2)
# else
(Position1, Position2) tPosition Position1, Position2;
# endif