summaryrefslogtreecommitdiff
path: root/x11/kdebase3
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:53:17 +0000
committerhans <hans>2011-09-14 17:53:17 +0000
commita9606cb99cedd929217a380564233888bb6d2480 (patch)
treeff01194045f3a84b30fe4d19ccbdd5b69188125d /x11/kdebase3
parent7d27bccd59b2c14c87dad72b4e015b1a2ea93db0 (diff)
downloadpkgsrc-a9606cb99cedd929217a380564233888bb6d2480.tar.gz
Don't use the SIOCGIFHWADDR code on SunOS.
Diffstat (limited to 'x11/kdebase3')
-rw-r--r--x11/kdebase3/distinfo3
-rw-r--r--x11/kdebase3/patches/patch-gf13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/kdebase3/distinfo b/x11/kdebase3/distinfo
index d0804449f9a..950d9cecedf 100644
--- a/x11/kdebase3/distinfo
+++ b/x11/kdebase3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.112 2011/01/25 11:13:13 markd Exp $
+$NetBSD: distinfo,v 1.113 2011/09/14 17:53:17 hans Exp $
SHA1 (Daemon.README) = eb1e6af52adc02ded77af17e8953134b7e60d23b
RMD160 (Daemon.README) = 39edd92ed4314397080f32a8caff0ac3f716ecf4
@@ -58,4 +58,5 @@ SHA1 (patch-gb) = b36e23cf6c64e42269b396f389c5a0e24a40e67e
SHA1 (patch-gc) = e02ddb93ae7aa249b3b3e68690f587b2c98255b8
SHA1 (patch-gd) = 39469384668e4ee7fc489406e2813100fc90aa9b
SHA1 (patch-ge) = 8470cf03d768d784714e926281757e9d68749360
+SHA1 (patch-gf) = 78de196a700fa9cd5e221ff57c295fdb3562f931
SHA1 (patch-kdesud) = acc40c2d1fb65e404a7aa0dbb6eae72fa7ac6a5e
diff --git a/x11/kdebase3/patches/patch-gf b/x11/kdebase3/patches/patch-gf
new file mode 100644
index 00000000000..a4b539e380b
--- /dev/null
+++ b/x11/kdebase3/patches/patch-gf
@@ -0,0 +1,13 @@
+$NetBSD: patch-gf,v 1.1 2011/09/14 17:53:17 hans Exp $
+
+--- kcontrol/nics/nic.cpp.orig 2007-01-15 12:31:40.000000000 +0100
++++ kcontrol/nics/nic.cpp 2011-09-08 17:03:25.739009295 +0200
+@@ -218,7 +218,7 @@ NICList* findNICs()
+
+ ifcopy=*ifr;
+ result=-1; // if none of the two #ifs below matches, ensure that result!=0 so that "Unknown" is returned as result
+-#ifdef SIOCGIFHWADDR
++#if defined(SIOCGIFHWADDR) && !defined(__sun)
+ result=ioctl(sockfd,SIOCGIFHWADDR,&ifcopy);
+ if (result==0)
+ {