0313f6b06d
pkgsrc-wip entry. From the changelog: - new "cacaclock" utility - improved FIGlet support - improved Python and Ruby bindings - numerous improvements and bugfixes - new dirty rectangle framework for accelerated rendering - new <conio.h> compatible header for old DOS software porting - XCode and Visual Studio build improvements - Unicode support in the X11 driver - triangle texture mapping - improved HTML output - new troff output - improved Ruby and .NET bindings - new comprehensive PHP bindings - new Java bindings - Cocoa driver enhancements - support for ANSI colour in FIGlet and TOIlet fonts - documentation updates - numerous improvements and bugfixes - many build fixes, especially for nonstandard platforms - libcucul was merged back into libcaca for more clarity - internal FIGlet font support - use C99 types in public headers - runtime support for output drivers - BBcode export support - device-dependent cursor support - event API rewrite - minor API improvements and extensions - img2txt improvements - Ruby bindings - Massive C# bindings improvements - Python sample code - Visual Studio build solution - support for 90-degree canvas rotation - better behaviour when trying to output Unicode on an ASCII terminal - the built-in font now supports the Geometric Shapes, Halfwidth and Fullwidth Forms and Miscellaneous Symbols Unicode blocks - new rotozoom effect in cacademo - Cocoa output driver for Mac OS X - preliminary .NET bindings - many bugfixes and documentation changes - fixed compilation of the C++ bindings - fixed bugs in cucul_import_memory(), cucul_set_canvas_size() - implemented caca_set_display_title() for ncurses and S-Lang - minor bugfixes - new debug mode - blitting canvases now makes use of the canvas' handle coordinates - import functions can read streamed data - attribute to colorspace transformations - added katakana and hiragana glyphs to the built-in font - many bugfixes and documentation changes - support for blink, bold, italics and underline attributes - allow to import and export zero-sized canvases - fixed Imlib2 support in cacaview - fixed buffer overlows in the file importer - big documentation updates - allow to build the X11 and GL drivers as separate plugins - support for fullwidth Unicode characters - improved cucul_flip() and cucul_rotate() - minor bugfixes and documentation updates - transparency support in the UTF-8 importer and exporter - optimised triangle fill routine - updated C++ bindings - ANSI importer now handles transparency and UTF-8 - Unicode support was broken for about 10% of the set - various memory leaks were fixed - implemented cucul_getchar() and cucul_get_color() - handle transparency in the IRC export - new cropping and expanding filters - full Unicode support in the OpenGL driver - portability fixes for 64-bit architectures, Win32 and MS-DOS - all demos except cacafire were merged into cacademo - added a compatibility layer for pre-1.x libcaca applications - fixed manpage generation - minor bugfixes and documentation updates - libcaca functions use errno for error reporting - updated C++ bindings - minor improvements, bugfixes and documentation updates - ANSI importer - functions use errno for error reporting - updated C++ bindings - .NET bindings - cacadraw, an ANSI viewer that will evolve into an editor - Unicode input and output support for SLang and ncurses - built-in fonts work on Win32 - license switched to WTFPL - libcaca was split into libcucul, a standalone text manipulation backend, and libcaca, the display and user input frontend - Unicode support - TrueColor (more than 16 colours) support - Floyd-Steinberg dithering - gamma correction - export functions for HTML, IRC, ANSI, SVG, PostScript, TGA... - builtin fonts for device-independent bitmap output - various text transformation routines (rotation, horizontal flip...) - OpenGL renderer - kernel mode to build libcaca programs into a bootable x86 kernel - cacaserver, a telnet server that can be hooked to libcaca applications - img2irc, an image to IRC conversion utility
15 lines
529 B
C
15 lines
529 B
C
$NetBSD: patch-caca_caca.h,v 1.1 2014/02/23 00:35:32 schmonz Exp $
|
|
|
|
Build with clang on Darwin, from upstream: http://caca.zoy.org/ticket/90
|
|
|
|
--- caca/caca.h.orig 2012-04-06 20:21:48.000000000 +0000
|
|
+++ caca/caca.h
|
|
@@ -683,7 +683,7 @@ typedef struct cucul_buffer cucul_buffer
|
|
# define CACA_DEPRECATED
|
|
# endif
|
|
|
|
-# if defined __GNUC__ && __GNUC__ > 3
|
|
+# if !defined __APPLE__ && defined __GNUC__ && __GNUC__ > 3
|
|
# define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
|
|
# else
|
|
# define CACA_ALIAS(x)
|