summaryrefslogtreecommitdiff
path: root/Ports/flex/patches/0001-Fix-config.h.in.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/flex/patches/0001-Fix-config.h.in.patch')
-rw-r--r--Ports/flex/patches/0001-Fix-config.h.in.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/Ports/flex/patches/0001-Fix-config.h.in.patch b/Ports/flex/patches/0001-Fix-config.h.in.patch
new file mode 100644
index 0000000000..fe69d2754f
--- /dev/null
+++ b/Ports/flex/patches/0001-Fix-config.h.in.patch
@@ -0,0 +1,33 @@
+From 622a451c631ed96575c78f68b9df830fe6beedac Mon Sep 17 00:00:00 2001
+From: Brian Callahan <bcallah@openbsd.org>
+Date: Thu, 23 Jan 2020 23:43:31 -0500
+Subject: [PATCH 1/6] Fix config.h.in
+
+FIXME: This patch does not have any accompanying information.
+---
+ src/config.h.in | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/src/config.h.in b/src/config.h.in
+index 4756505..96fba7b 100644
+--- a/src/config.h.in
++++ b/src/config.h.in
+@@ -249,15 +249,9 @@
+ /* Define to empty if `const' does not conform to ANSI C. */
+ #undef const
+
+-/* Define to rpl_malloc if the replacement function should be used. */
+-#undef malloc
+-
+ /* Define to `int' if <sys/types.h> does not define. */
+ #undef pid_t
+
+-/* Define to rpl_realloc if the replacement function should be used. */
+-#undef realloc
+-
+ /* Define to `unsigned int' if <sys/types.h> does not define. */
+ #undef size_t
+
+--
+2.36.1
+