[kde-solaris] krfb patch
Tobias Oetiker
oetiker at ee.ethz.ch
Wed May 28 09:24:51 CEST 2003
I found that I need the following patch to make krfb (kdenetwork) build in 3.1.2
--- krfb/srvloc/kinetaddr.cpp~ Sun Mar 2 20:08:35 2003
+++ krfb/srvloc/kinetaddr.cpp Fri Mar 21 22:18:21 2003
@@ -143,7 +143,7 @@
{
char buf[INET6_ADDRSTRLEN+1]; // INET6_ADDRSTRLEN >
INET_ADDRSTRLEN
-#ifdef __osf__ || defined(sun)
+#if defined(__osf__) || defined(sun)
if (d->sockfamily == AF_INET) {
char *p = inet_ntoa(d->in);
strncpy(buf, p, sizeof(buf));
--- krfb/srvloc/kinetaddr.h~ Sun Mar 2 20:08:35 2003
+++ krfb/srvloc/kinetaddr.h Sat Mar 22 15:49:21 2003
@@ -29,7 +29,7 @@
#include <arpa/inet.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(sun)
#include <sys/socket.h>
#endif
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286
More information about the kde-solaris
mailing list