Skip to content

Commit 5a94e72

Browse files
committed
patch config to minimize changes between the official config
1 parent 7b0a74f commit 5a94e72

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!*.patch
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/ext/uri/uriparser/src/UriConfig.h b/ext/uri/uriparser/src/UriConfig.h
2+
index b9a85a8..ab78b96 100644
3+
--- a/ext/uri/uriparser/src/UriConfig.h
4+
+++ b/ext/uri/uriparser/src/UriConfig.h
5+
@@ -41,7 +41,9 @@
6+
7+
# define PACKAGE_VERSION "@PROJECT_VERSION@"
8+
9+
+/*
10+
#cmakedefine HAVE_WPRINTF
11+
#cmakedefine HAVE_REALLOCARRAY
12+
+*/
13+
14+
#endif /* !defined(URI_CONFIG_H) */

.github/scripts/download-bundled/uriparser.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ cd ext/uri/uriparser
1919

2020
# move renamed files
2121
mv src/UriConfig.h.in src/UriConfig.h
22+
23+
# patch customized files
24+
git apply -v ../../../.github/scripts/download-bundled/uriparser.config.patch

0 commit comments

Comments
 (0)