Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 15:14:56 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/44973: Update port: graphics/fli2gif
Message-ID:  <200211052314.gA5NEuGO061826@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         44973
>Category:       ports
>Synopsis:       Update port: graphics/fli2gif
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 05 15:20:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.7-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build on -current

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/fli2gif/Makefile graphics/fli2gif/Makefile
--- /usr/ports/graphics/fli2gif/Makefile	Sat Oct 26 12:04:29 2002
+++ graphics/fli2gif/Makefile	Sat Nov  2 01:34:54 2002
@@ -18,19 +18,13 @@
 
 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
@@ -39,4 +33,4 @@
 	${INSTALL_DATA}	${WRKSRC}/*.TXT ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/fli2gif/files/patch-ab graphics/fli2gif/files/patch-ab
--- /usr/ports/graphics/fli2gif/files/patch-ab	Tue Sep 10 20:12:02 2002
+++ graphics/fli2gif/files/patch-ab	Fri Nov  1 06:18:29 2002
@@ -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  |

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211052314.gA5NEuGO061826>