Files
ports/editors/ted/files/patch-textEncoding_sioIconv.c
T
Kousuke Kannagi 2f77f431ce editors/ted: Refactoring
Lint with portclippy and portfmt.
Refactoring do-install.
Regenerate patchfile.

PR:		291942
Approved by:	osa (mentor)
2026-03-22 14:56:03 +09:00

15 lines
365 B
C

--- textEncoding/sioIconv.c.orig 2013-02-01 12:11:08 UTC
+++ textEncoding/sioIconv.c
@@ -61,11 +61,7 @@ static int sioInIconvReadBytes( void *
/* 1 */
while( ! tooBig )
{
-# if defined(__GNUC__) && ! defined(iconv)
char * inbuf= (char *)iis->iisInBuf;
-# else
- const char * inbuf= (const char *)iis->iisInBuf;
-# endif
int got;
/* 2 */