From 0a193fd1a52585f39c36fa2711d9f14d17ea3f77 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 14 Nov 2009 15:10:47 +0100 Subject: [PATCH] kdepim: fixed to build with linux 2.6.27 headers --- kde/kdepim/linux-2.6.27.patch | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 kde/kdepim/linux-2.6.27.patch diff --git a/kde/kdepim/linux-2.6.27.patch b/kde/kdepim/linux-2.6.27.patch new file mode 100644 index 000000000..f71aa9378 --- /dev/null +++ b/kde/kdepim/linux-2.6.27.patch @@ -0,0 +1,42 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../kdepim/linux-2.6.27.patch +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./kmail/editorwatcher.cpp.orig 2009-11-14 13:57:49.000000000 +0100 ++++ ./kmail/editorwatcher.cpp 2009-11-14 13:58:17.000000000 +0100 +@@ -40,22 +40,8 @@ + #include + // Linux kernel headers are documented to not compile + #define _S390_BITOPS_H +-#include ++#include + +-static inline int inotify_init (void) +-{ +- return syscall (__NR_inotify_init); +-} +- +-static inline int inotify_add_watch (int fd, const char *name, __u32 mask) +-{ +- return syscall (__NR_inotify_add_watch, fd, name, mask); +-} +- +-static inline int inotify_rm_watch (int fd, __u32 wd) +-{ +- return syscall (__NR_inotify_rm_watch, fd, wd); +-} + #endif + + using namespace KMail;