python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / aalib / darwin.patch
blob44559d06210c5b4ce291699f06840fa61f72e79e
1 diff --git a/src/aaedit.c b/src/aaedit.c
2 index 09534d2..2ea52f9 100644
3 --- a/src/aaedit.c
4 +++ b/src/aaedit.c
5 @@ -1,6 +1,6 @@
6 #include <string.h>
7 #include <ctype.h>
8 -#include <malloc.h>
9 +#include <stdlib.h>
10 #include "aalib.h"
11 #include "aaint.h"
12 static void aa_editdisplay(struct aa_edit *e)
14 diff --git a/src/aakbdreg.c b/src/aakbdreg.c
15 index def65fe..f4f8efb 100644
16 --- a/src/aakbdreg.c
17 +++ b/src/aakbdreg.c
18 @@ -1,4 +1,4 @@
19 -#include <malloc.h>
20 +#include <stdlib.h>
21 #include "config.h"
22 #include "aalib.h"
23 #include "aaint.h"
24 diff --git a/src/aalib.c b/src/aalib.c
25 index 11fecc8..e3063b4 100644
26 --- a/src/aalib.c
27 +++ b/src/aalib.c
28 @@ -1,6 +1,6 @@
29 #include <stdio.h>
30 #include <string.h>
31 -#include <malloc.h>
32 +#include <stdlib.h>
33 #include "aalib.h"
34 #include "aaint.h"
36 diff --git a/src/aamoureg.c b/src/aamoureg.c
37 index 0380828..bb55fe3 100644
38 --- a/src/aamoureg.c
39 +++ b/src/aamoureg.c
40 @@ -1,4 +1,4 @@
41 -#include <malloc.h>
42 +#include <stdlib.h>
43 #include "config.h"
44 #include "aalib.h"
45 #include "aaint.h"
46 diff --git a/src/aarec.c b/src/aarec.c
47 index 70f4ebc..ee43e8a 100644
48 --- a/src/aarec.c
49 +++ b/src/aarec.c
50 @@ -1,5 +1,5 @@
51 #include <string.h>
52 -#include <malloc.h>
53 +#include <stdlib.h>
54 #include "aalib.h"
55 #include "aaint.h"
56 aa_linkedlist *aa_kbdrecommended = NULL, *aa_mouserecommended = NULL,
57 diff --git a/src/aaregist.c b/src/aaregist.c
58 index 54abec0..765155e 100644
59 --- a/src/aaregist.c
60 +++ b/src/aaregist.c
61 @@ -1,4 +1,4 @@
62 -#include <malloc.h>
63 +#include <stdlib.h>
64 #include "config.h"
65 #include "aalib.h"
66 #include "aaint.h"
67 diff --git a/src/aax.c b/src/aax.c
68 index adcbd82..36e3294 100644
69 --- a/src/aax.c
70 +++ b/src/aax.c
71 @@ -1,4 +1,3 @@
72 -#include <malloc.h>
73 #include <stdlib.h>
74 #include <string.h>
75 #include <stdio.h>
76 diff --git a/src/aaxkbd.c b/src/aaxkbd.c
77 index 30d5903..da2248d 100644
78 --- a/src/aaxkbd.c
79 +++ b/src/aaxkbd.c
80 @@ -1,4 +1,3 @@
81 -#include <malloc.h>
82 #include <stdlib.h>
83 #include <string.h>
84 #include <stdio.h>
85 diff --git a/src/aaxmouse.c b/src/aaxmouse.c
86 index 9935b03..7e725ad 100644
87 --- a/src/aaxmouse.c
88 +++ b/src/aaxmouse.c
89 @@ -1,4 +1,3 @@
90 -#include <malloc.h>
91 #include <stdlib.h>
92 #include <string.h>
93 #include <stdio.h>
94 diff --git a/aalib.m4 b/aalib.m4
95 index c40b8db..991fbda 100644
96 --- a/aalib.m4
97 +++ b/aalib.m4
98 @@ -9,7 +9,7 @@
99 dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
100 dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
102 -AC_DEFUN(AM_PATH_AALIB,
103 +AC_DEFUN([AM_PATH_AALIB],
104 [dnl
105 dnl Get the cflags and libraries from the aalib-config script