3 # --disable-textfield disable enhanced text field widget
4 --disable-fullscreen disable XFree86 fullscreen detection
5 --disable-gnomeui enables GNOME UI support
6 --enable-sdlui enables SDL UI support
7 --disable-gp2x enables GP2X support
8 --disable-wiz enables WIZ support
9 --disable-dingoo enables native Dingoo support
10 --disable-dingux enables Dingux (Dingoo Linux) support
11 --disable-nls disables national language support
12 --disable-realdevice disables access to real peripheral devices (CBM4Linux/OpenCBM)
13 --disable-ffmpeg disable FFmpeg library support
14 --disable-quicktime enables Apple QuickTime support
15 --disable-ethernet enables The Final Ethernet emulation
16 --disable-ipv6 disables the checking for IPv6 compatibility
17 # --enable-parsid enables ParSID support
18 --disable-bundle do not use application bundles on Macs
19 # --enable-memmap enable the memmap feature
20 # --disable-editline disable history in Cocoa UI's console
21 --disable-lame disable MP3 export with LAME
22 --disable-static-lame enable static LAME linking
23 --disable-rs232 disable RS232 support
24 --disable-midi disable MIDI support
25 --disable-embedded enable embedding of emulation data files
26 --disable-hidmgr disable IOHIDManager joystick support on Mac
27 --disable-hidutils disable HID Uitlities joystick support on Mac
28 --disable-debug enable debug source options
29 --disable-debug-code enable debugging code
30 # --enable-inline enable inlining of functions default=yes
31 # --enable-arch[=arch] enable architecture specific compilation [default=yes]
32 # --enable-sse enable the use of SSE [default=yes]
33 # --enable-no-pic enable the use of the no-pic switch [default=yes]
35 --without-xaw3d use Xaw3d library instead of plain Xaw
36 # --without-readline do not try to use the system's readline library
37 --without-midas use MIDAS sound system instead of Allegro for audio
38 --without-arts use aRts sound system
39 --without-pulse do not use PulseAudio sound system
40 --with-alsa do not use the ALSA sound system
41 --without-oss do not use the OSS sound system
42 --without-sdlsound use SDL sound system
43 # --without-resid do not use the reSID engine
44 # --without-png do not use the PNG screenshot system
45 # --without-zlib do not use the zlib support
46 --without-picasso96 use Amiga P96 grafix system instead of cgx
47 --without-cocoa enables native Cocoa UI on Macs
48 # --with-uithreads enables multi threading for Unix UIs
49 # --with-x use the X Window System
54 --- vice-2.4/src/gfxoutputdrv/gifdrv.c.orig 2012-07-26 02:46:05.000000000 +0300
55 +++ vice-2.4/src/gfxoutputdrv/gifdrv.c 2015-12-08 12:16:54.000000000 +0200
57 #define VICE_FreeMapObject FreeMapObject
60 +static int closeGif (GifFileType* file) {
61 +#if ((GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1) || GIFLIB_MAJOR > 5)
62 + return EGifCloseFile(file, NULL);
64 + return EGifCloseFile(file);
68 typedef struct gfxoutputdrv_data_s
71 @@ -114,7 +122,7 @@ static int gifdrv_open(screenshot_t *scr
72 if (EGifPutScreenDesc(sdata->fd, screenshot->width, screenshot->height, 8, 0, gif_colors) == GIF_ERROR ||
73 EGifPutImageDesc(sdata->fd, 0, 0, screenshot->width, screenshot->height, 0, NULL) == GIF_ERROR)
75 - EGifCloseFile(sdata->fd);
76 + closeGif(sdata->fd);
77 VICE_FreeMapObject(gif_colors);
78 lib_free(sdata->data);
79 lib_free(sdata->ext_filename);
80 @@ -145,7 +153,7 @@ static int gifdrv_close(screenshot_t *sc
82 sdata = screenshot->gfxoutputdrv_data;
84 - EGifCloseFile(sdata->fd);
85 + closeGif(sdata->fd);
86 VICE_FreeMapObject(gif_colors);
88 /* for some reason giflib will create a file with unexpected
89 @@ -184,7 +192,7 @@ static char *gifdrv_memmap_ext_filename;
91 static int gifdrv_close_memmap(void)
93 - EGifCloseFile(gifdrv_memmap_fd);
94 + closeGif(gifdrv_memmap_fd);
95 VICE_FreeMapObject(gif_colors);
96 lib_free(gifdrv_memmap_ext_filename);
98 @@ -231,7 +239,7 @@ static int gifdrv_open_memmap(const char
99 if (EGifPutScreenDesc(gifdrv_memmap_fd, x_size, y_size, 8, 0, gif_colors) == GIF_ERROR ||
100 EGifPutImageDesc(gifdrv_memmap_fd, 0, 0, x_size, y_size, 0, NULL) == GIF_ERROR)
102 - EGifCloseFile(gifdrv_memmap_fd);
103 + closeGif(gifdrv_memmap_fd);
104 VICE_FreeMapObject(gif_colors);
105 lib_free(gifdrv_memmap_ext_filename);
111 VICE -- Versatile Commodore 8-bit Emulator
113 VICE, the multi-platform C64, C128, VIC20, PET, PLUS4 and CBM-II
114 emulator. This version can be compiled for MSDOS, Win32, RiscOS,
115 OS/2, BeOS, QNX 4.x, QNX 6.x, AmigaOS, GP2X, Dingoo, Syllable,
116 SkyOS and for most Unix systems provided with the X Window
117 System version 11, R5 or later.