[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: [PATCH] Re: KSocks on non-linux systems.
From: Rob Napier <rnapier () employees ! org>
Date: 2001-03-19 19:48:17
[Download RAW message or body]
On Thu, Mar 15, 2001 at 12:54:01PM -0800, Waldo Bastian wrote:
> >From George's CVS message for those who run non-linux but don't read kde-cvs
> :-) Please test.
>
> Added Files:
> ksocks.cpp ksocks.h
> Log Message:
>
> Here's SOCKS support for KDE. This is a generic utility which reimplements
> a bunch of LIBC calls. It can auto-detect the version of SOCKS installed
> and will have a configuration panel in the near future. Right now it works
> with Dante and NEC SOCKS. Note that it does not in any way link to these
> at compile time. You don't need headers or libraries installed. Everything
> is done at runtime.
>
> Please: anyone on non-linux/glibc2 platforms could you check this code and
> see what needs to be done to make it compile for you? I am sure that there
> will be subtle libc and #include differences that need to be addressed.
Solaris fails because socklen_t doesn't exist. The following patch
should fix it (compiles on Solaris, but untested; haven't tried to
compile on Linux).
Rob
---
New file kdelibs/acconfig.h:
/* Define to `size_t' if <sys/types.h> doesn't define. */
#undef socklen_t
Index: configure.in.in
===================================================================
RCS file: /home/projects/kdecvs/cvsroot/kdelibs/kdecore/configure.in.in,v
retrieving revision 1.3
diff -u -3 -p -r1.3 configure.in.in
--- configure.in.in 2001/03/08 22:20:31 1.3
+++ configure.in.in 2001/03/19 19:47:06
@@ -67,4 +67,6 @@ AC_CHECK_HEADERS(netinet/in.h,
]
)
+AC_CHECK_TYPE(socklen_t,size_t)
+
dnl AC_OUTPUT(kdecore/kde-config.cpp)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic