aboutsummaryrefslogtreecommitdiff
path: root/ports/cgicc/fix-define.patch
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-09-19 01:04:51 +0800
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-18 10:04:51 -0700
commit095b4a2647f05f701ed50e350eb208e6055a2f1b (patch)
tree443ab130e5dc8bc5b9788094ef98ecff1ee01336 /ports/cgicc/fix-define.patch
parent7db8791f7dd604e3d777f932a8870a3b24f2c64a (diff)
downloadvcpkg-095b4a2647f05f701ed50e350eb208e6055a2f1b.tar.gz
vcpkg-095b4a2647f05f701ed50e350eb208e6055a2f1b.zip
[cgicc]Fix linux build. (#8232)
Diffstat (limited to 'ports/cgicc/fix-define.patch')
-rw-r--r--ports/cgicc/fix-define.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/ports/cgicc/fix-define.patch b/ports/cgicc/fix-define.patch
new file mode 100644
index 000000000..2c3f9bca1
--- /dev/null
+++ b/ports/cgicc/fix-define.patch
@@ -0,0 +1,22 @@
+diff --git a/cgicc/config.h.in b/cgicc/config.h.in
+index 6870cc2..ee7b5b4 100644
+--- a/cgicc/config.h.in
++++ b/cgicc/config.h.in
+@@ -76,7 +76,7 @@
+ #undef HAVE__BOOL
+
+ /* The host system cgicc was configured for */
+-#undef HOST
++#cmakedefine HOST "@HOST@"
+
+ /* Define to the sub-directory where libtool stores uninstalled libraries. */
+ #undef LT_OBJDIR
+@@ -106,7 +106,7 @@
+ #undef STDC_HEADERS
+
+ /* Version number of package */
+-#undef VERSION
++#cmakedefine VERSION "@VERSION@"
+
+ /* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */