diff options
| author | Tim Autry <tim.autry@outlook.com> | 2020-05-27 01:02:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 22:02:55 -0700 |
| commit | 7bfd3e4b317e95ae0cf301c051d65b9c027ffdd9 (patch) | |
| tree | bd5ae0ba5b8bc70e1ad43bbe67248b9cea120c1c /scripts | |
| parent | ec4846cbf54956f11698115ade55ca82d67e0e4e (diff) | |
| download | vcpkg-7bfd3e4b317e95ae0cf301c051d65b9c027ffdd9.tar.gz vcpkg-7bfd3e4b317e95ae0cf301c051d65b9c027ffdd9.zip | |
[freeglut] fix debug macro patch (#11527)
* [freeglut] fix linking release dll to debug lib
This patch:
1. Increments version by -1 in the CONTROL file
2. Adds execution of fix-debug-macro.patch file in portfile.cmake
3. Add the fix-debug-macro.patch to the port directory
* [freeglut] update version to -1
Update CONTROL file to reflect version 3.2.1-1 adding fix-debug-macro.patch
* [freeglut] update portfile.cmake
Update portfile.cmake to execute new fix-debug-macro.patch
Reference: https://github.com/microsoft/vcpkg/issues/8315
This patch updates:
1. the ./include/GL/freeglut_std.h
- line 73 and 91
- from ifdef NDEBUG
- to if defined(NDEBUG) || !defined(_DEBUG)
2. the ./src/blackberry/fg_main_blackberry.c
- line 34
- from ifdef NDEBUG
- to if defined(NDEBUG) || !defined(_DEBUG)
* Update portfile.cmake
* Update ports/freeglut/portfile.cmake
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
