diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 08:56:41 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 08:56:41 +0000 |
| commit | 9be9c4c1dafe17e16a81322515a375b6574e2bb7 (patch) | |
| tree | 9ae73276b422d1766d18a0fdeeb964c5f2073690 /graphics/xdl/files/patch-ac | |
| parent | Isolate from src.conf settings such as WITHOUT_PROFILE. (diff) | |
Remove unmaintained expired ports from graphics
2011-05-01 graphics/cqcam: Upstream disapear and distfile is no more available
2011-05-01 graphics/dc3play: Upstream disapear and distfile is no more available
2011-05-01 graphics/dore: Upstream disapear and distfile is no more available
2011-05-01 graphics/fig2pstricks: Upstream disapear and distfile is no more available
2011-05-01 graphics/geist: Upstream disapear and distfile is no more available
2011-05-01 graphics/gfont: Upstream disapear and distfile is no more available
2011-05-01 graphics/gimp-greycstoration: Superseded by graphics/gimp-gmic-plugin
2011-05-01 graphics/glean: Upstream disapear and distfile is no more available
2011-05-01 graphics/gltk: Upstream disapear and distfile is no more available
2011-05-01 graphics/gridpix: Upstream disapear and distfile is no more available
2011-05-01 graphics/gtkfig: Upstream disapear and distfile is no more available
2011-05-01 graphics/gview: Upstream disapear and distfile is no more available
2011-05-01 graphics/icod: Upstream disapear and distfile is no more available
2011-05-01 graphics/isreal: Upstream disapear and distfile is no more available
2011-05-01 graphics/oglext: Upstream disapear and distfile is no more available
2011-05-01 graphics/ophoto: Upstream disapear and distfile is no more available
2011-05-01 graphics/py-gdchart: Upstream disapear and distfile is no more available
2011-05-01 graphics/py-gdchart2: Upstream disapear and distfile is no more available
2011-05-01 graphics/qglviewer: Upstream disapear and distfile is no more available
2011-05-01 graphics/robot: Upstream disapear and distfile is no more available
2011-05-01 graphics/s3switch: Upstream disapear and distfile is no more available
2011-05-01 graphics/sced: Upstream disapear and distfile is no more available
2011-05-01 graphics/shim: Upstream disapear and distfile is no more available
2011-05-01 graphics/snx101util: Upstream disapear and distfile is no more available
2011-05-01 graphics/tcm: Upstream disapear and distfile is no more available
2011-05-01 graphics/vertex: Upstream disapear and distfile is no more available
2011-05-01 graphics/vvv: Upstream disapear and distfile is no more available
2011-05-01 graphics/xdl: Upstream disapear and distfile is no more available
2011-05-01 graphics/xmms-goom: Upstream disapear and distfile is no more available
2011-05-01 graphics/xmms-infinity: Upstream disapear and distfile is no more available
Diffstat (limited to 'graphics/xdl/files/patch-ac')
| -rw-r--r-- | graphics/xdl/files/patch-ac | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/graphics/xdl/files/patch-ac b/graphics/xdl/files/patch-ac deleted file mode 100644 index 1d6d055574bc..000000000000 --- a/graphics/xdl/files/patch-ac +++ /dev/null @@ -1,63 +0,0 @@ ---- xdl.c.orig Thu Feb 4 08:14:02 1993 -+++ xdl.c Sat Jan 29 02:13:28 2000 -@@ -20,7 +20,11 @@ - - #include <stdio.h> - #include <signal.h> -+#ifdef __STDC__ -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - #include <sys/types.h> - #ifdef BSDTYPES - #include <sys/bsdtypes.h> -@@ -215,6 +219,16 @@ - } - - -+void -+freepixmaps(dlinfo) -+ DL_info dlinfo; -+{ -+ int i, j; -+ for (j = 0; j < dlinfo.num_screen; j++) -+ for (i = 0; i < dlinfo.images_per_screen; i++) -+ XFreePixmap(x_display, pixmap[j * (dlinfo.format * 3 + 1) + i]); -+} -+ - static void die(s)char*s;{fprintf(stderr,"%s\n",s);exit(1);} - static void dummy(){}; - -@@ -468,6 +482,18 @@ - } else if (x_depth == 8) { - x_image->data[pixelcount++] = (u_char)pixels[*src]; - -+ } else if (x_depth == 16) { -+ if (x_image->byte_order == MSBFirst) { -+ x_image->data[pixelcount++] -+ = (pixels[*src]>>8) & 0xff; -+ x_image->data[pixelcount++] -+ = pixels[*src] & 0xff; -+ } else { -+ x_image->data[pixelcount++] -+ = pixels[*src] & 0xff; -+ x_image->data[pixelcount++] -+ = (pixels[*src]>>8) & 0xff; -+ } - } else { /* 24 or 32 bits */ - if (x_image->byte_order == MSBFirst) { - x_image->data[pixelcount++] = 0; -@@ -607,8 +633,11 @@ - #endif - if (x_depth == 8) - XFreeColormap(x_display, cmap); -+ freepixmaps(dlinfo); - return; -- case 3: exit(0); -+ case 3: -+ freepixmaps(dlinfo); -+ exit(0); - } - } - } |
