Closes pkg/14728 from Mark Davies <mark@mcs.vuw.ac.nz>. Changes from him with updates from myself. From www.kde.org... The principal improvements over KDE 2.2.1, release two months ago, include: o security-related - SSL certificate loading - symlink vulnerability in .wmrc access by KDM introduced in 2.2 - security problem with eFax (used by klprfax) - potential problem in PAM invocation by KDM - potential harmful side-effect of failed KDM session starts o new features - added support for CodeWeavers' CrossOver plug-in (provides support for QuickTime, etc.) - added support for the wheelmouse for scrolling through the KGhostview PS/PDF viewer component - ability to search for multiple patterns at a time in the file search dialog - debugging multi-threaded applications with KDevelop o improvements/fixes - handling of HTTP links that redirect to FTP - POST using SSL through a proxy and sending headers through proxies - saving of recently-selected files in the file dialog - handling of non-ASCII characters over SMB - toolbar button captions with certain styles - selecting items with the mouse in Konqueror - sorting in Konqueror's textview - saving current settings as a theme in the theme manager - crashes in KMail with certain mails - crash on invoking the KDM chooser - non-Latin languages with KDevelop performance - icon loading optimized - file dialog speedups - stop spinning SMB client processes - handling of large files in Kate
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
$NetBSD: patch-af,v 1.3 2001/12/03 15:37:14 skrll Exp $
|
|
|
|
--- kscd/libwm/plat_freebsd.c.orig Sun Feb 18 15:30:03 2001
|
|
+++ kscd/libwm/plat_freebsd.c
|
|
@@ -34,3 +34,3 @@
|
|
|
|
-#if defined(__FreeBSD__) || defined(__FreeBSD) || defined(__NetBSD__) || defined (__NetBSD)
|
|
+#if defined(__FreeBSD__) || defined(__FreeBSD) || defined(__NetBSD__)
|
|
|
|
@@ -52,3 +52,3 @@
|
|
|
|
-#if defined(__NetBSD__) || defined(__OpenBSD__)
|
|
+#if defined(__OpenBSD__)
|
|
# define MSF_MINUTES 1
|
|
@@ -59,2 +59,5 @@
|
|
# include "/sys/scsi/scsi_cd.h"
|
|
+#elif defined(__NetBSD__)
|
|
+#include <sys/scsiio.h>
|
|
+#include <dev/scsipi/scsipi_cd.h>
|
|
#else
|
|
@@ -233,7 +236,2 @@
|
|
dopos:
|
|
-#ifdef __NetBSD__
|
|
- *pos = scd.what.position.absaddr[MSF_MINUTES] * 60 * 75 +
|
|
- scd.what.position.absaddr[MSF_SECONDS] * 75 +
|
|
- scd.what.position.absaddr[MSF_FRAMES];
|
|
-#else
|
|
*pos = scd.what.position.absaddr.msf.minute * 60 * 75 +
|
|
@@ -241,3 +239,2 @@
|
|
scd.what.position.absaddr.msf.frame;
|
|
-#endif
|
|
*track = scd.what.position.track_number;
|
|
@@ -308,7 +305,2 @@
|
|
|
|
-#ifdef __NetBSD__
|
|
- *startframe = toc_buffer.addr[MSF_MINUTES]*60*75 +
|
|
- toc_buffer.addr[MSF_SECONDS] * 75 +
|
|
- toc_buffer.addr[MSF_FRAMES];
|
|
-#else
|
|
*startframe = toc_buffer.addr.msf.minute*60*75 +
|
|
@@ -316,3 +308,2 @@
|
|
toc_buffer.addr.msf.frame;
|
|
-#endif
|
|
|