From fe58e2945b978dd0c42160e868f846214699f39e Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sat, 19 Aug 2023 01:45:00 +0200 Subject: [PATCH] os400: handle CURL_TEMP_PRINTF() while building bind source Closes #11547 --- packages/OS400/make-lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/OS400/make-lib.sh b/packages/OS400/make-lib.sh index 7ad16109be..860cb5d76d 100755 --- a/packages/OS400/make-lib.sh +++ b/packages/OS400/make-lib.sh @@ -100,13 +100,13 @@ fi # Gather the list of symbols to export. # First use awk to pull all CURL_EXTERN function prototypes from # the header files, pass through to sed to strip CURL_DEPRECATED(..) -# then back to awk to pull the string immediately to the left of a -# bracket stripping any spaces or *'s. +# and CURL_TEMP_PRINTF(..) then back to awk to pull the string +# immediately to the left of a bracket stripping any spaces or *'s. EXPORTS=`awk '/^CURL_EXTERN/,/;/' \ "${TOPDIR}"/include/curl/*.h \ "${SCRIPTDIR}/ccsidcurl.h" | - sed 's| CURL_DEPRECATED(.*)||g' | + sed 's/ CURL_DEPRECATED(.*)//g;s/ CURL_TEMP_PRINTF(.*)//g' | awk '{br=index($0,"("); \ if (br) { \ for(c=br-1; ;c--) { \ -- 2.47.3