1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/graphics/xpaint/files/patch-ad
Justin M. Seger 17fa90d0d0 Upgrade to xpaint-2.5.7
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
PR:		ports/17464
2000-03-21 15:45:59 +00:00

21 lines
659 B
Plaintext

--- misc.h.orig Wed Jun 10 06:07:47 1998
+++ misc.h Fri Mar 17 01:34:25 2000
@@ -23,7 +23,7 @@
long random(void);
#endif
-#if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__)
+#if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) & !defined(__OpenBSD__)
#if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS)
void srandom(unsigned int);
#else
@@ -102,7 +102,7 @@
void GetDefaultWH(int *w, int *h);
char *GetDefaultRC(void);
void SetIconImage(Widget w);
-void main(int argc, char *argv[]);
+int main(int argc, char *argv[]);
/* misc.c */
Widget GetToplevel(Widget w);