1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/graphics/fli2gif/files/patch-ab
Justin M. Seger 0a0a1779ef Import of graphics/fli2gif version 1.1
This little program will take an Autodesk Flic (FLI/FLC) file and convert
all of its frames into sequential images in a GIF89a file, along with a
Netscape application extension animation chunk.  This allows you to easily
create animated GIF's that are viewable by Netscape Navigator 2 and
Microsoft Internet Explorer 3 (and above) users.

PR:		ports/5433
Submitted by:	giffunip@asme.org
1998-01-29 16:33:34 +00:00

40 lines
1.1 KiB
Plaintext

--- fli2gif.C.orig Tue Jul 29 20:05:27 1997
+++ fli2gif.C Thu Jan 29 11:27:08 1998
@@ -43,7 +43,9 @@
// ******************
#include <stdio.h>
#include <stdlib.h>
-#include <malloc.h>
+#ifndef __STDC__
+# include <malloc.h>
+#endif
#include <string.h>
#if defined(__TURBOC__) || defined(_MSC_VER)
#include <conio.h>
@@ -112,7 +114,7 @@
// []----------------[]
// | Initialization |
// []----------------[]
- printf("FLI2GIF.EXE -- Automatic Flic to Animated GIF convertor, v1.1\n");
+ printf("FLI2GIF -- Automatic Flic to Animated GIF convertor, v1.1\n");
printf(" by JL Enterprises, 1996. (Compiled with "
#if defined(__TURBOC__)
"Borland"
@@ -125,13 +127,15 @@
#endif
#if defined(_Windows)
" for Windows"
+ #elif defined(__FreeBSD__)
+ " for FreeBSD"
#elif defined(_SCO_DS)
" for SCO OpenServer 5"
#elif defined(__USLC__)
" for SCO UnixWare"
#elif defined(__MSDOS__) || defined(_DOS)
" for MS-DOS"
- #endif
+ #endif
")\n\n");
{
int gotflic = FALSE, gotgif = FALSE;