diff options
author | Andrew Hills <ahills@ednos.net> | 2015-06-08 12:36:22 -0400 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-06-09 14:22:28 +0000 |
commit | 215825751425d829317221104028a18dc37a8c2a (patch) | |
tree | 5d6ca12c18b7555a663b62e4bc0f1e8b36ff7b8a /testing/suspend-utils/define-gnu-source.patch | |
parent | a3cc350c9f3bcd37a902d47fc9b950ba23532cec (diff) | |
download | aports-215825751425d829317221104028a18dc37a8c2a.tar.bz2 aports-215825751425d829317221104028a18dc37a8c2a.tar.xz |
testing/suspend-utils: new aport
http://suspend.sourceforge.net
Userspace Software Suspend (µswsusp)
Diffstat (limited to 'testing/suspend-utils/define-gnu-source.patch')
-rw-r--r-- | testing/suspend-utils/define-gnu-source.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/suspend-utils/define-gnu-source.patch b/testing/suspend-utils/define-gnu-source.patch new file mode 100644 index 0000000000..2d289a698e --- /dev/null +++ b/testing/suspend-utils/define-gnu-source.patch @@ -0,0 +1,30 @@ +--- suspend-utils-1.0/load.c ++++ suspend-utils-1.0-patch/load.c +@@ -17,6 +17,7 @@ + #include <time.h> + #include <syscall.h> + #include <libgen.h> ++#define _GNU_SOURCE + #include <fcntl.h> + #include <unistd.h> + #include <stdio.h> +--- suspend-utils-1.0/resume.c ++++ suspend-utils-1.0-patch/resume.c +@@ -18,6 +18,7 @@ + #include <time.h> + #include <syscall.h> + #include <libgen.h> ++#define _GNU_SOURCE + #include <fcntl.h> + #include <unistd.h> + #include <stdio.h> +--- suspend-utils-1.0/suspend.c ++++ suspend-utils-1.0-patch/suspend.c +@@ -24,6 +24,7 @@ + #include <linux/tiocl.h> + #include <syscall.h> + #include <libgen.h> ++#define _GNU_SOURCE + #include <fcntl.h> + #include <unistd.h> + #include <stdio.h> |