View | Details | Raw Unified | Return to bug 22365
Collapse All | Expand All

(-)games/xoj/Makefile (-10 / +9 lines)
Lines 5-22 Link Here
5
# $FreeBSD: ports/games/xoj/Makefile,v 1.5 2000/04/14 12:27:53 asami Exp $
5
# $FreeBSD: ports/games/xoj/Makefile,v 1.5 2000/04/14 12:27:53 asami Exp $
6
#
6
#
7
7
8
PORTNAME=		xoj
8
PORTNAME=	xoj
9
PORTVERSION=		1.0
9
PORTVERSION=	1.0
10
CATEGORIES=		games
10
CATEGORIES=	games
11
MASTER_SITES=		${MASTER_SITE_SUNSITE}
11
MASTER_SITES=	${MASTER_SITE_SUNSITE}
12
MASTER_SITE_SUBDIR=	X11/demos
12
MASTER_SITE_SUBDIR=	X11/demos
13
EXTRACT_SUFX=		.tgz
13
EXTRACT_SUFX=	.tgz
14
14
15
MAINTAINER=		ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
USE_IMAKE=		yes
17
USE_XPM=	yes
18
18
USE_IMAKE=	yes
19
do-install:
19
NO_INSTALL_MANPAGES=	yes
20
	@ ${INSTALL_PROGRAM} ${WRKSRC}/xoj ${PREFIX}/bin
21
20
22
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)games/xoj/files/patch-aa (-5 / +15 lines)
Lines 1-6 Link Here
1
--- xoj.c.orig	Tue Jul 26 09:10:19 1994
1
--- xoj.c.orig	Tue Jul 26 23:10:19 1994
2
+++ xoj.c	Sun Dec 19 22:32:12 1999
2
+++ xoj.c	Fri Oct 13 22:37:45 2000
3
@@ -106,7 +106,9 @@
3
@@ -33,7 +33,9 @@
4
  
5
 #include <stdio.h>
6
 #include <math.h>
7
+#ifndef __STDC__
8
 #include <malloc.h>
9
+#endif
10
 #include <signal.h>
11
 #include <limits.h>
12
 
13
@@ -106,7 +108,9 @@
4
 void UpdateCop();
14
 void UpdateCop();
5
 void DrawCop();
15
 void DrawCop();
6
 void EraseCop();
16
 void EraseCop();
Lines 10-16 Link Here
10
 Pixel AllocNamedColor();
20
 Pixel AllocNamedColor();
11
 
21
 
12
 void
22
 void
13
@@ -584,6 +586,7 @@
23
@@ -584,6 +588,7 @@
14
 /*
24
 /*
15
  * sleep for a number of micro-seconds
25
  * sleep for a number of micro-seconds
16
  */
26
  */
Lines 18-24 Link Here
18
 void usleep(usec) 
28
 void usleep(usec) 
19
 unsigned long usec;
29
 unsigned long usec;
20
 {
30
 {
21
@@ -596,6 +599,7 @@
31
@@ -596,6 +601,7 @@
22
     select(0, (void *)0, (void *)0, (void *)0, &t);
32
     select(0, (void *)0, (void *)0, (void *)0, &t);
23
 #endif
33
 #endif
24
 }
34
 }
(-)games/xoj/files/patch-ab (+12 lines)
Line 0 Link Here
1
--- Imakefile.orig	Tue Jul 26 23:10:17 1994
2
+++ Imakefile	Fri Oct 13 22:40:03 2000
3
@@ -1,5 +1,8 @@
4
 LOCAL_LIBRARIES = XawClientLibs -lm
5
 DEPLIBS = XawClientDepLibs
6
 
7
-SimpleProgramTarget(xoj)
8
+SRCS = xoj.c
9
+OBJS = xoj.o
10
+
11
+ComplexProgramTargetNoMan(xoj)
12

Return to bug 22365