[SERVER-32413] update pcre_get_sources.sh and incorperate the chage from HAVE_STRTOLL patch from SERVER-32391 Created: 19/Dec/17  Updated: 30/Oct/23  Resolved: 02/Jan/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Bug Priority: Major - P3
Reporter: Gabriel Russell (Inactive) Assignee: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2018-12-31, Dev Tools 2019-01-14
Participants:

 Description   

in SERVER-32391, we've manually patched pcre-8.41/build_posix/config.h, but that file can be updated by pcre_get_sources.sh . So pcre_get_sources.sh should get updated so that it will maintain the change that SERVER-32391 introduced.



 Comments   
Comment by Githook User [ 02/Jan/19 ]

Author:

{'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}

Message: SERVER-32413 Update pcre_get_sources.sh to incorporate patches
Branch: master
https://github.com/mongodb/mongo/commit/db3fc1eba2ca7c8089daa586c037000cfcc715d6

Comment by Mark Benvenuto [ 19/Dec/17 ]

Something similar to this should be sufficient:

 sed "s/.*HAVE_STRTOQ.*/\/* #undef HAVE_STRTOQ*\//" < config.h \
     > config.h.tmp
 sed "s/.*HAVE_STRTOLL.*/\/* #define HAVE_STRTOQ*\//" < config.h.tmp \
     > $DEST_DIR/build_$TARGET_UNAME/config.h

Generated at Thu Feb 08 04:30:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.