aports/unmaintained/suspend-utils/define-gnu-source.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02:00

31 lines
695 B
Diff

--- 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>