--- kdeutils-3.5.0/klaptopdaemon/Makefile.am	2005-09-10 04:21:28.000000000 -0400
+++ kdeutils-3.5.0-new/klaptopdaemon/Makefile.am	2005-11-26 16:00:12.000000000 -0500
@@ -21,7 +21,7 @@
 kcm_laptop_la_SOURCES = battery.cpp main.cpp pcmcia.cpp power.cpp warning.cpp \
 	acpi.cpp sony.cpp profile.cpp buttons.cpp apm.cpp  
 kcm_laptop_la_LDFLAGS  = $(all_libraries) $(KDE_PLUGIN) -module
-kcm_laptop_la_LIBADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la
+kcm_laptop_la_LIBADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la $(LIBZ)
 kcm_laptop_la_COMPILE_FIRST = crcresult.h
 
 AM_CPPFLAGS = $(all_includes)
--- kdeutils-3.5.0/ksim/monitors/snmp/configure.in.in	2005-10-10 10:59:12.000000000 -0400
+++ kdeutils-3.5.0-new/ksim/monitors/snmp/configure.in.in	2005-11-26 16:01:00.000000000 -0500
@@ -32,4 +32,4 @@
   fi
 fi
 
-AM_CONDITIONAL(include_ksim_monitors_snmp, test "x$enable_snmp" = xyes)
+AM_CONDITIONAL(include_ksim_monitors_snmp, /usr/bin/false)
--- kdeutils-3.5.0/superkaramba/src/Makefile.am	2005-09-12 09:21:13.000000000 -0400
+++ kdeutils-3.5.0-new/superkaramba/src/Makefile.am	2005-11-27 21:15:58.000000000 -0500
@@ -40,7 +40,7 @@
 
 # kde_cfg_DATA = superkaramba.kcfg
 
-superkaramba_LDFLAGS = -Wl,-export-dynamic  $(KDE_RPATH) $(all_libraries) $(PYTHONLIB) $(XMMS_LDFLAGS)
+superkaramba_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(PYTHONLIB) $(XMMS_LDFLAGS)
 #superkaramba_LDADD = -lkio $(LIB_KDEUI) $(XMMS_LDADD) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)
 superkaramba_LDADD = -lkio $(LIB_KDEUI) $(XMMS_LIBS) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)
 
--- kdeutils-3.5.0/superkaramba/configure.in.in	2005-10-10 10:59:13.000000000 -0400
+++ kdeutils-3.5.0-new/superkaramba/configure.in.in	2006-01-16 22:24:41.000000000 -0500
@@ -71,3 +71,5 @@
 if test -z "$PYTHONINC" ; then
         DO_NOT_COMPILE="$DO_NOT_COMPILE superkaramba"
 fi
+
+AC_CHECK_HEADERS(netinet/in.h sys/sockio.h)
--- kdeutils-3.5.0/superkaramba/src/misc_python.cpp	2005-11-19 05:02:57.000000000 -0500
+++ kdeutils-3.5.0-new/superkaramba/src/misc_python.cpp	2006-01-16 22:25:28.000000000 -0500
@@ -425,10 +425,10 @@
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <arpa/inet.h>
-#ifdef __FreeBSD__
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
-#if defined(Q_OS_SOLARIS)
+#ifdef HAVE_SYS_SOCKIO_H
 #include <sys/sockio.h>
 #endif
 /* now a method we need to expose to Python */
