mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-11 04:42:16 +01:00
a466cc5537
Security: NtpBUg3767, NtpBug3808, NtpBug3807 (CVE-2023-26555) MFC after: immediately
28 lines
731 B
Sed
28 lines
731 B
Sed
# Sed script to postprocess config.h into event-config.h.
|
|
|
|
1i\
|
|
/* event2/event-config.h\
|
|
*\
|
|
* This file was generated by autoconf when libevent was built, and post-\
|
|
* processed by Libevent so that its macros would have a uniform prefix.\
|
|
*\
|
|
* DO NOT EDIT THIS FILE.\
|
|
*\
|
|
* Do not rely on macros in this file existing in later versions.\
|
|
*/\
|
|
\
|
|
#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_\
|
|
#define EVENT2_EVENT_CONFIG_H_INCLUDED_\
|
|
|
|
$a\
|
|
\
|
|
#endif /* event2/event-config.h */
|
|
|
|
/#\( *\)undef STDC_HEADERS\>/b
|
|
/#\( *\)define STDC_HEADERS\>/b
|
|
|
|
# Only rewrite symbols starting with capitals
|
|
s/#\( *\)define \([A-Z]\)/#\1define EVENT__\2/
|
|
s/#\( *\)undef \([A-Z]\)/#\1undef EVENT__\2/
|
|
s/#\( *\)if\(n*\)def \([A-Z]\)/#\1if\2def EVENT__\2/
|