diff options
Diffstat (limited to 'sys-apps/suspend2-userui/files')
-rw-r--r-- | sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 | 3 | ||||
-rw-r--r-- | sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch | 23 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 new file mode 100644 index 000000000000..b69cd4626edc --- /dev/null +++ b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 @@ -0,0 +1,3 @@ +MD5 737427dd2eb076907674a4334735c2ef suspend2-userui-0.6.4.tar.gz 91817 +RMD160 1f00e32ae28d0d19666db106dc2f64ff9ce99de5 suspend2-userui-0.6.4.tar.gz 91817 +SHA256 5b9b74832073df26d74158306ce673d1765246a2b630a8b68cd8ef21cb79b076 suspend2-userui-0.6.4.tar.gz 91817 diff --git a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch new file mode 100644 index 000000000000..56593df648b4 --- /dev/null +++ b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch @@ -0,0 +1,23 @@ +diff -ru suspend2-userui-0.6.4/userui.h suspend2-userui-0.6.4-new/userui.h +--- suspend2-userui-0.6.4/userui.h 2006-06-07 03:25:12.000000000 +1000 ++++ suspend2-userui-0.6.4-new/userui.h 2006-10-14 01:57:51.000000000 +1000 +@@ -1,7 +1,7 @@ + #ifndef _USERUI_H_ + #define _USERUI_H_ + +-#include <linux/unistd.h> ++#include <sys/syscall.h> + #include <sys/types.h> + #include "suspend_userui.h" + +@@ -124,8 +124,7 @@ + /* + * Work around random glibc bugs where getpid() caches an invalid pid. + */ +-#define __NR_xgetpid __NR_getpid +-static inline _syscall0(pid_t, xgetpid); ++#define xgetpid() syscall(SYS_getpid) + + + #endif /* _USERUI_H_ */ + |