aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dma/musl-fixes.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-02-29 05:28:31 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-02-29 16:00:51 +0100
commitb200676e679fc33c2ef9a231098af8b74250f9a6 (patch)
treeb9f86cbb284476351b175a6467f3599818143f98 /testing/dma/musl-fixes.patch
parent8a21bd597edb2fd5484622c92e98915f0ef2698e (diff)
downloadaports-b200676e679fc33c2ef9a231098af8b74250f9a6.tar.bz2
aports-b200676e679fc33c2ef9a231098af8b74250f9a6.tar.xz
testing/dma: Instal configs to /etc and create spool directory
Diffstat (limited to 'testing/dma/musl-fixes.patch')
-rw-r--r--testing/dma/musl-fixes.patch19
1 files changed, 9 insertions, 10 deletions
diff --git a/testing/dma/musl-fixes.patch b/testing/dma/musl-fixes.patch
index 57eb480328..bf7d805b2f 100644
--- a/testing/dma/musl-fixes.patch
+++ b/testing/dma/musl-fixes.patch
@@ -1,6 +1,6 @@
diff -upr dma-0.11.orig/dfcompat.c dma-0.11/dfcompat.c
---- dma-0.11.orig/dfcompat.c 2016-02-29 04:26:15.181591094 +0100
-+++ dma-0.11/dfcompat.c 2016-02-29 04:29:34.367403004 +0100
+--- dma-0.11.orig/dfcompat.c 2016-02-29 15:33:18.153280618 +0100
++++ dma-0.11/dfcompat.c 2016-02-29 15:33:25.749914514 +0100
@@ -105,7 +105,7 @@ reallocf(void *ptr, size_t size)
#ifndef HAVE_GETPROGNAME
@@ -11,8 +11,8 @@ diff -upr dma-0.11.orig/dfcompat.c dma-0.11/dfcompat.c
#include <errno.h>
diff -upr dma-0.11.orig/dma.h dma-0.11/dma.h
---- dma-0.11.orig/dma.h 2016-02-29 04:26:15.181591094 +0100
-+++ dma-0.11/dma.h 2016-02-29 04:26:53.534759844 +0100
+--- dma-0.11.orig/dma.h 2016-02-29 15:33:18.153280618 +0100
++++ dma-0.11/dma.h 2016-02-29 15:33:25.749914514 +0100
@@ -38,7 +38,7 @@
#define DMA_H
@@ -23,16 +23,15 @@ diff -upr dma-0.11.orig/dma.h dma-0.11/dma.h
#include <arpa/nameser.h>
#include <arpa/inet.h>
diff -upr dma-0.11.orig/dns.c dma-0.11/dns.c
---- dma-0.11.orig/dns.c 2016-02-29 04:26:15.181591094 +0100
-+++ dma-0.11/dns.c 2016-02-29 04:34:32.039446395 +0100
-@@ -42,8 +42,10 @@
- #include <resolv.h>
- #include <string.h>
+--- dma-0.11.orig/dns.c 2016-02-29 15:33:18.153280618 +0100
++++ dma-0.11/dns.c 2016-02-29 15:33:30.979891954 +0100
+@@ -44,6 +44,9 @@
#include <stdlib.h>
-+#include <math.h>
#include "dma.h"
++#ifndef roundup
+#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
++#endif
static int
sort_pref(const void *a, const void *b)