Index: trunk/dports/x11/kdebase3/Portfile
===================================================================
--- trunk/dports/x11/kdebase3/Portfile	(revision 3003)
+++ trunk/dports/x11/kdebase3/Portfile	(revision 3004)
@@ -1,8 +1,8 @@
-# $Id: Portfile,v 1.14 2003/06/29 14:44:03 ranger Exp $
+# $Id: Portfile,v 1.15 2003/07/04 03:40:32 ranger Exp $
 
 PortSystem 1.0
 name		kdebase3
 version		3.1.2
-revision	2
+revision	3
 categories	x11
 maintainers	ranger@befunk.com
@@ -160,50 +160,7 @@
 
 		distname kdebase
-		distfiles kde-admindir-cvs-20030627.tar.bz2:admin detect-autoconf.tar.bz2:darwin
-		checksums kde-admindir-cvs-20030627.tar.bz2 md5 5ff702f5a6cf2b079cd6f595208a5573 \
-			detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
-
-		patchfiles \
-			current/patch-kdebase-kcheckpass-checkpass_pam.c.diff \
-			current/patch-kdebase-kcontrol-access-Makefile.am.diff \
-			current/patch-kdebase-kcontrol-info-info.cpp.diff \
-			current/patch-kdebase-kcontrol-info-info_osx.cpp.diff \
-			current/patch-kdebase-kcontrol-info-Makefile.am.diff \
-			current/patch-kdebase-kcontrol-info-memory.cpp.diff \
-			current/patch-kdebase-kcontrol-info-memory_osx.cpp.diff \
-			current/patch-kdebase-kcontrol-kcontrol-Makefile.am.diff \
-			current/patch-kdebase-kcontrol-kcontrol-kcmshell.cpp.diff \
-			current/patch-kdebase-kcontrol-kcontrol-kcminit.cpp.diff \
-			current/patch-kdebase-kcontrol-kcontrol-main.cpp.diff \
-			current/patch-kdebase-kcontrol-kfontinst-configure.in.in.diff \
-			current/patch-kdebase-kcontrol-kfontinst-kfontinst-FontEngine.cpp.diff \
-			current/patch-kdebase-kdesktop-Makefile.am.diff \
-			current/patch-kdebase-kdeprint-kprinter-Makefile.am.diff \
-			current/patch-kdebase-kdm-backend-client.c.diff \
-			current/patch-kdebase-kdm-backend-dm.h.diff \
-			current/patch-kdebase-kdm-kfrontend-liloinfo.h.diff \
-			current/patch-kdebase-khotkeys-khotkeys-Makefile.am.diff \
-			current/patch-kdebase-kicker-applets-launcher-Makefile.am.diff \
-			current/patch-kdebase-kicker-extensions-childpanel-Makefile.am.diff \
-			current/patch-kdebase-kicker-Makefile.am.diff \
-			current/patch-kdebase-kicker-proxy-Makefile.am.diff \
-			current/patch-kdebase-kicker-share-Makefile.am.diff \
-			current/patch-kdebase-kicker-taskmanager-Makefile.am.diff \
-			current/patch-kdebase-kioslave-devices-configure.in.in.diff \
-			current/patch-kdebase-kioslave-ldap-configure.in.in.diff \
-			current/patch-kdebase-kioslave-Makefile.am.diff \
-			current/patch-kdebase-kioslave-nfs-configure.in.in.diff \
-			current/patch-kdebase-kioslave-nfs-README.diff \
-			current/patch-kdebase-kioslave-smtp-smtp.cc.diff \
-			current/patch-kdebase-klipper-Makefile.am.diff \
-			current/patch-kdebase-kmenuedit-Makefile.am.diff \
-			current/patch-kdebase-konqueror-Makefile.am.diff \
-			current/patch-kdebase-konqueror-keditbookmarks-Makefile.am.diff \
-			current/patch-kdebase-konqueror-sidebar-trees-Makefile.am.diff \
-			current/patch-kdebase-ksmserver-Makefile.am.diff \
-			current/patch-kdebase-ksysguard-configure.in.in.diff \
-			current/patch-kdebase-libkonq-Makefile.am.diff \
-			current/patch-kdebase-nsplugins-pluginscan.cpp.diff \
-			current/patch-kdebase-startkde.diff
+		distfiles kde-admindir-cvs-20030701.tar.bz2:admin
+		checksums kde-admindir-cvs-20030701.tar.bz2 md5 b9bf2dc286d2e434c2cfdadc421c79b6
+		patchfiles current/patch-kdebase.diff
 }
 
@@ -224,6 +181,6 @@
 		--with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
 		--enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
-		--libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
-		--disable-dependency-tracking --without-nfs --with-ldap
+		--libexecdir='${prefix}/lib' --with-xinerama --disable-final \
+		--disable-dependency-tracking --without-nfs --with-ldap --with-pam
 build.env	${configure.env}
 build.target	all apidox
@@ -231,4 +188,5 @@
 		system "install -d -m 755 ${destroot}/private/etc/pam.d"
 		system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/private/etc/pam.d/kde"
+		system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/private/etc/pam.d/kdm"
 		system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/private/etc/pam.d/kcheckpass"
 		system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/private/etc/pam.d/kscreensaver"
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcheckpass-checkpass_pam.c.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcheckpass-checkpass_pam.c.diff	(revision 3003)
+++ 	(revision )
@@ -1,15 +1,0 @@
---- kcheckpass/checkpass_pam.c	25 Jun 2002 02:03:44 -0000	1.1.1.1
-+++ kcheckpass/checkpass_pam.c	21 Nov 2002 21:28:36 -0000	1.2
-@@ -26,7 +26,12 @@
-  *****************************************************************/
- #include <stdlib.h>
- #include <string.h>
-+
-+#ifdef HAVE_PAM_PAM_APPL_H
-+#include <pam/pam_appl.h>
-+#else
- #include <security/pam_appl.h>
-+#endif
- 
- static const char *PAM_username;
- static const char *PAM_password;
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-access-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-access-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,30 +1,0 @@
-Index: kcontrol/access/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/access/Makefile.am,v
-retrieving revision 1.11
-diff -u -u -r1.11 Makefile.am
---- kcontrol/access/Makefile.am	9 Apr 2003 12:48:25 -0000	1.11
-+++ kcontrol/access/Makefile.am	29 Jun 2003 02:08:00 -0000
-@@ -2,14 +2,8 @@
- INCLUDES= $(all_includes)
- METASOURCES = AUTO
- 
--bin_PROGRAMS = kaccess
--
--kaccess_SOURCES = dummy.cpp
--kaccess_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--kaccess_LDADD = kaccess.la
--
- kde_module_LTLIBRARIES = kcm_access.la
--lib_LTLIBRARIES = kaccess.la
-+kdeinit_LTLIBRARIES = kaccess.la
- 
- kaccess_la_SOURCES = kaccess.cpp main.cpp
- kaccess_la_LDFLAGS = $(all_libraries) -module -avoid-version
-@@ -32,6 +26,3 @@
- messages:
- 	$(XGETTEXT) $(kaccess_la_SOURCES) -o $(podir)/kaccess.pot
- 	$(XGETTEXT) $(kcm_access_la_SOURCES) -o $(podir)/kcmaccess.pot
--
--dummy.cpp:
--	echo > dummy.cpp
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,11 +1,0 @@
---- kcontrol/info/Makefile.am	25 Jun 2002 02:03:45 -0000	1.1.1.1
-+++ kcontrol/info/Makefile.am	24 Nov 2002 07:11:28 -0000	1.4
-@@ -2,7 +2,7 @@
- 
- kcm_info_la_SOURCES = main.cpp memory.cpp
- 
--kcm_info_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
-+kcm_info_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined $(FRAMEWORK_COREAUDIO)
- kcm_info_la_LIBADD = $(LIBALIB) $(LIB_KDEUI) $(LIB_TRU64_MACH) $(LIBCFG) $(LIBODM) $(LIBKSTAT) $(LIBDEVINFO)
- 
- INCLUDES= $(all_includes)
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-info.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-info.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kcontrol/info/info.cpp
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/info/info.cpp,v
-retrieving revision 1.64
-diff -u -b -u -r1.64 info.cpp
---- kcontrol/info/info.cpp	22 Jun 2003 23:37:33 -0000	1.64
-+++ kcontrol/info/info.cpp	27 Jun 2003 20:15:51 -0000
-@@ -489,6 +489,8 @@
- #include "info_svr4.cpp"
- #elif _AIX
- #include "info_aix.cpp"
-+#elif defined(__APPLE__)
-+#include "info_osx.cpp"
- #else
- #include "info_generic.cpp"	/* Default for unsupportet systems.... */
- #endif
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-info_osx.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-info_osx.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,166 +1,0 @@
---- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ kcontrol/info/info_osx.cpp	25 Jun 2002 02:06:13 -0000	1.1
-@@ -0,0 +1,163 @@
-+/*
-+ * kdebase3-3.0.1-3.patch,v 1.2 2002/06/24 01:48:12 ranger Exp
-+ *
-+ * info_fbsd.cpp is part of the KDE program kcminfo.  This displays
-+ * various information about the system (hopefully a FreeBSD system)
-+ * it's running on.
-+ */
-+
-+#define INFO_CPU_AVAILABLE
-+//#define INFO_IRQ_AVAILABLE
-+//#define INFO_DMA_AVAILABLE
-+//#define INFO_PCI_AVAILABLE
-+//#define INFO_IOPORTS_AVAILABLE
-+#define INFO_SOUND_AVAILABLE
-+#define INFO_DEVICES_AVAILABLE
-+#define INFO_SCSI_AVAILABLE
-+#define INFO_PARTITIONS_AVAILABLE
-+#define INFO_XSERVER_AVAILABLE
-+
-+/*
-+ * all following functions should return TRUE, when the Information
-+ * was filled into the lBox-Widget. Returning FALSE indicates that
-+ * information was not available.
-+ */
-+
-+#include <sys/types.h>
-+#include <sys/sysctl.h>
-+
-+#include <fstab.h>
-+#include <stdio.h>
-+#include <stdlib.h>
-+
-+#include <iostream.h>
-+
-+#include <qdict.h>
-+#include <qfile.h>
-+#include <qfontmetrics.h>
-+#include <qptrlist.h>
-+#include <qstring.h>
-+#include <qtextstream.h>
-+
-+#include <kdebug.h>
-+
-+#include <mach/mach.h>
-+#include <mach-o/arch.h>
-+
-+#ifdef HAVE_COREAUDIO
-+#include <CoreAudio/CoreAudio.h>
-+#endif
-+
-+#include <machine/limits.h>
-+
-+bool GetInfo_CPU (QListView *lBox)
-+{
-+
-+	QString cpustring;
-+
-+        kern_return_t ret;
-+        struct host_basic_info basic_info;
-+        unsigned int count=HOST_BASIC_INFO_COUNT;
-+
-+        ret=host_info(mach_host_self(), HOST_BASIC_INFO, 
-+                (host_info_t)&basic_info, &count);
-+        if (ret != KERN_SUCCESS) {
-+		kdDebug() << "unable to get host information from mach" << endl;
-+		return false;
-+        } else {
-+		kdDebug() << "got Host Info: (" << basic_info.avail_cpus << ") CPUs available" << endl;
-+        	const NXArchInfo *archinfo;
-+        	archinfo=NXGetArchInfoFromCpuType(basic_info.cpu_type, basic_info.cpu_subtype);
-+		new QListViewItem(lBox, i18n("Kernel is configured for %1 CPUs").arg(basic_info.max_cpus));
-+		for (int i = 1; i <= basic_info.avail_cpus; i++) {
-+			cpustring = i18n("CPU %1: %2").arg(i).arg(archinfo->description);
-+			new QListViewItem(lBox, cpustring);
-+		}
-+		return true;
-+	}
-+	return false;
-+}
-+
-+bool GetInfo_IRQ (QListView *)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_DMA (QListView *)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_PCI (QListView *)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_IO_Ports (QListView *)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_Sound (QListView *lBox)
-+{
-+#ifdef HAVE_COREAUDIO
-+#define kMaxStringSize 1024
-+	OSStatus status;
-+	AudioDeviceID gOutputDeviceID;
-+	unsigned long propertySize;
-+	char deviceName[kMaxStringSize];
-+	char manufacturer[kMaxStringSize];
-+	propertySize = sizeof(gOutputDeviceID);
-+	status = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultOutputDevice, &propertySize, &gOutputDeviceID);
-+	if (status) {
-+		kdDebug() << "get default output device failed, status = " << (int)status << endl;
-+		return false;
-+	}
-+
-+	if (gOutputDeviceID != kAudioDeviceUnknown) {
-+
-+		propertySize = kMaxStringSize;
-+
-+		/* Device Name */
-+		status = AudioDeviceGetProperty(gOutputDeviceID, 1, 0, kAudioDevicePropertyDeviceName, &propertySize, deviceName);
-+		if (status) {
-+			kdDebug() << "get device name failed, status = " << (int)status << endl;
-+			return false;
-+		}
-+		new QListViewItem(lBox, i18n("Device Name: %1").arg(deviceName));
-+
-+		/* Manufacturer */
-+		status = AudioDeviceGetProperty(gOutputDeviceID, 1, 0, kAudioDevicePropertyDeviceManufacturer, &propertySize, manufacturer);
-+		if (status) {
-+			kdDebug() << "get manufacturer failed, status = " << (int)status << endl;
-+			return false;
-+		}
-+		new QListViewItem(lBox, i18n("Manufacturer: %1").arg(manufacturer));
-+		return true;
-+	} else {
-+		return false;
-+	}
-+#else
-+	return false;
-+#endif
-+}
-+
-+bool GetInfo_SCSI (QListView *lbox)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_Partitions (QListView *lbox)
-+{
-+	return false;
-+}
-+
-+bool GetInfo_XServer_and_Video (QListView *lBox)
-+{
-+	return GetInfo_XServer_Generic( lBox );
-+}
-+
-+bool GetInfo_Devices (QListView *lbox)
-+{
-+	return false;
-+}
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-memory.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-memory.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kcontrol/info/memory.cpp
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/info/memory.cpp,v
-retrieving revision 1.57
-diff -u -b -u -r1.57 memory.cpp
---- kcontrol/info/memory.cpp	20 May 2003 21:07:30 -0000	1.57
-+++ kcontrol/info/memory.cpp	17 Jun 2003 17:03:37 -0000
-@@ -456,6 +456,8 @@
- 
- #ifdef __linux__
- #include "memory_linux.cpp"
-+#elif defined(__APPLE__)
-+#include "memory_osx.cpp"
- #elif defined(sgi) && sgi
- #include "memory_sgi.cpp"
- #elif defined(__svr4__) && defined(sun)
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-memory_osx.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-info-memory_osx.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,75 +1,0 @@
---- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ kcontrol/info/memory_osx.cpp	25 Jun 2002 02:06:13 -0000	1.1
-@@ -0,0 +1,72 @@
-+#include <unistd.h>
-+#include <stdlib.h>
-+#include <qfile.h>
-+#include <mach/mach_init.h>
-+#include <mach/mach_host.h>
-+#include <mach/host_info.h>
-+#include <sys/stat.h>
-+#include <dirent.h>
-+#include <kdebug.h>
-+
-+void KMemoryWidget::update()
-+{
-+
-+	vm_statistics_data_t vm_info;
-+	mach_msg_type_number_t info_count;
-+	DIR *dirp;
-+	struct dirent *dp;
-+	off_t total;
-+
-+	info_count = HOST_VM_INFO_COUNT;
-+	if (host_statistics(mach_host_self (), HOST_VM_INFO, (host_info_t)&vm_info, &info_count)) {
-+		kdDebug() << "could not get memory statistics" << endl;
-+		return;
-+	}
-+
-+	Memory_Info[TOTAL_MEM]    = (vm_info.active_count + vm_info.inactive_count +
-+		vm_info.free_count + vm_info.wire_count) * vm_page_size;
-+	Memory_Info[FREE_MEM]     = vm_info.free_count * vm_page_size;
-+	Memory_Info[SHARED_MEM]   = NO_MEMORY_INFO;
-+	Memory_Info[BUFFER_MEM]   = NO_MEMORY_INFO;
-+	Memory_Info[CACHED_MEM]   = NO_MEMORY_INFO;
-+
-+	dirp = opendir("/private/var/vm");
-+	if (!dirp) {
-+		kdDebug() << "unable to open /private/var/vm" << endl;
-+		return;
-+	}
-+
-+	total = 0;
-+
-+	while ((dp = readdir (dirp)) != NULL) {
-+		struct stat sb;
-+		char fname [MAXNAMLEN];
-+
-+		if (strncmp (dp->d_name, "swapfile", 8))
-+			continue;
-+
-+		strcpy (fname, "/private/var/vm/");
-+		strcat (fname, dp->d_name);
-+		if (stat (fname, &sb) < 0)
-+			continue;
-+
-+		total += sb.st_size;
-+	}
-+	closedir (dirp);
-+
-+	info_count = HOST_VM_INFO_COUNT;
-+	if (host_statistics (mach_host_self (), HOST_VM_INFO,
-+		(host_info_t) &vm_info, &info_count)) {
-+			kdDebug() << "unable to get VM info" << endl;
-+	}
-+
-+	Memory_Info[SWAP_MEM]     = total;
-+	// off_t used = (vm_info.pageouts - vm_info.pageins) * vm_page_size;
-+	Memory_Info[FREESWAP_MEM] = NO_MEMORY_INFO;
-+
-+	/* free = vm_info.free_count * vm_page_size;
-+	   used = vm_info.active_count * vm_page_size;
-+	   total = (vm_info.active_count + vm_info.inactive_count +
-+		vm_info.free_count + vm_info.wire_count) * vm_page_size; */
-+
-+}
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,45 +1,0 @@
-Index: kcontrol/kcontrol/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/kcontrol/Makefile.am,v
-retrieving revision 1.66
-diff -u -u -r1.66 Makefile.am
---- kcontrol/kcontrol/Makefile.am	9 Apr 2003 12:48:26 -0000	1.66
-+++ kcontrol/kcontrol/Makefile.am	29 Jun 2003 02:02:37 -0000
-@@ -22,10 +22,7 @@
- 
- SUBDIRS = . pics
- 
--CLEANFILES = dummy.cpp
--
--bin_PROGRAMS = kcontrol kcmshell kcminit
--lib_LTLIBRARIES = kcontrol.la kcmshell.la kcminit.la
-+kdeinit_LTLIBRARIES = kcontrol.la kcmshell.la kcminit.la
- 
- kcontrol_la_SOURCES = main.cpp toplevel.cpp indexwidget.cpp searchwidget.cpp \
- 	helpwidget.cpp modules.cpp proxywidget.cpp \
-@@ -45,18 +42,6 @@
- kcminit_la_LIBADD   = $(LIB_KDEUI) $(LIB_KSYCOCA) -lkutils
- kcminit_la_LDFLAGS = $(all_libraries) -module -avoid-version
- 
--kcontrol_SOURCES = dummy.cpp
--kcontrol_LDADD = kcontrol.la
--kcontrol_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
--
--kcmshell_SOURCES = dummy.cpp
--kcmshell_LDADD = kcmshell.la
--kcmshell_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
--
--kcminit_SOURCES = dummy.cpp
--kcminit_LDADD = kcminit.la
--kcminit_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
--
- rccontroldir = $(kde_datadir)/kcontrol
- rccontrol_DATA = kcontrolui.rc
- rcinfodir = $(kde_datadir)/kinfocenter
-@@ -79,6 +64,3 @@
- 
- messages: rc.cpp
- 	$(XGETTEXT) *.cpp -o $(podir)/kcontrol.pot
--
--dummy.cpp:
--	echo > dummy.cpp
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-kcminit.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-kcminit.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kcontrol/kcontrol/kcminit.cpp
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/kcontrol/kcminit.cpp,v
-retrieving revision 1.20
-diff -u -u -r1.20 kcminit.cpp
---- kcontrol/kcontrol/kcminit.cpp	14 Mar 2003 16:05:37 -0000	1.20
-+++ kcontrol/kcontrol/kcminit.cpp	29 Jun 2003 08:20:16 -0000
-@@ -56,7 +56,7 @@
-     return false;
- }
- 
--int main(int argc, char *argv[])
-+int kdemain(int argc, char *argv[])
- {
-   KLocale::setMainCatalogue("kcontrol");
-   KAboutData aboutData( "kcminit", I18N_NOOP("KCMInit"),
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-kcmshell.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-kcmshell.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kcontrol/kcontrol/kcmshell.cpp
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/kcontrol/kcmshell.cpp,v
-retrieving revision 1.64
-diff -u -u -r1.64 kcmshell.cpp
---- kcontrol/kcontrol/kcmshell.cpp	26 May 2003 07:06:12 -0000	1.64
-+++ kcontrol/kcontrol/kcmshell.cpp	29 Jun 2003 08:19:40 -0000
-@@ -125,7 +125,7 @@
- }
- 
- 
--int main(int _argc, char *_argv[])
-+int kdemain(int _argc, char *_argv[])
- {
-     KAboutData aboutData( "kcmshell", I18N_NOOP("KDE Control Module"),
-                           KCONTROL_VERSION,
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-main.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kcontrol-main.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kcontrol/kcontrol/main.cpp
-===================================================================
-RCS file: /home/kde/kdebase/kcontrol/kcontrol/main.cpp,v
-retrieving revision 1.58
-diff -u -u -r1.58 main.cpp
---- kcontrol/kcontrol/main.cpp	14 Mar 2003 16:05:37 -0000	1.58
-+++ kcontrol/kcontrol/main.cpp	29 Jun 2003 08:20:28 -0000
-@@ -85,7 +85,7 @@
-   delete toplevel;
- }
- 
--int main(int argc, char *argv[])
-+int kdemain(int argc, char *argv[])
- {
-   KLocale::setMainCatalogue("kcontrol");
-   KAboutData aboutKControl( "kcontrol", I18N_NOOP("KDE Control Center"),
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kfontinst-configure.in.in.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kfontinst-configure.in.in.diff	(revision 3003)
+++ 	(revision )
@@ -1,10 +1,0 @@
---- kcontrol/kfontinst/configure.in.in	10 Dec 2002 16:41:00 -0000	1.1.1.6
-+++ kcontrol/kfontinst/configure.in.in	1 Jun 2003 14:31:53 -0000	1.6
-@@ -1,6 +1,6 @@
- FOUND_FREETYPE=0
- 
--KDE_FIND_PATH(freetype-config, FREETYPE_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
-+KDE_FIND_PATH(freetype-config, FREETYPE_CONFIG, [/usr/X11R6/bin ${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
-   AC_MSG_WARN([Could not find libfreetype anywhere, check http://www.freetype.org/])
- ])
- 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kfontinst-kfontinst-FontEngine.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kcontrol-kfontinst-kfontinst-FontEngine.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,11 +1,0 @@
---- kcontrol/kfontinst/kfontinst/FontEngine.cpp	6 May 2003 17:58:04 -0000	1.1.1.6
-+++ kcontrol/kfontinst/kfontinst/FontEngine.cpp	6 May 2003 18:23:15 -0000	1.7
-@@ -26,6 +26,8 @@
- // (C) Craig Drummond, 2001
- ////////////////////////////////////////////////////////////////////////////////
- 
-+#include "config.h"
-+
- #include "FontEngine.h"
- #if !defined KFI_THUMBNAIL && !defined KFI_METAINFO
- #include "KfiGlobal.h"
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdeprint-kprinter-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdeprint-kprinter-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kdeprint/kprinter/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kdeprint/kprinter/Makefile.am,v
-retrieving revision 1.8
-diff -u -u -r1.8 Makefile.am
---- kdeprint/kprinter/Makefile.am	28 Jun 2003 03:59:58 -0000	1.8
-+++ kdeprint/kprinter/Makefile.am	28 Jun 2003 22:28:19 -0000
-@@ -5,7 +5,7 @@
- kprinter_la_SOURCES = main.cpp printwrapper.cpp
- kprinter_la_LIBADD = -lkdeprint
- kprinter_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_RPATH)
--kprinter_la_METASOURCES = AUTO
-+METASOURCES = AUTO
- 
- noinst_HEADERS = printwrapper.h
- 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdesktop-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdesktop-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,44 +1,0 @@
-Index: kdesktop/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kdesktop/Makefile.am,v
-retrieving revision 1.82
-diff -u -u -r1.82 Makefile.am
---- kdesktop/Makefile.am	3 Jun 2003 06:16:21 -0000	1.82
-+++ kdesktop/Makefile.am	29 Jun 2003 03:13:15 -0000
-@@ -3,16 +3,13 @@
- INCLUDES = -I$(top_srcdir)/kcontrol/background -I$(top_srcdir)/libkonq $(all_includes)
- kdesktop_la_LDFLAGS  = $(KDE_RPATH) $(all_libraries) -module -avoid-version
- kdesktop_la_LIBADD   = $(top_builddir)/libkonq/libkonq.la $(top_builddir)/kcontrol/background/libbgnd.la $(LIB_XSS)
--kdesktop_LDFLAGS  = $(all_libraries) $(KDE_RPATH)
--kdesktop_LDADD    = kdesktop.la
- 
- SUBDIRS = . lock pics patterns programs init kwebdesktop
- 
- ####### Files
- 
--bin_PROGRAMS = kdesktop
- bin_SCRIPTS = kdeeject
--lib_LTLIBRARIES = kdesktop.la
-+kdeinit_LTLIBRARIES = kdesktop.la
- 
- kdesktop_la_SOURCES = main.cc krootwm.cc xautolock.cc kdiconview.cc desktop.cc \
- 	lockeng.cc KDesktopIface.skel \
-@@ -20,8 +17,6 @@
- 	minicli.cpp KBackgroundIface.skel pixmapserver.cc kcustommenu.cc \
- 	startupid.cpp minicli_ui.ui xautolock_diy.c xautolock_engine.c
- 
--kdesktop_SOURCES = dummy.cc
--
- include_HEADERS = KDesktopIface.h KScreensaverIface.h KBackgroundIface.h
- 
- noinst_HEADERS = desktop.h bgmanager.h krootwm.h \
-@@ -35,9 +30,6 @@
- messages: rc.cpp
- 	$(EXTRACTRC) lock/*.ui >> rc.cpp
- 	$(XGETTEXT) lock/*.cc *.cc *.cpp *.h -o $(podir)/kdesktop.pot
--
--dummy.cc:
--	echo > dummy.cc
- 
- menu_DATA = kdesktop_custom_menu1 kdesktop_custom_menu2
- menudir = $(kde_confdir)
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-backend-client.c.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-backend-client.c.diff	(revision 3003)
+++ 	(revision )
@@ -1,23 +1,0 @@
---- kdm/backend/client.c	6 May 2003 17:50:39 -0000	1.1.1.5
-+++ kdm/backend/client.c	6 May 2003 18:23:16 -0000	1.4
-@@ -38,6 +38,7 @@
-  * user verification and session initiation.
-  */
- 
-+#include <config.h>
- #include "dm.h"
- #include "dm_auth.h"
- #include "dm_error.h"
-@@ -59,7 +60,11 @@
- # endif
- #endif
- #ifdef USE_PAM
--# include <security/pam_appl.h>
-+#ifdef HAVE_PAM_PAM_APPL_H
-+#include <pam/pam_appl.h>
-+#else
-+#include <security/pam_appl.h>
-+#endif
- #elif defined(AIXV3) /* USE_PAM */
- # include <login.h>
- # include <usersec.h>
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-backend-dm.h.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-backend-dm.h.diff	(revision 3003)
+++ 	(revision )
@@ -1,13 +1,0 @@
---- kdm/backend/dm.h	29 Oct 2002 03:04:57 -0000	1.1.1.4
-+++ kdm/backend/dm.h	29 Oct 2002 03:39:31 -0000	1.4
-@@ -41,6 +41,10 @@
- #ifndef _DM_H_
- #define _DM_H_ 1
- 
-+#ifdef __APPLE__
-+#define CSRG_BASED
-+#endif
-+
- #include "greet.h"
- 
- #include <X11/Xos.h>
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-kfrontend-liloinfo.h.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kdm-kfrontend-liloinfo.h.diff	(revision 3003)
+++ 	(revision )
@@ -1,12 +1,0 @@
---- kdm/kfrontend/liloinfo.h	12 May 2003 17:34:35 -0000	1.1.1.4
-+++ kdm/kfrontend/liloinfo.h	12 May 2003 18:26:34 -0000	1.3
-@@ -37,6 +37,9 @@
- 
- #include <kprocess.h>
- 
-+/* stdio on MacOSX defines this to an internal FD :P */
-+#undef stdout
-+
- /*
-  * Errors:
-  *      0 = No error
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-khotkeys-khotkeys-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-khotkeys-khotkeys-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,32 +1,0 @@
-Index: khotkeys/khotkeys/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/khotkeys/khotkeys/Makefile.am,v
-retrieving revision 1.12
-diff -u -u -r1.12 Makefile.am
---- khotkeys/khotkeys/Makefile.am	12 Feb 2002 14:32:08 -0000	1.12
-+++ khotkeys/khotkeys/Makefile.am	29 Jun 2003 01:13:04 -0000
-@@ -1,16 +1,11 @@
- # $Id: Makefile.am,v 1.12 2002/02/12 14:32:08 ellis Exp $
- 
--bin_PROGRAMS = khotkeys
--lib_LTLIBRARIES = khotkeys.la
-+kdeinit_LTLIBRARIES = khotkeys.la
- 
- khotkeys_la_SOURCES = khotkeys.cpp main.cpp khotkeys.skel
- khotkeys_la_LIBADD   = ../shared/libshared.la $(LIB_KSYCOCA)
- khotkeys_la_LDFLAGS = $(all_libraries) -module -avoid-version
- 
--khotkeys_SOURCES = dummy.cpp
--khotkeys_LDADD   = khotkeys.la
--khotkeys_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--
- autostart_DATA = khotkeys.desktop
- autostartdir = $(prefix)/share/autostart
- 
-@@ -19,6 +14,3 @@
- INCLUDES= -I$(srcdir)/../shared $(all_includes)
- 
- METASOURCES = AUTO
--
--dummy.cpp:
--	echo > dummy.cpp
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,40 +1,0 @@
-Index: kicker/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/Makefile.am,v
-retrieving revision 1.70
-diff -u -u -r1.70 Makefile.am
---- kicker/Makefile.am	4 Apr 2003 07:46:24 -0000	1.70
-+++ kicker/Makefile.am	27 Jun 2003 21:40:18 -0000
-@@ -2,10 +2,9 @@
- 
- SUBDIRS = share core ui buttons . proxy taskmanager taskbar applets extensions menuext data
- 
--bin_PROGRAMS = kicker
--lib_LTLIBRARIES = kicker.la
-+kdeinit_LTLIBRARIES = kicker.la
- 
--CLEANFILES = dummy.cpp dummy_la.cpp
-+CLEANFILES = dummy.cpp
- 
- kicker_la_LIBADD = core/libkicker_core.la  buttons/libkicker_buttons.la \
- 	ui/libkicker_ui.la share/libkickermain.la $(LIB_KIO) $(XTESTLIB)
-@@ -13,10 +12,6 @@
- kicker_la_SOURCES = dummy.cpp
- kicker_la_LDFLAGS = $(KDE_PLUGIN) -no-undefined -module $(all_libraries)
- 
--kicker_LDADD = kicker.la
--kicker_SOURCES = dummy_la.cpp
--kicker_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--
- autostart_DATA = panel.desktop
- autostartdir = $(prefix)/share/autostart
- 
-@@ -26,7 +21,7 @@
- messages:
- 	$(XGETTEXT) share/*.cpp buttons/*.cpp core/*.cpp ui/*.cpp -o $(podir)/kicker.pot
- 
--dummy.cpp dummy_la.cpp:
-+dummy.cpp:
- 	echo > $@
-         
- updatedir = $(kde_datadir)/kconf_update
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-applets-launcher-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-applets-launcher-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,20 +1,0 @@
-Index: kicker/applets/launcher/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/applets/launcher/Makefile.am,v
-retrieving revision 1.12
-diff -u -u -r1.12 Makefile.am
---- kicker/applets/launcher/Makefile.am	29 Dec 2002 17:01:48 -0000	1.12
-+++ kicker/applets/launcher/Makefile.am	27 Jun 2003 22:05:58 -0000
-@@ -13,8 +13,10 @@
- 
- EXTRA_DIST = $(lnk_DATA)
- 
--launcher_panelapplet_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
--launcher_panelapplet_la_LIBADD = ../../kicker.la $(LIB_KSYCOCA) $(LIB_KDEUI)
-+launcher_panelapplet_la_LDFLAGS = -module $(KDE_RPATH) $(all_libraries)
-+launcher_panelapplet_la_LIBADD = ../../core/libkicker_core.la  ../../buttons/libkicker_buttons.la \
-+				../../ui/libkicker_ui.la ../../share/libkickermain.la $(LIB_KIO) \
-+				$(XTESTLIB) $(LIB_KSYCOCA) $(LIB_KDEUI)
- 
- messages:
- 	$(XGETTEXT) *.cpp *.h -o $(podir)/quicklauncher.pot
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-extensions-childpanel-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-extensions-childpanel-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,20 +1,0 @@
-Index: kicker/extensions/childpanel/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/extensions/childpanel/Makefile.am,v
-retrieving revision 1.9
-diff -u -u -r1.9 Makefile.am
---- kicker/extensions/childpanel/Makefile.am	29 Dec 2002 17:10:53 -0000	1.9
-+++ kicker/extensions/childpanel/Makefile.am	27 Jun 2003 22:06:17 -0000
-@@ -4,8 +4,10 @@
- 
- childpanel_panelextension_la_SOURCES = childpanelextension.cpp childpanelextension.skel
- childpanel_panelextension_la_METASOURCES = AUTO
--childpanel_panelextension_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
--childpanel_panelextension_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA) ../../kicker.la
-+childpanel_panelextension_la_LDFLAGS = -module $(KDE_RPATH) $(all_libraries)
-+childpanel_panelextension_la_LIBADD = ../../core/libkicker_core.la  ../../buttons/libkicker_buttons.la \
-+				../../ui/libkicker_ui.la ../../share/libkickermain.la $(LIB_KIO) \
-+				$(XTESTLIB) $(LIB_KSYCOCA) $(LIB_KDEUI)
- 
- noinst_HEADERS = childpanelextension.h
- 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-proxy-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-proxy-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,43 +1,0 @@
-Index: kicker/proxy/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/proxy/Makefile.am,v
-retrieving revision 1.6
-diff -u -u -r1.6 Makefile.am
---- kicker/proxy/Makefile.am	13 Feb 2002 10:18:52 -0000	1.6
-+++ kicker/proxy/Makefile.am	27 Jun 2003 21:40:44 -0000
-@@ -1,34 +1,19 @@
- INCLUDES = -I$(srcdir)/../share $(all_includes)
- 
--CLEANFILES = dummy.cpp
--
--bin_PROGRAMS = appletproxy extensionproxy
--lib_LTLIBRARIES = appletproxy.la extensionproxy.la
-+kdeinit_LTLIBRARIES = appletproxy.la extensionproxy.la
- 
- appletproxy_la_LIBADD = $(LIB_KDEUI) ../share/libkickermain.la
- appletproxy_la_SOURCES = appletproxy.cpp
- appletproxy_la_METASOURCES = appletproxy.moc
- appletproxy_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
- 
--appletproxy_LDADD = appletproxy.la
--appletproxy_SOURCES = dummy.cpp
--appletproxy_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--
- extensionproxy_la_LIBADD = $(LIB_KDEUI) ../share/libkickermain.la
- extensionproxy_la_SOURCES = extensionproxy.cpp
- extensionproxy_la_METASOURCES = extensionproxy.moc
- extensionproxy_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
- 
--extensionproxy_LDADD = extensionproxy.la
--extensionproxy_SOURCES = dummy.cpp
--extensionproxy_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--
- noinst_HEADERS = appletproxy.h extensionproxy.h
- 
- messages:
- 	$(XGETTEXT) appletproxy.cpp -o $(podir)/appletproxy.pot
- 	$(XGETTEXT) extensionproxy.cpp -o $(podir)/extensionproxy.pot
--
--dummy.cpp:
--	echo > dummy.cpp
--
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-share-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-share-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kicker/share/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/share/Makefile.am,v
-retrieving revision 1.8
-diff -u -u -r1.8 Makefile.am
---- kicker/share/Makefile.am	27 Feb 2003 00:44:46 -0000	1.8
-+++ kicker/share/Makefile.am	29 Jun 2003 00:52:52 -0000
-@@ -5,7 +5,7 @@
- libkickermain_la_SOURCES = pluginloader.cpp appletinfo.cpp panner.cpp fittslawframe.cpp menuinfo.cpp
- libkickermain_la_METASOURCES = AUTO
- 
--libkickermain_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -module -no-undefined
-+libkickermain_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
- libkickermain_la_LIBADD = $(LIB_KDECORE) $(LIB_KDEUI) 
- 
- messages:
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-taskmanager-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kicker-taskmanager-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kicker/taskmanager/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kicker/taskmanager/Makefile.am,v
-retrieving revision 1.5
-diff -u -u -r1.5 Makefile.am
---- kicker/taskmanager/Makefile.am	11 Dec 2001 02:10:17 -0000	1.5
-+++ kicker/taskmanager/Makefile.am	27 Jun 2003 21:44:19 -0000
-@@ -4,7 +4,7 @@
- libtaskmanager_la_SOURCES = tasklmbmenu.cpp taskrmbmenu.cpp taskmanager.cpp
- libtaskmanager_la_METASOURCES = AUTO
- 
--libtaskmanager_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -module -no-undefined
-+libtaskmanager_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
- libtaskmanager_la_LIBADD = $(LIB_KDECORE)
- 
- messages:
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,24 +1,0 @@
-Index: kioslave/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kioslave/Makefile.am,v
-retrieving revision 1.63
-diff -u -b -u -r1.63 Makefile.am
---- kioslave/Makefile.am	23 Jun 2003 16:41:52 -0000	1.63
-+++ kioslave/Makefile.am	27 Jun 2003 20:16:18 -0000
-@@ -1,5 +1,9 @@
- ## $Id: Makefile.am,v 1.63 2003/06/23 16:41:52 landers Exp $
- 
-+if include_kioslave_nfs
-+NFS_SUBDIR=nfs
-+endif
-+
- if include_kioslave_ldap
- LDAP_SUBDIR=ldap
- endif
-@@ -15,5 +19,5 @@
- endif
- 
- 
--SUBDIRS = about cgi floppy filter fish info mac man nfs nntp pop3 imap4 smtp \
-+SUBDIRS = about cgi floppy filter fish info mac man $(NFS_SUBDIR) nntp pop3 imap4 smtp \
-   sftp tar finger thumbnail $(LDAP_SUBDIR) $(SMB_SUBDIR) $(DEVICES_SUBDIR)
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-devices-configure.in.in.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-devices-configure.in.in.diff	(revision 3003)
+++ 	(revision )
@@ -1,12 +1,0 @@
---- kioslave/devices/configure.in.in	29 Oct 2002 03:05:23 -0000	1.1.1.2
-+++ kioslave/devices/configure.in.in	11 Nov 2002 20:56:20 -0000	1.2
-@@ -7,6 +7,9 @@
-     Linux)
-         DEVICESDIR=devices
-         ;;
-+    Darwin)
-+        DEVICESDIR=devices
-+        ;;
-     *)
-         DEVICESDIR=
-         ;;
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-ldap-configure.in.in.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-ldap-configure.in.in.diff	(revision 3003)
+++ 	(revision )
@@ -1,24 +1,0 @@
---- kioslave/ldap/configure.in.in	14 Jan 2003 20:11:09 -0000	1.1.1.3
-+++ kioslave/ldap/configure.in.in	21 Feb 2003 21:42:07 -0000	1.9
-@@ -19,7 +19,7 @@
-   fi
-   if test $with_ldap = FOUND ; then
-     with_ldap=NOTFOUND
--    for ext in la so sl a ; do
-+    for ext in la so sl a dylib ; do
-       AC_FIND_FILE(libldap.$ext, $kde_libraries /usr/lib /usr/local/lib,
-         ldap_libdir)
-       if test -r $ldap_libdir/libldap.$ext ; then
-@@ -37,6 +37,12 @@
- 
- case "$with_ldap" in
- no) AC_MSG_RESULT(no) ;;
-+framework)
-+  LDAP_LIBS="-Xlinker -framework -Xlinker LDAP"
-+  AC_DEFINE_UNQUOTED(HAVE_LIBLDAP, 1, [Define if you have LDAP libraries])
-+  LDAP_SUBDIR="ldap"
-+  AC_MSG_RESULT(Apple framework)
-+  ;;
- NOTFOUND) AC_MSG_RESULT(searched but not found) ;;
- *)
-   if test "x$with_ldap" = "xFOUND" ; then
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-nfs-README.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-nfs-README.diff	(revision 3003)
+++ 	(revision )
@@ -1,32 +1,0 @@
---- kioslave/nfs/README	25 Jun 2002 02:03:52 -0000	1.1.1.1
-+++ kioslave/nfs/README	16 Sep 2002 14:52:42 -0000	1.4
-@@ -1,3 +1,29 @@
- this is an ioslave for KDE 2 for NFS, version 2.
- 
- Alex
-+
-+Darwin notes --
-+
-+It looks like there are C++ type issues with the Darwin headers
-+(try building, you'll see the "too many arguments to function" stuff)
-+
-+The problem seems to be <rpc/clnt.h> having definitions that don't
-+play nice with C++.  The client rpc handle does a bunch of void stuff
-+in the struct which is fine in C but makes an empty arg list in C++.
-+
-+typedef struct {
-+        AUTH    *cl_auth;                       /* authenticator */
-+        struct clnt_ops {
-+                enum clnt_stat  (*cl_call)();   /* call remote procedure */
-+                void            (*cl_abort)();  /* abort a call */
-+                void            (*cl_geterr)(); /* get specific error code */
-+                bool_t          (*cl_freeres)(); /* frees results */
-+                void            (*cl_destroy)();/* destroy this structure */
-+                bool_t          (*cl_control)();/* the ioctl() of rpc */
-+        } *cl_ops;
-+        caddr_t                 cl_private;     /* private stuff */
-+} CLIENT;
-+
-+
-+The only solution is to probably reimplement clnt.h locally to fix
-+these (wrapping the "#include <rpc/rpc.h>" in an extern "C" isn't enough).
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-nfs-configure.in.in.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-nfs-configure.in.in.diff	(revision 3003)
+++ 	(revision )
@@ -1,15 +1,0 @@
---- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ kioslave/nfs/configure.in.in	18 Dec 2002 17:11:17 -0000	1.3
-@@ -0,0 +1,12 @@
-+AC_MSG_CHECKING(whether to compile NFS support)
-+AC_ARG_WITH(nfs,
-+[  --without-nfs           Disable NFS kioslave [default=no]],
-+	with_nfs=$withval, with_nfs=yes
-+)dnl
-+
-+if test `uname -s` = "Darwin"; then
-+	with_nfs=no
-+fi
-+
-+AC_MSG_RESULT($withval)
-+AM_CONDITIONAL(include_kioslave_nfs, test "$with_nfs" = "yes")
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-smtp-smtp.cc.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kioslave-smtp-smtp.cc.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: kioslave/smtp/smtp.cc
-===================================================================
-RCS file: /home/kde/kdebase/kioslave/smtp/smtp.cc,v
-retrieving revision 1.137
-diff -u -u -r1.137 smtp.cc
---- kioslave/smtp/smtp.cc	10 May 2003 01:56:52 -0000	1.137
-+++ kioslave/smtp/smtp.cc	27 Jun 2003 21:27:28 -0000
-@@ -109,7 +109,7 @@
- 
- unsigned int SMTPProtocol::sendBufferSize() const {
-   // ### how much is eaten by SSL/TLS overhead?
--  const int fd = ::fileno( fp );
-+  const int fd = fileno( fp );
-   int value = -1;
-   ksize_t len = sizeof(value);
-   if ( fd < 0 || ::getsockopt( fd, SOL_SOCKET, SO_SNDBUF, (char*)&value, &len ) )
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-klipper-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-klipper-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,41 +1,0 @@
-Index: klipper/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/klipper/Makefile.am,v
-retrieving revision 1.45
-diff -u -u -r1.45 Makefile.am
---- klipper/Makefile.am	27 Feb 2003 11:14:40 -0000	1.45
-+++ klipper/Makefile.am	27 Jun 2003 21:19:20 -0000
-@@ -1,23 +1,23 @@
- INCLUDES= $(all_includes)
- 
--bin_PROGRAMS = klipper
--lib_LTLIBRARIES = klipper.la
-+noinst_LTLIBRARIES = libklipper_common.la
-+kdeinit_LTLIBRARIES = klipper.la
- kde_module_LTLIBRARIES = klipper_panelapplet.la
- 
- CLEANFILES = dummy.cpp
- 
--klipper_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA) 
--klipper_la_SOURCES = main.cpp toplevel.cpp urlgrabber.cpp configdialog.cpp \
-+libklipper_common_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA) 
-+libklipper_common_la_SOURCES = main.cpp toplevel.cpp urlgrabber.cpp configdialog.cpp \
-     toplevel.skel
- 
--klipper_la_METASOURCES = AUTO
--klipper_la_LDFLAGS = $(all_libraries) -module -avoid-version
-+libklipper_common_la_METASOURCES = AUTO
-+libklipper_common_la_LDFLAGS = $(all_libraries)
- 
--klipper_LDADD = klipper.la $(LIB_KSYCOCA)
--klipper_SOURCES = dummy.cpp
--klipper_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-+klipper_la_LIBADD = libklipper_common.la
-+klipper_la_SOURCES = dummy.cpp
-+klipper_la_LDFLAGS = $(all_libraries) -module -avoid-version
- 
--klipper_panelapplet_la_LIBADD = klipper.la
-+klipper_panelapplet_la_LIBADD = libklipper_common.la
- klipper_panelapplet_la_SOURCES = applet.cpp applet.skel
- klipper_panelapplet_la_LDFLAGS = $(all_libraries) -module -avoid-version
- 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-kmenuedit-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-kmenuedit-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,27 +1,0 @@
-Index: kmenuedit/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/kmenuedit/Makefile.am,v
-retrieving revision 1.33
-diff -u -u -r1.33 Makefile.am
---- kmenuedit/Makefile.am	12 Jul 2002 17:52:04 -0000	1.33
-+++ kmenuedit/Makefile.am	27 Jun 2003 21:10:37 -0000
-@@ -1,7 +1,6 @@
- INCLUDES = $(all_includes)
- 
--bin_PROGRAMS = kmenuedit
--lib_LTLIBRARIES = kmenuedit.la
-+kdeinit_LTLIBRARIES = kmenuedit.la
- 
- CLEANFILES = dummy.cpp
- 
-@@ -9,10 +8,6 @@
- 
- kmenuedit_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO)
- kmenuedit_la_LDFLAGS = $(all_libraries) -module -avoid-version
--
--kmenuedit_SOURCES = dummy.cpp
--kmenuedit_LDADD   = kmenuedit.la
--kmenuedit_LDFLAGS = $(all_libraries) $(KDE_RPATH)
- 
- noinst_HEADERS = kmenuedit.h menueditview.h treeview.h desktopfileeditor.h basictab.h khotkeys.h
- 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,46 +1,0 @@
-Index: konqueror/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/konqueror/Makefile.am,v
-retrieving revision 1.217
-diff -u -u -r1.217 Makefile.am
---- konqueror/Makefile.am	9 Apr 2003 12:48:28 -0000	1.217
-+++ konqueror/Makefile.am	29 Jun 2003 02:55:20 -0000
-@@ -5,7 +5,7 @@
- #SUBDIRS = . kfmexec client iconview dirtree listview keditbookmarks shellcmdplugin about pics sidebar
- SUBDIRS = . kfmexec client iconview listview keditbookmarks shellcmdplugin about pics sidebar preloader
- 
--lib_LTLIBRARIES = konqueror.la
-+kdeinit_LTLIBRARIES = konqueror.la
- 
- konqdatadir = $(kde_datadir)/konqueror
- konqdata_DATA = konqueror.rc
-@@ -20,8 +20,6 @@
- 
- include_HEADERS = KonquerorIface.h
- 
--bin_PROGRAMS = konqueror
--
- konqueror_la_SOURCES = konq_main.cc \
- 	    KonquerorIface.cc KonquerorIface.skel \
- 	    KonqMainWindowIface.cc KonqMainWindowIface.skel \
-@@ -48,10 +46,6 @@
- konqueror_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
- konqueror_la_LIBADD = ../libkonq/libkonq.la $(LIBMALLOC)
- 
--konqueror_SOURCES = dummy.cc
--konqueror_LDADD = konqueror.la
--konqueror_LDFLAGS = $(KDE_RPATH) $(all_libraries)
--
- # Hmm, this experiment of a static konq failed, don't trust it...
- # (but feel free to fix it :)
- 
-@@ -63,9 +57,6 @@
- #konqueror_static_SOURCES = dummy.cc
- #konqueror_static_LDADD = konqueror.la *view/*.la dirtree/*.la $(libdir)/libkhtml.la
- #konqueror_static_LDFLAGS = $(all_libraries) -static
--
--dummy.cc: $(srcdir)/Makefile.am
--	echo "extern \"C\" int kdemain( int argc, char **argv ); int main( int argc, char **argv ) { return kdemain( argc, argv ); }" > dummy.cc
- 
- messages: rc.cpp
- 	$(EXTRACTRC) *.rc */*.rc >> rc.cpp
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-keditbookmarks-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-keditbookmarks-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,30 +1,0 @@
-Index: konqueror/keditbookmarks/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/konqueror/keditbookmarks/Makefile.am,v
-retrieving revision 1.34
-diff -u -u -r1.34 Makefile.am
---- konqueror/keditbookmarks/Makefile.am	13 Jun 2003 19:37:11 -0000	1.34
-+++ konqueror/keditbookmarks/Makefile.am	29 Jun 2003 02:59:28 -0000
-@@ -2,21 +2,12 @@
- 
- METASOURCES = AUTO
- 
--lib_LTLIBRARIES = keditbookmarks.la
-+kdeinit_LTLIBRARIES = keditbookmarks.la
- 
- keditbookmarks_la_SOURCES = main.cpp listview.cpp toplevel.cpp actionsimpl.cpp commands.cpp importers.cpp dcop.skel dcop.cpp bookmarkiterator.cpp testlink.cpp favicons.cpp updater.cpp search.cpp kbookmarknotifier.stub
- kbookmarknotifier_DIR = $(includedir)
- keditbookmarks_la_LIBADD  = $(top_builddir)/libkonq/libkonq.la
- keditbookmarks_la_LDFLAGS = $(all_libraries) -module -avoid-version
--
--bin_PROGRAMS = keditbookmarks
--
--keditbookmarks_SOURCES = dummy.cpp
--keditbookmarks_LDADD = keditbookmarks.la
--keditbookmarks_LDFLAGS = $(all_libraries)
--
--dummy.cpp:
--	echo > dummy.cpp
- 
- rcdir = $(kde_datadir)/keditbookmarks
- rc_DATA = keditbookmarksui.rc  keditbookmarks-genui.rc
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-sidebar-trees-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-konqueror-sidebar-trees-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: konqueror/sidebar/trees/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/konqueror/sidebar/trees/Makefile.am,v
-retrieving revision 1.6
-diff -u -u -r1.6 Makefile.am
---- konqueror/sidebar/trees/Makefile.am	21 Apr 2002 21:46:41 -0000	1.6
-+++ konqueror/sidebar/trees/Makefile.am	29 Jun 2003 03:04:20 -0000
-@@ -8,7 +8,7 @@
- METASOURCES = AUTO
- 
- libkonq_sidebar_tree_la_SOURCES = konq_sidebartree.cpp konq_sidebartreeitem.cpp konq_sidebartreetoplevelitem.cpp
--libkonq_sidebar_tree_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
-+libkonq_sidebar_tree_la_LDFLAGS = $(all_libraries) -avoid-version -no-undefined
- libkonq_sidebar_tree_la_LIBADD = $(top_builddir)/libkonq/libkonq.la ../libkonqsidebarplugin.la
- 
- konqsidebar_tree_la_SOURCES = konqsidebar_tree.cpp
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-ksmserver-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-ksmserver-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,28 +1,0 @@
-Index: ksmserver/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/ksmserver/Makefile.am,v
-retrieving revision 1.18
-diff -u -u -r1.18 Makefile.am
---- ksmserver/Makefile.am	24 May 2002 09:12:28 -0000	1.18
-+++ ksmserver/Makefile.am	27 Jun 2003 20:54:25 -0000
-@@ -19,19 +19,15 @@
- 
- INCLUDES=  $(all_includes)
- 
--bin_PROGRAMS = ksmserver
--lib_LTLIBRARIES = ksmserver.la
-+kdeinit_LTLIBRARIES = ksmserver.la
- noinst_HEADERS = global.h server.h shutdown.h
- 
- ksmserver_la_METASOURCES = AUTO
- # Order is important for --enable-final!
- ksmserver_la_SOURCES = main.cpp server.cpp shutdown.cpp KSMServerInterface.skel
--ksmserver_SOURCES = dummy.cpp
- 
- ksmserver_la_LDFLAGS = $(all_libraries) -avoid-version -module
--ksmserver_LDFLAGS = $(all_libraries) $(KDE_RPATH)
- ksmserver_la_LIBADD = $(LIB_KDEUI)
--ksmserver_LDADD = ksmserver.la
- 
- picsdir = $(kde_datadir)/ksmserver/pics
- pics_DATA = shutdownkonq.png
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-ksysguard-configure.in.in.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-ksysguard-configure.in.in.diff	(revision 3003)
+++ 	(revision )
@@ -1,8 +1,0 @@
---- ksysguard/configure.in.in	29 Oct 2002 03:06:45 -0000	1.1.1.4
-+++ ksysguard/configure.in.in	11 Nov 2002 20:56:20 -0000	1.2
-@@ -1,3 +1,5 @@
-+DO_NOT_COMPILE="$DO_NOT_COMPILE ksysguard"
-+
- dnl Check whether ksysguardd can run; 
- AC_MSG_CHECKING([if ksysguardd can be compiled])
- case "$host" in 
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-libkonq-Makefile.am.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-libkonq-Makefile.am.diff	(revision 3003)
+++ 	(revision )
@@ -1,16 +1,0 @@
-Index: libkonq/Makefile.am
-===================================================================
-RCS file: /home/kde/kdebase/libkonq/Makefile.am,v
-retrieving revision 1.110
-diff -u -b -u -r1.110 Makefile.am
---- libkonq/Makefile.am	17 Mar 2003 14:07:25 -0000	1.110
-+++ libkonq/Makefile.am	27 Jun 2003 20:16:44 -0000
-@@ -21,7 +21,7 @@
- 
- lib_LTLIBRARIES = libkonq.la
- libkonq_la_LDFLAGS = $(all_libraries) -version-info 6:0:2 -no-undefined
--libkonq_la_LIBADD = $(LIB_KPARTS)
-+libkonq_la_LIBADD = $(LIB_KPARTS) $(LIBZ)
- 
- libkonq_la_SOURCES = konq_popupmenu.cc knewmenu.cc \
-    konq_xmlguiclient.cc\
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-nsplugins-pluginscan.cpp.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-nsplugins-pluginscan.cpp.diff	(revision 3003)
+++ 	(revision )
@@ -1,15 +1,0 @@
-Index: nsplugins/pluginscan.cpp
-===================================================================
-RCS file: /home/kde/kdebase/nsplugins/pluginscan.cpp,v
-retrieving revision 1.47
-diff -u -r1.47 pluginscan.cpp
---- nsplugins/pluginscan.cpp	15 May 2003 07:34:11 -0000	1.47
-+++ nsplugins/pluginscan.cpp	27 Jun 2003 20:17:16 -0000
-@@ -444,6 +444,7 @@
-         paths.append("/usr/lib/netscape/plugins");
-         paths.append("/usr/lib/netscape/plugins-libc5");
-         paths.append("/usr/lib/netscape/plugins-libc6");
-+        paths.append("@PREFIX@/lib/mozilla/plugins");
-         paths.append("/usr/lib/mozilla/plugins");
- 	paths.append("/usr/lib/browser-plugins");
-         paths.append("$MOZILLA_HOME/plugins");
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase-startkde.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase-startkde.diff	(revision 3003)
+++ 	(revision )
@@ -1,62 +1,0 @@
-Index: startkde
-===================================================================
-RCS file: /home/kde/kdebase/startkde,v
-retrieving revision 1.115
-diff -u -u -r1.115 startkde
---- startkde	12 May 2003 14:38:36 -0000	1.115
-+++ startkde	27 Jun 2003 20:18:10 -0000
-@@ -100,6 +100,10 @@
- # people's heads. We use colours from the standard KDE palette for those with
- # palettised displays.
- 
-+# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
-+unset DYLD_FORCE_FLAT_NAMESPACE
-+test -d "/opt/local" && export PATH="/opt/local/bin:${PATH}"
-+
- test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
- xsetroot -cursor_name left_ptr $bkg
- 
-@@ -113,6 +117,11 @@
-     export GS_LIB
- fi
- 
-+# if we're in Apple's X11 and the native window manager is available, use that
-+if test -z "$KDEWM" && test -x /usr/X11R6/bin/quartz-wm; then
-+    KDEWM="/usr/X11R6/bin/quartz-wm"
-+fi
-+
- # Link "tmp" resource to directory in /tmp
- # Creates a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
- lnusertemp tmp >/dev/null
-@@ -135,7 +144,11 @@
-     # start only dcopserver, don't start whole kdeinit (takes too long)
-     echo 'startkde: Running kpersonalizer...'  1>&2
-     dcopserver
--    kwin &
-+    if test -n "$KDEWM"; then
-+        $KDEWM &
-+    else
-+        kwin &
-+    fi
-     kpersonalizer --before-session
-     # handle kpersonalizer restarts (language change)
-     while test $? -eq 1; do
-@@ -146,7 +159,6 @@
-     sleep 1
- fi
- 
--# the splashscreen and progress indicator
- ksplash
- 
- # We set LD_BIND_NOW to increase the efficiency of kdeinit.
-@@ -157,6 +169,10 @@
-   echo 'startkde: Could not start kdeinit. Check your installation.'  1>&2
-   xmessage -geometry 500x100 "Could not start kdeinit. Check your installation."
- fi
-+
-+# fix up KDE themes
-+echo 'startkde: updating theme cache'
-+kwrapper kinstalltheme
- 
- # finally, give the session control to the session manager
- # if the KDEWM environment variable has been set, then it will be used as KDE's
Index: trunk/dports/x11/kdebase3/files/current/patch-kdebase.diff
===================================================================
--- trunk/dports/x11/kdebase3/files/current/patch-kdebase.diff	(revision 3004)
+++ trunk/dports/x11/kdebase3/files/current/patch-kdebase.diff	(revision 3004)
@@ -0,0 +1,134 @@
+Index: startkde
+===================================================================
+RCS file: /home/kde/kdebase/startkde,v
+retrieving revision 1.116
+diff -u -u -r1.116 startkde
+--- startkde	29 Jun 2003 17:11:28 -0000	1.116
++++ startkde	4 Jul 2003 02:11:19 -0000
+@@ -9,6 +9,7 @@
+ 
+ # we have to unset this for Darwin since it will screw up KDE's dynamic-loading
+ unset DYLD_FORCE_FLAT_NAMESPACE
++test -d "/opt/local" && export PATH="/opt/local/bin:${PATH}"
+ 
+ # Boot sequence:
+ #
+@@ -116,6 +117,11 @@
+     export GS_LIB
+ fi
+ 
++# if we're in Apple's X11 and the native window manager is available, use that
++if test -z "$KDEWM" && test -x /usr/X11R6/bin/quartz-wm; then
++    KDEWM="/usr/X11R6/bin/quartz-wm"
++fi
++
+ # Link "tmp" resource to directory in /tmp
+ # Creates a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
+ lnusertemp tmp >/dev/null
+@@ -138,7 +144,11 @@
+     # start only dcopserver, don't start whole kdeinit (takes too long)
+     echo 'startkde: Running kpersonalizer...'  1>&2
+     dcopserver
+-    kwin &
++    if test -n "$KDEWM"; then
++        $KDEWM &
++    else
++        kwin &
++    fi
+     kpersonalizer --before-session
+     # handle kpersonalizer restarts (language change)
+     while test $? -eq 1; do
+@@ -149,7 +159,6 @@
+     sleep 1
+ fi
+ 
+-# the splashscreen and progress indicator
+ ksplash
+ 
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+@@ -160,6 +169,10 @@
+   echo 'startkde: Could not start kdeinit. Check your installation.'  1>&2
+   xmessage -geometry 500x100 "Could not start kdeinit. Check your installation."
+ fi
++
++# fix up KDE themes
++echo 'startkde: updating theme cache'
++kwrapper kinstalltheme
+ 
+ # finally, give the session control to the session manager
+ # if the KDEWM environment variable has been set, then it will be used as KDE's
+Index: admin/acinclude.m4.in
+===================================================================
+RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
+retrieving revision 2.372
+diff -u -u -r2.372 acinclude.m4.in
+--- admin/acinclude.m4.in	30 Jun 2003 11:18:09 -0000	2.372
++++ admin/acinclude.m4.in	4 Jul 2003 02:11:22 -0000
+@@ -3611,18 +3611,12 @@
+       AC_CACHE_VAL(ac_cv_path_pam,
+         [ use_pam=no
+           AC_CHECK_LIB(pam, pam_start,
+-            [ AC_CHECK_HEADER(security/pam_appl.h,
+-                [ use_pam=yes
+-		  pam_header=security/pam_appl.h
+-                  pam_service=kde ],
+-		[ AC_CHECK_HEADER(pam/pam_appl.h,
+-			[ use_pam=yes
+-			  pam_header=pam/pam_appl.h
+-			  pam_service=kde
+-    			  AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your pam headers are in pam/ instead of security/])
+-			])
+-		]) 
+-            ], , $LIBDL)
++            [ AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
++              if test "$ac_cv_header_security_pam_appl_h" = "yes" || test "$ac_cv_header_pam_pam_appl_h" = "yes"; then
++                use_pam=yes
++                pam_service=kde
++              fi
++          ], , $LIBDL)
+           ac_cv_path_pam="use_pam=$use_pam pam_service=$pam_service"
+         ])
+     ])
+@@ -3646,6 +3640,12 @@
+                         AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])]
+                         )],
+       [AC_MSG_RESULT([not found - assume const, Linux-type PAM])])
++
++    AC_CHECK_HEADERS(pam/pam_appl.h)
++    if test "$ac_cv_header_pam_pam_appl_h" = "yes"; then
++      AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your pam headers are in pam/ instead of security/])
++    fi
++
+   fi
+ 
+   AC_SUBST(PAMLIBS)
+Index: kioslave/Makefile.am
+===================================================================
+RCS file: /home/kde/kdebase/kioslave/Makefile.am,v
+retrieving revision 1.63
+diff -u -u -r1.63 Makefile.am
+--- kioslave/Makefile.am	23 Jun 2003 16:41:52 -0000	1.63
++++ kioslave/Makefile.am	4 Jul 2003 02:11:22 -0000
+@@ -15,5 +15,5 @@
+ endif
+ 
+ 
+-SUBDIRS = about cgi floppy filter fish info mac man nfs nntp pop3 imap4 smtp \
++SUBDIRS = about cgi floppy filter fish info mac man nntp pop3 imap4 smtp \
+   sftp tar finger thumbnail $(LDAP_SUBDIR) $(SMB_SUBDIR) $(DEVICES_SUBDIR)
+Index: kioslave/smtp/smtp.cc
+===================================================================
+RCS file: /home/kde/kdebase/kioslave/smtp/smtp.cc,v
+retrieving revision 1.137
+diff -u -u -r1.137 smtp.cc
+--- kioslave/smtp/smtp.cc	10 May 2003 01:56:52 -0000	1.137
++++ kioslave/smtp/smtp.cc	4 Jul 2003 02:11:22 -0000
+@@ -109,7 +109,7 @@
+ 
+ unsigned int SMTPProtocol::sendBufferSize() const {
+   // ### how much is eaten by SSL/TLS overhead?
+-  const int fd = ::fileno( fp );
++  const int fd = fileno( fp );
+   int value = -1;
+   ksize_t len = sizeof(value);
+   if ( fd < 0 || ::getsockopt( fd, SOL_SOCKET, SO_SNDBUF, (char*)&value, &len ) )
