diff options
| author | Nikolay Simakov <nikolays@buffalo.edu> | 2019-01-10 14:54:05 -0500 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-01-10 11:54:05 -0800 |
| commit | 4d2ffdfbcf9ed9239549d8620af59e0469e56a4d (patch) | |
| tree | 6a2ce38edada82d8dddf927a4edddf7ca1455ffa /ports/plplot/0002-wxwidgets-dev-fixes.patch | |
| parent | 5985b82b053cb9a371151485ea010a28ccce4e34 (diff) | |
| download | vcpkg-4d2ffdfbcf9ed9239549d8620af59e0469e56a4d.tar.gz vcpkg-4d2ffdfbcf9ed9239549d8620af59e0469e56a4d.zip | |
fixed building plplot with wxwidget feature on (#5089)
* fixed builting plplot with wxwidget feature on
* [plplot] Use vcpkg_extract_source_archive_ex
Diffstat (limited to 'ports/plplot/0002-wxwidgets-dev-fixes.patch')
| -rw-r--r-- | ports/plplot/0002-wxwidgets-dev-fixes.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/plplot/0002-wxwidgets-dev-fixes.patch b/ports/plplot/0002-wxwidgets-dev-fixes.patch new file mode 100644 index 000000000..707c64796 --- /dev/null +++ b/ports/plplot/0002-wxwidgets-dev-fixes.patch @@ -0,0 +1,12 @@ +diff --git a/drivers/wxwidgets_dev.cpp b/drivers/wxwidgets_dev.cpp
+index f025bd8..f5881b1 100644
+--- a/drivers/wxwidgets_dev.cpp
++++ b/drivers/wxwidgets_dev.cpp
+@@ -31,6 +31,7 @@
+
+ // Headers needed for Rand
+ #ifdef WIN32
++#define _WINSOCKAPI_
+ // This include must occur before any other include of stdlib.h due to
+ // the #define _CRT_RAND_S
+ #define _CRT_RAND_S
|
