diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-09-19 01:04:51 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-18 10:04:51 -0700 |
| commit | 095b4a2647f05f701ed50e350eb208e6055a2f1b (patch) | |
| tree | 443ab130e5dc8bc5b9788094ef98ecff1ee01336 /ports/cgicc/fix-define.patch | |
| parent | 7db8791f7dd604e3d777f932a8870a3b24f2c64a (diff) | |
| download | vcpkg-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.patch | 22 |
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. */ |
