summaryrefslogtreecommitdiff
path: root/x11/fltk/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fltk/patches/patch-ai')
-rw-r--r--x11/fltk/patches/patch-ai22
1 files changed, 0 insertions, 22 deletions
diff --git a/x11/fltk/patches/patch-ai b/x11/fltk/patches/patch-ai
deleted file mode 100644
index 6512085c051..00000000000
--- a/x11/fltk/patches/patch-ai
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2004/02/18 05:07:34 ben Exp $
-
---- src/fl_draw_pixmap.cxx.orig 2003-01-30 13:43:43.000000000 -0800
-+++ src/fl_draw_pixmap.cxx
-@@ -147,14 +147,15 @@ int fl_draw_pixmap(const char*const* di,
- // if first color is ' ' it is transparent (put it later to make
- // it not be transparent):
- if (*p == ' ') {
-- uchar* c = (uchar*)&d.colors[' '];
-+ uchar* c;
-+ transparent_index = ' ';
-+ c = (uchar*)&d.colors[transparent_index];
- #ifdef U64
- *(U64*)c = 0;
- # if WORDS_BIGENDIAN
- c += 4;
- # endif
- #endif
-- transparent_index = ' ';
- Fl::get_color(bg, c[0], c[1], c[2]); c[3] = 0;
- p += 4;
- ncolors--;