SOURCES: kdepim-inotify.patch (NEW) - fix build
arekm
arekm at pld-linux.org
Wed Nov 12 21:47:55 CET 2008
Author: arekm Date: Wed Nov 12 20:47:55 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build
---- Files affected:
SOURCES:
kdepim-inotify.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kdepim-inotify.patch
diff -u /dev/null SOURCES/kdepim-inotify.patch:1.1
--- /dev/null Wed Nov 12 21:47:56 2008
+++ SOURCES/kdepim-inotify.patch Wed Nov 12 21:47:50 2008
@@ -0,0 +1,29 @@
+--- kdepim-3.5.10/./kmail/editorwatcher.cpp.org 2008-11-12 21:46:00.811830289 +0100
++++ kdepim-3.5.10/./kmail/editorwatcher.cpp 2008-11-12 21:46:38.522258848 +0100
+@@ -37,25 +37,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/syscall.h>
+-#include <linux/types.h>
+-// Linux kernel headers are documented to not compile
+-#define _S390_BITOPS_H
+-#include <linux/inotify.h>
+-
+-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);
+-}
++#include <sys/inotify.h>
+ #endif
+
+ using namespace KMail;
================================================================
More information about the pld-cvs-commit
mailing list