diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
commit | e497906508084a5501f27a53a8ec0f23aa446e5b (patch) | |
tree | 152d32d807e92b14ac8ade604a4d650b637b1e93 /multimedia/mpegedit/files/patch-ag | |
parent | A new index, with 3,403 ports, which is a nice number, being 41 times (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_5_0'.release/3.5.0
Diffstat (limited to 'multimedia/mpegedit/files/patch-ag')
-rw-r--r-- | multimedia/mpegedit/files/patch-ag | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/multimedia/mpegedit/files/patch-ag b/multimedia/mpegedit/files/patch-ag deleted file mode 100644 index dc90768c2832..000000000000 --- a/multimedia/mpegedit/files/patch-ag +++ /dev/null @@ -1,47 +0,0 @@ ---- editor/tiny_window.C.orig Mon May 8 16:09:07 1995 -+++ editor/tiny_window.C Thu Feb 3 21:33:57 2000 -@@ -24,6 +24,8 @@ - #include <assert.h> - #include <stdlib.h> - -+extern "C" int XShmGetEventBase(Display *); -+ - TinyWindow::TinyWindow(UI_Globals *parent,world_c x,world_c y, - unsigned int height,unsigned int width, - void (*cb)(void) ) -@@ -137,7 +139,7 @@ - - ximage=XCreateImage(DispPointer(),None,8,ZPixmap,0,&dummy, - width/2,height/2,8,0); -- ximage->data = new byte[ximage->bytes_per_line*height/2]; -+ ximage->data = (char *) new byte[ximage->bytes_per_line*height/2]; - assert(ximage->data!=NULL); - #ifdef SH_MEM - } -@@ -154,7 +156,7 @@ - for(int j = 0; j < GRAY_RANGE; j ++) - { - tmp_pixel = col_array[j]; -- XFreeColors(DispPointer(), Colourmap, &tmp_pixel, 1, 0); -+ XFreeColors(DispPointer(), Colourmap, (unsigned long int *) &tmp_pixel, 1, 0); - } - XFreeGC(DispPointer(),gc); - -@@ -222,7 +224,7 @@ - for(int j = 0; j < i; j ++) - { - tmp_pixel = col_array[j]; -- XFreeColors(DispPointer(), Colourmap, &tmp_pixel, 1, 0); -+ XFreeColors(DispPointer(), Colourmap, (unsigned long int*) &tmp_pixel, 1, 0); - } - cerr << "Unable to allocate the colours required to make the\n" - << "monochrome window. Please re-run with the option " -@@ -254,7 +256,7 @@ - { - assert(Frame.width()/2==ximage->width); - assert(Frame.height()/2==ximage->height); -- DitherImage(Frame.lum_ptr(),ximage->data,ximage->height,ximage->width); -+ DitherImage(Frame.lum_ptr(),(unsigned char *)ximage->data,ximage->height,ximage->width); - if(nicely) - { - XEvent Event; |