diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-07 11:25:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-07 11:25:20 +0000 |
commit | 3b80c5463adfff3c50d1ad47abf2bf3919bca665 (patch) | |
tree | d41c839d25ac825318752c1ea292d4337fefa218 /graphics | |
parent | Unbreak by Updating to 0.5.1 (diff) |
fix build on current
PR: 44973
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=69643
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fli2gif/Makefile | 10 | ||||
-rw-r--r-- | graphics/fli2gif/files/patch-ab | 11 |
2 files changed, 12 insertions, 9 deletions
diff --git a/graphics/fli2gif/Makefile b/graphics/fli2gif/Makefile index 466a5dc3e688..bebb8885c1d9 100644 --- a/graphics/fli2gif/Makefile +++ b/graphics/fli2gif/Makefile @@ -20,19 +20,13 @@ NO_WRKSUBDIR= yes USE_ZIP= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500035 -BROKEN= "Does not compile on 5.0" -.endif - post-extract: @cd ${WRKSRC} && unzip -q -aa source.zip \ && ${LN} -sf GIF.CPP gif.cpp \ && ${LN} -sf FLIPLAY.CPP fliplay.cpp do-build: - @cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} *.cpp + @cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} *.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${PREFIX}/bin @@ -41,4 +35,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.TXT ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/fli2gif/files/patch-ab b/graphics/fli2gif/files/patch-ab index bba80b99a138..4f1830c38489 100644 --- a/graphics/fli2gif/files/patch-ab +++ b/graphics/fli2gif/files/patch-ab @@ -1,5 +1,5 @@ --- fli2gif.cpp.orig Fri Sep 6 00:10:14 1996 -+++ fli2gif.cpp Fri Jul 12 03:00:50 2002 ++++ fli2gif.cpp Fri Nov 1 06:18:18 2002 @@ -43,7 +43,9 @@ // ****************** #include <stdio.h> @@ -11,6 +11,15 @@ #include <string.h> #if defined(__TURBOC__) || defined(_MSC_VER) #include <conio.h> +@@ -95,7 +97,7 @@ + //############################################################################ + //############################################################################ + //############################################################################ +-void main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + FILE *fp; + int i, j; @@ -104,7 +106,7 @@ // []----------------[] // | Initialization | |