mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-30 23:50:15 +00:00
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
https://github.com/nmap/nmap/commit/b9263f056ab3acd666d25af84d399410560d48ac
|
|
|
|
From b9263f056ab3acd666d25af84d399410560d48ac Mon Sep 17 00:00:00 2001
|
|
From: dmiller <dmiller@e0a8ed71-7df4-0310-8962-fdc924857419>
|
|
Date: Tue, 30 May 2023 18:33:07 +0000
|
|
Subject: [PATCH] Use correct HAVE_ macros for Lua 5.4. Fixes #2648
|
|
|
|
---
|
|
ncat/config.h.in | 4 ++--
|
|
nmap_config.h.in | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/ncat/config.h.in b/ncat/config.h.in
|
|
index 6af09e4cec..98ec6bebb7 100644
|
|
--- a/ncat/config.h.in
|
|
+++ b/ncat/config.h.in
|
|
@@ -191,7 +191,7 @@
|
|
|
|
/* Defines for locating Lua */
|
|
#undef LUA_INCLUDED
|
|
-#undef HAVE_LUA5_3_LUA_H
|
|
-#undef HAVE_LUA_5_3_LUA_H
|
|
+#undef HAVE_LUA5_4_LUA_H
|
|
+#undef HAVE_LUA_5_4_LUA_H
|
|
#undef HAVE_LUA_H
|
|
#undef HAVE_LUA_LUA_H
|
|
diff --git a/nmap_config.h.in b/nmap_config.h.in
|
|
index 497b6eeead..79ec4e7620 100644
|
|
--- a/nmap_config.h.in
|
|
+++ b/nmap_config.h.in
|
|
@@ -172,8 +172,8 @@ extern "C" int gethostname (char *, unsigned int);
|
|
#undef HAVE_PCAP_SET_IMMEDIATE_MODE
|
|
|
|
/* Various possibilities for lua.h */
|
|
-#undef HAVE_LUA5_3_LUA_H
|
|
-#undef HAVE_LUA_5_3_LUA_H
|
|
+#undef HAVE_LUA5_4_LUA_H
|
|
+#undef HAVE_LUA_5_4_LUA_H
|
|
#undef HAVE_LUA_H
|
|
#undef HAVE_LUA_LUA_H
|
|
|