Commit Graph

21 Commits

Author SHA1 Message Date
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
Igor Kostenko
96edc8c4a3
[freeglut] updated to 3.2.1 (#11423)
* [freeglut] updated to 3.2.1

* [freeglut] address review comments

* [freeglut] add glut forwarding header

* [freeglut] revert incorrect wrapper location

* [freeglut] enable FREEGLUT_REPLACE_GLUT

* [freeglut] static lib renaming is not needed anymore

* [freeglut] revert FREEGLUT_REPLACE_GLUT setting, always use glut.h

* Revert "[freeglut] static lib renaming is not needed anymore"

This reverts commit 550018c1b8.
2020-05-21 11:29:52 -07:00
MACHIZAUD Andréa
8bb07e21ca
[freeglut] check whether debug/release is enabled before moving files (#9745) 2020-01-30 14:40:10 -08:00
myd7349
6e99bd4018 [freeglut] Patch header correctly (#9725)
This fixes bug introduced by #9155.
2020-01-22 12:19:17 -08:00
myd7349
b2f7823dd2 [glui] Add new port (#9155)
* [glui] Add new port

* [freeglut] Fix static linking

* [glui] Fix description

* [glui] Update
2020-01-15 16:46:35 -08:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Phoebe
bcff929875 Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
2019-07-31 13:01:02 -07:00
Stefano Sinigardi
9c33de2d07 [freeimage,freeglut,giflib,libwebp] port patches from #5169 (#6364)
* [freeimage] improve compatibility with other ports, using typedefs identical to other headers to avoid errors
* [libwebp] fixes for non-win32 systems
* [giflib] revert again #5578
* [freeglut] add missing wrapper for linux
2019-05-09 11:45:23 -07:00
Stefano Sinigardi
6cdb36a4cf [freeglut] enable building on non-win32 (#6298) 2019-05-08 13:47:32 -07:00
Qing-Dong Wang
0619aaec65 [freeglut] fix download URLs (#6035) 2019-04-25 23:37:20 -07:00
icedream2linxi
f138ef3747 [freeglut] Fix the internal default link name of freeglut. Fixed #4243. 2018-09-07 20:24:27 +08:00
Robert Schumacher
827c893b8e [sfml] Support Linux 2018-04-30 16:00:29 -07:00
Robert Schumacher
1b2f75be94 [vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules. 2017-11-16 23:54:55 -08:00
Stefano Sinigardi
68bfea163a rename freeglut_static.lib for compatibility with FindGLUT.cmake 2017-11-08 14:55:46 +01:00
Arkady Shapkin
f8ae60976d [freeglut] Remove debug suffix 2017-07-08 02:45:37 +03:00
Alexander Karatarakis
e6ebc03699 [freeglut] Extract SOURCE_PATH variable 2016-12-07 15:21:30 -08:00
Alexander Karatarakis
628420bf8e [freeglut] Enable static building. Fix pdb copying issues 2016-11-15 17:39:33 -08:00
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
98b270b8be [freeglut] Mark as not supporting static building yet 2016-10-26 12:48:57 -07:00
Ebrahim Byagowi
75091823ec Add freeglut
Fixes #105
2016-10-11 12:17:00 +03:30