aboutsummaryrefslogtreecommitdiff
path: root/editors/ted/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-27 02:51:57 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-27 02:51:57 +0000
commit0bee400db5c72cd3e14b7372a9c15e2250240fe0 (patch)
treea4cb41052a789efd7271406d73e3d2d4dcdc0b9a /editors/ted/files
parentef4c34b404aaf8a5ab02f2dc4205240917e0538e (diff)
downloadports-0bee400db5c72cd3e14b7372a9c15e2250240fe0.tar.gz
ports-0bee400db5c72cd3e14b7372a9c15e2250240fe0.zip
Notes
Diffstat (limited to 'editors/ted/files')
-rw-r--r--editors/ted/files/patch-aa12
-rw-r--r--editors/ted/files/patch-ab106
2 files changed, 0 insertions, 118 deletions
diff --git a/editors/ted/files/patch-aa b/editors/ted/files/patch-aa
deleted file mode 100644
index a7ef754706f0..000000000000
--- a/editors/ted/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-appFrame_appFileChooserMotif_c,v 1.2 2001/07/13 13:28:25 espie Exp $
---- appFrame/appFileChooserMotif.c.orig Sun Apr 8 18:05:30 2001
-+++ appFrame/appFileChooserMotif.c Fri Jul 13 15:04:41 2001
-@@ -524,7 +524,7 @@ static int appMakeFileChooser( AppChoose
- XtSetArg( al[ac], XmNuseAsyncGeometry, True ); ac++;
-
- XtSetArg( al[ac], XmNchildPlacement,XmPLACE_ABOVE_SELECTION ); ac++;
--# if XmVersion >= 2000
-+# if XmVersion >= 2000 && !defined(LESSTIF_VERSION)
- XtSetArg( al[ac], XmNfileFilterStyle,
- XmFILTER_HIDDEN_FILES ); ac++;
- # endif
diff --git a/editors/ted/files/patch-ab b/editors/ted/files/patch-ab
deleted file mode 100644
index d3f8c4de6f44..000000000000
--- a/editors/ted/files/patch-ab
+++ /dev/null
@@ -1,106 +0,0 @@
-$OpenBSD: patch-bitmap_bmpng_c,v 1.1 2001/07/13 13:28:26 espie Exp $
---- bitmap/bmpng.c.orig Fri Jul 13 15:07:41 2001
-+++ bitmap/bmpng.c Fri Jul 13 15:15:19 2001
-@@ -148,7 +148,7 @@ int bmReadPngFile( const char * filenam
- FILE * f;
-
- png_struct png;
-- png_info pngi;
-+ png_infop pngi;
-
- unsigned char * buffer;
-
-@@ -167,30 +167,30 @@ int bmReadPngFile( const char * filenam
- if ( setjmp( png.jmpbuf ) )
- {
- SDEB(filename);
-- png_read_destroy( &png, &pngi, (png_info *)0 );
-+ png_read_destroy( &png, pngi, (png_info *)0 );
- fclose( f );
- return -1;
- }
-
-- png_info_init( &pngi );
-+ pngi = png_create_info_struct(&png);
- png_read_init( &png );
-
- png_init_io( &png, f );
-
-- png_read_info( &png, &pngi );
-+ png_read_info( &png, pngi );
-
-- if ( bpPngiToBitmap( &pngi, bd ) )
-+ if ( bpPngiToBitmap( pngi, bd ) )
- {
- LLDEB(bd->bdColorCount,bd->bdRGB8Palette);
-- png_read_destroy( &png, &pngi, (png_info *)0 );
-+ png_read_destroy( &png, pngi, (png_info *)0 );
- fclose( f );
- return -1;
- }
-
-- if ( bmPngReadContents( &pngi, &png, bd, &buffer ) )
-+ if ( bmPngReadContents( pngi, &png, bd, &buffer ) )
- {
- LLDEB(bd->bdBufferLength,buffer);
-- png_read_destroy( &png, &pngi, (png_info *)0 );
-+ png_read_destroy( &png, pngi, (png_info *)0 );
- fclose( f );
- return -1;
- }
-@@ -200,6 +200,8 @@ int bmReadPngFile( const char * filenam
- *pBuffer= buffer;
- *pPrivateFormat= 0;
-
-+ png_destroy_info_struct(&png, &pngi);
-+
- return 0;
- }
-
-@@ -227,37 +229,38 @@ int bmPngReadPng( BitmapDescription * bd
- SimpleInputStream * sis )
- {
- png_struct png;
-- png_info pngi;
-+ png_infop pngi;
-
- unsigned char * buffer;
-
- if ( setjmp( png.jmpbuf ) )
-- { LDEB(1); png_read_destroy( &png, &pngi, (png_info *)0 ); return -1; }
-+ { LDEB(1); png_read_destroy( &png, pngi, (png_info *)0 ); return -1; }
-
-- png_info_init( &pngi );
-+ pngi = png_create_info_struct(&png);
- png_read_init( &png );
-
- png_init_io( &png, (FILE *)0 );
- png_set_read_fn( &png, (void *)sis, bmReadPngBytes );
-
-- png_read_info( &png, &pngi );
-+ png_read_info( &png, pngi );
-
-- if ( bpPngiToBitmap( &pngi, bd ) )
-+ if ( bpPngiToBitmap( pngi, bd ) )
- {
- LLDEB(bd->bdColorCount,bd->bdRGB8Palette);
-- png_read_destroy( &png, &pngi, (png_info *)0 );
-+ png_read_destroy( &png, pngi, (png_info *)0 );
- return -1;
- }
-
-- if ( bmPngReadContents( &pngi, &png, bd, &buffer ) )
-+ if ( bmPngReadContents( pngi, &png, bd, &buffer ) )
- {
- LLDEB(bd->bdBufferLength,buffer);
-- png_read_destroy( &png, &pngi, (png_info *)0 );
-+ png_read_destroy( &png, pngi, (png_info *)0 );
- return -1;
- }
-
- *pBuffer= buffer;
-
-+ png_destroy_info_struct(&png, &pngi);
- return 0;
- }
-