mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix Imakefile breakage under XFree86 4.x
PR: 22365 Submitted by: Ports Fury
This commit is contained in:
parent
e671ca93b9
commit
1fccb6e211
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34364
@ -5,18 +5,17 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xoj
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
PORTNAME= xoj
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= X11/demos
|
||||
EXTRACT_SUFX= .tgz
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_IMAKE= yes
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/xoj ${PREFIX}/bin
|
||||
USE_XPM= yes
|
||||
USE_IMAKE= yes
|
||||
NO_INSTALL_MANPAGES= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,16 @@
|
||||
--- xoj.c.orig Tue Jul 26 09:10:19 1994
|
||||
+++ xoj.c Sun Dec 19 22:32:12 1999
|
||||
@@ -106,7 +106,9 @@
|
||||
--- xoj.c.orig Tue Jul 26 23:10:19 1994
|
||||
+++ xoj.c Fri Oct 13 22:37:45 2000
|
||||
@@ -33,7 +33,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
+#ifndef __STDC__
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
#include <signal.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -106,7 +108,9 @@
|
||||
void UpdateCop();
|
||||
void DrawCop();
|
||||
void EraseCop();
|
||||
@ -10,7 +20,7 @@
|
||||
Pixel AllocNamedColor();
|
||||
|
||||
void
|
||||
@@ -584,6 +586,7 @@
|
||||
@@ -584,6 +588,7 @@
|
||||
/*
|
||||
* sleep for a number of micro-seconds
|
||||
*/
|
||||
@ -18,7 +28,7 @@
|
||||
void usleep(usec)
|
||||
unsigned long usec;
|
||||
{
|
||||
@@ -596,6 +599,7 @@
|
||||
@@ -596,6 +601,7 @@
|
||||
select(0, (void *)0, (void *)0, (void *)0, &t);
|
||||
#endif
|
||||
}
|
||||
|
12
games/xoj/files/patch-ab
Normal file
12
games/xoj/files/patch-ab
Normal file
@ -0,0 +1,12 @@
|
||||
--- Imakefile.orig Tue Jul 26 23:10:17 1994
|
||||
+++ Imakefile Fri Oct 13 22:40:03 2000
|
||||
@@ -1,5 +1,8 @@
|
||||
LOCAL_LIBRARIES = XawClientLibs -lm
|
||||
DEPLIBS = XawClientDepLibs
|
||||
|
||||
-SimpleProgramTarget(xoj)
|
||||
+SRCS = xoj.c
|
||||
+OBJS = xoj.o
|
||||
+
|
||||
+ComplexProgramTargetNoMan(xoj)
|
||||
|
Loading…
Reference in New Issue
Block a user