Subject: Re: HEADS UP: Package removal candidates
To: None <tech-pkg@NetBSD.org>
From: Rui-Xiang Guo <rxg@NetBSD.org>
List: tech-pkg
Date: 12/06/2005 21:57:23
--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> inputmethod/unicon-im				rxg
> 
> Tries to compile against pth -- should use native threads instead.
> (currently build fails because it finds both pth and native pthread
> header files).

I think I find the solution, please try the attached patches.
They works for me under -current.

-rxg

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ah

$NetBSD$

--- server/TLS_Debug.cpp.orig	2000-05-12 14:53:46.000000000 +0800
+++ server/TLS_Debug.cpp
@@ -1,14 +1,12 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <iostream.h>
-#include <fstream.h>
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <string.h>
 #include <TLS_Debug.hpp>
-TLS_CDebug::TLS_CDebug (char *szFileName, int mode = 0)
+TLS_CDebug::TLS_CDebug (char *szFileName, int mode)
 {
     if (szFileName == NULL)
     {

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ai

$NetBSD$

--- server/TLS_LibMain.cpp.orig	2005-12-06 21:43:48.000000000 +0800
+++ server/TLS_LibMain.cpp
@@ -33,10 +33,8 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <signal.h>
 #include <netdb.h>
 #include <unistd.h>
-#include <iostream.h>
 #include <pth.h>
 
 #include <TLS_MemFile.hpp>

--qDbXVdCdHGoSgWSk--