head	1.2;
access;
symbols
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.12.04.21.32.31;	author rene;	state dead;
branches;
next	1.1;

1.1
date	2008.01.26.22.45.15;	author pav;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Garbage collect old ports:
2010-11-15 archivers/linux-par2cmdline: Native version available
2010-11-15 audio/bmp-musepack: does not build with audio/musepack
2010-11-15 audio/libmpcdec: superseded by audio/musepack
2010-11-15 audio/py-musepack: does not build with audio/musepack
2010-12-01 chinese/chinput3: Development has ceased.
2010-12-01 emulators/dynagen-devel: Please install emulators/dynagen instead
2010-11-24 net-p2p/gift-fasttrack: unmaintained upstream
2010-11-24 net-p2p/gift-gnutella: unmaintained upstream
2010-11-24 net-p2p/gift-openft: unmaintained upstream
2010-11-24 net-p2p/pyslsk: unmantained upstream, use net-p2p/nicotine-plus
2010-11-11 security/pamsfs: SFS is dead, this project is dead, and site is gone
2010-11-10 www/p5-Catalyst-Plugin-CommandLine: The module is not needed any more. With new Catalyst (at least 5.7014) it works out of the box.
@
text
@--- src/unicon-im/ImmModules/turbo/cin2tab.c.orig	2008-01-25 14:10:08.000000000 -0800
+++ src/unicon-im/ImmModules/turbo/cin2tab.c	2008-01-25 14:37:33.000000000 -0800
@@@@ -29,6 +29,7 @@@@
 #include <sys/types.h>
 #include <string.h>
 #include <unistd.h>
+#include <ctype.h> // for tolower
 #include "xl_hzinput.h"
 #include "xl_sysphrase.h"
 #include "xl_phrase.h"
@@@@ -194,24 +195,24 @@@@
     /************** Now some basic information ************************/
     strcpy(InpTable.magic_number,MAGIC_NUMBER);
     cmd_arg(tt, &cmd, &arg);
-    if (strcmp(cmd,"%ename") || !(*arg) )
+    if (strcmp((const char*)cmd,"%ename") || !(*arg) )
         print_error("%d:  %%ename english_name  expected", lineno);
     arg[CIN_ENAME_LENGTH-1]=0;
     strcpy(InpTable.ename,arg);
 
     cmd_arg(tt, &cmd, &arg);
-    if (strcmp(cmd,"%prompt") || !(*arg) )
+    if (strcmp((const char*)cmd,"%prompt") || !(*arg) )
         print_error("%d:  %%prompt prompt_name  expected", lineno);
     arg [CIN_CNAME_LENGTH-1]=0;
     strcpy(InpTable.cname, arg);
 
     cmd_arg(tt,&cmd, &arg); 
-    if (strcmp(cmd,"%selkey") || !(*arg) )
+    if (strcmp((const char*)cmd,"%selkey") || !(*arg) )
         print_error("%d:  %%selkey select_key_list expected", lineno);
     strcpy(InpTable.selkey,arg);
 
     cmd_arg(tt,&cmd, &arg);
-    if (strcmp(cmd,"%last_full") || !(*arg)) 
+    if (strcmp((const char*)cmd,"%last_full") || !(*arg)) 
         InpTable.last_full = 1;
     else 
     {
@@@@ -222,21 +223,21 @@@@
         cmd_arg(tt, &cmd, &arg);
     }
 
-    if (strcmp(cmd,"%dupsel") || !(*arg) )
+    if (strcmp((const char*)cmd,"%dupsel") || !(*arg) )
         print_error("%d:  %%dupsel NO of dup sel keys  expected", lineno);
     InpTable.MaxDupSel=atoi(arg);
 
     /*************** now the keyname ****************************/
 
     cmd_arg(tt,&cmd, &arg);
-    if (strcmp(cmd,"%keyname") || strcmp(arg,"begin"))
+    if (strcmp((const char*)cmd,"%keyname") || strcmp((const char*)arg,"begin"))
         print_error("%d:  %%keyname begin   expected", lineno);
 
     TotalKeyNum=0;
     while(1) 
     {
         cmd_arg(tt,&cmd, &arg);
-        if (!strcmp(cmd,"%keyname")) break;
+        if (!strcmp((const char*)cmd,"%keyname")) break;
         k = tolower(cmd[0]);  /* k = char */
         if (InpTable.KeyMap[k]) 
             print_error("%d:  key %c is already used",lineno, k);
@@@@ -265,7 +266,7 @@@@
         cmd_arg(tt,&cmd,&arg);
         if (!cmd[0] || !arg[0]) 
             break;
-        len = strlen(cmd);
+        len = strlen((const char*)cmd);
         if (len > InpTable.MaxPress) 
             InpTable.MaxPress=len;
         if (len > 10) 
@


1.1
log
@- Fix build with GCC 4.2

PR:		ports/119989
Submitted by:	Yuri <yuri@@tsoft.com>
@
text
@@

