mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
sysutils/mxkill x11/mxascii: Fix FreeBSD-11 build
FreeBSD-11 still contains #error in malloc.h rather than include stdlib.h. Reported by: linimon
This commit is contained in:
parent
89159fbbdf
commit
eb38140753
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568583
10
sysutils/mxkill/files/patch-xhead.h
Normal file
10
sysutils/mxkill/files/patch-xhead.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- xhead.h.orig 1997-03-02 11:06:48.000000000 -0800
|
||||
+++ xhead.h 2021-03-16 08:52:47.491466000 -0700
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <malloc.h>
|
||||
#include <memory.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
10
x11/mxascii/files/patch-xhead.h
Normal file
10
x11/mxascii/files/patch-xhead.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- xhead.h.orig 1996-06-18 15:52:31.000000000 -0700
|
||||
+++ xhead.h 2021-03-16 08:52:44.972493000 -0700
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <malloc.h>
|
||||
#include <memory.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
Loading…
Reference in New Issue
Block a user