summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/shorten/files')
-rw-r--r--media-sound/shorten/files/shorten-3.6.1-modern-c.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/shorten/files/shorten-3.6.1-modern-c.patch b/media-sound/shorten/files/shorten-3.6.1-modern-c.patch
new file mode 100644
index 000000000000..a390c3c30d22
--- /dev/null
+++ b/media-sound/shorten/files/shorten-3.6.1-modern-c.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/880807
+--- a/src/fixio.c
++++ b/src/fixio.c
+@@ -10,9 +10,11 @@
+ * $Id: fixio.c,v 1.4 2002/01/28 01:16:52 jason Exp $
+ */
+
++#define _XOPEN_SOURCE 600
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include "shorten.h"
+ #include "bitshift.h"
+