vcpkg/ports/freeglut
Tim Autry 7bfd3e4b31
[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>
2020-05-26 22:02:55 -07:00
..
CONTROL [freeglut] fix debug macro patch (#11527) 2020-05-26 22:02:55 -07:00
fix-debug-macro.patch [freeglut] fix debug macro patch (#11527) 2020-05-26 22:02:55 -07:00
gcc10.patch [freeglut] updated to 3.2.1 (#11423) 2020-05-21 11:29:52 -07:00
macOS_Xquartz.patch [freeglut] updated to 3.2.1 (#11423) 2020-05-21 11:29:52 -07:00
portfile.cmake [freeglut] fix debug macro patch (#11527) 2020-05-26 22:02:55 -07:00
usage [vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules. 2017-11-16 23:54:55 -08:00
use_targets_to_export_x11_dependency.patch [freeglut] updated to 3.2.1 (#11423) 2020-05-21 11:29:52 -07:00
vcpkg-cmake-wrapper.cmake [freeimage,freeglut,giflib,libwebp] port patches from #5169 (#6364) 2019-05-09 11:45:23 -07:00