pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kdelibs3 Add kludge to let it build on debian sque...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb8b9d5b1bf0
branches:  trunk
changeset: 400607:fb8b9d5b1bf0
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Oct 23 07:46:08 2009 +0000

description:
Add kludge to let it build on debian squeeze, where it failed with:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
/usr/include/bits/fcntl.h:159: error: previous definition of 'struct flock'
(this is due to kdelibs including kernel headers for inotify)
Fingers crossed that this won't introduce regressions on $otherLinux.

diffstat:

 x11/kdelibs3/distinfo         |   3 ++-
 x11/kdelibs3/patches/patch-af |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 79f6b298ee87 -r fb8b9d5b1bf0 x11/kdelibs3/distinfo
--- a/x11/kdelibs3/distinfo     Fri Oct 23 06:07:06 2009 +0000
+++ b/x11/kdelibs3/distinfo     Fri Oct 23 07:46:08 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.96 2009/08/31 20:54:26 wiz Exp $
+$NetBSD: distinfo,v 1.97 2009/10/23 07:46:08 tnn Exp $
 
 SHA1 (kdelibs-3.5.10.tar.bz2) = c930a25f4419134def55b8466c3a6f737227fb82
 RMD160 (kdelibs-3.5.10.tar.bz2) = 4c960664283c83ebc8e68932ca9044336fcff223
@@ -11,6 +11,7 @@
 SHA1 (patch-ac) = 205f99e8749c32bf445e23f6076dd642c10c8186
 SHA1 (patch-ad) = d8ddcea1a281474b7694979b14744c5e06b56b65
 SHA1 (patch-ae) = b609ee21da08885fd359b9a163d428cbb3955e74
+SHA1 (patch-af) = c77e57b564719c45c24ce737a4c0d4154df8563b
 SHA1 (patch-aj) = 2ec8d33ce6684da7c60759cf395b78fa4ac2eaec
 SHA1 (patch-an) = d34a3cc0ac0b92921bcaeb9b05c5b7a99ee3566c
 SHA1 (patch-ao) = 7ae360b2ee2332ec3017dfd468457f2c1b139308
diff -r 79f6b298ee87 -r fb8b9d5b1bf0 x11/kdelibs3/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdelibs3/patches/patch-af     Fri Oct 23 07:46:08 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.12 2009/10/23 07:46:08 tnn Exp $
+
+--- kio/kio/kdirwatch.cpp.orig 2006-07-22 10:16:37.000000000 +0200
++++ kio/kio/kdirwatch.cpp
+@@ -71,6 +71,7 @@
+ #include <linux/types.h>
+ // Linux kernel headers are documented to not compile
+ #define _S390_BITOPS_H
++#define _ASM_GENERIC_FCNTL_H
+ #include <linux/inotify.h>
+ 
+ static inline int inotify_init (void)



Home | Main Index | Thread Index | Old Index