diff options
author | markd <markd@pkgsrc.org> | 2007-08-04 23:21:11 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-08-04 23:21:11 +0000 |
commit | 0499c6bc08f042092930b9a940cd11901855b070 (patch) | |
tree | 7cd0d478e6e628793a596ddc947378a5f00435db /sysutils | |
parent | f2261c9c2d2be0e161e3a90c6605b4fe773895a7 (diff) | |
download | pkgsrc-0499c6bc08f042092930b9a940cd11901855b070.tar.gz |
Fix build on other than NetBSD.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/k3b/distinfo | 4 | ||||
-rw-r--r-- | sysutils/k3b/patches/patch-ad | 13 |
2 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/k3b/distinfo b/sysutils/k3b/distinfo index d1dd59f20de..c797cf223bd 100644 --- a/sysutils/k3b/distinfo +++ b/sysutils/k3b/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.14 2007/07/25 02:33:03 markd Exp $ +$NetBSD: distinfo,v 1.15 2007/08/04 23:21:11 markd Exp $ SHA1 (k3b-1.0.3.tar.bz2) = cf9eee45eebd280a069c7f94924237bdec6bbd06 RMD160 (k3b-1.0.3.tar.bz2) = b51dcc8cd0bd4c0b1e9b97221596360a9d6be2f1 Size (k3b-1.0.3.tar.bz2) = 5092806 bytes SHA1 (patch-ab) = 4f382751e9a7ade09aad6f8d594e76f9e5bfa5d5 SHA1 (patch-ac) = 38902921193ff0219c1769ffa3b793de6f3f4c0c -SHA1 (patch-ad) = 9a1a14ee1ffb9dc46af5fe372f8fa672d87ac1f0 +SHA1 (patch-ad) = 3b288a809a043657cb6677c2bb1d60c78e82f9f1 SHA1 (patch-ae) = d5fb26c88710b9cdf14e19aa530f60e429b47941 diff --git a/sysutils/k3b/patches/patch-ad b/sysutils/k3b/patches/patch-ad index 5d07d15075d..bdb3fc2e4ad 100644 --- a/sysutils/k3b/patches/patch-ad +++ b/sysutils/k3b/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.4 2007/07/25 02:33:03 markd Exp $ +$NetBSD: patch-ad,v 1.5 2007/08/04 23:21:11 markd Exp $ ---- libk3bdevice/k3bdevicemanager.cpp.orig 2007-07-23 23:18:12.000000000 +1200 +--- libk3bdevice/k3bdevicemanager.cpp.orig 2007-07-22 07:53:25.000000000 +1200 +++ libk3bdevice/k3bdevicemanager.cpp @@ -99,6 +99,7 @@ typedef unsigned char u8; @@ -10,7 +10,7 @@ $NetBSD: patch-ad,v 1.4 2007/07/25 02:33:03 markd Exp $ #endif -@@ -324,14 +325,7 @@ void K3bDevice::DeviceManager::NetBSDDev +@@ -324,13 +325,9 @@ void K3bDevice::DeviceManager::NetBSDDev int i; @@ -21,8 +21,9 @@ $NetBSD: patch-ad,v 1.4 2007/07/25 02:33:03 markd Exp $ - static const char slicename = 'd'; -#else - static const char slicename = 'c'; --#endif -+ static char slicename = 'a' + getrawpartition(); ++ static char slicename = 'a'; ++#ifdef Q_OS_NETBSD ++ slicename += getrawpartition(); + #endif char devicename[11]; // /dev/rcdXd + trailing zero - |