Skip to content

Commit

Permalink
[libepoxy] Update to 1.5.4 (#11448)
Browse files Browse the repository at this point in the history
- New upstream version 1.5.4
- Use simplified file(INSTALL ...) for copyright file
- Add libepoxy-1.5.4_Add_call_convention_to_mock_function.patch

Co-authored-by: nicole mazzuca <[email protected]>
  • Loading branch information
c72578 and strega-nil authored May 20, 2020
1 parent 3b79a2d commit 0567431
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
10 changes: 5 additions & 5 deletions ports/libepoxy/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: libepoxy
Version: 1.5.3-4
Homepage: https://github.com/anholt/libepoxy
Description: Epoxy is a library for handling OpenGL function pointer management for you
Build-Depends: tool-meson
Source: libepoxy
Version: 1.5.4
Homepage: https://github.com/anholt/libepoxy
Description: Epoxy is a library for handling OpenGL function pointer management for you
Build-Depends: tool-meson
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 81d758d025089d6b3b5309205ff4cb75789e6205 Mon Sep 17 00:00:00 2001
From: crziter <[email protected]>
Date: Tue, 25 Feb 2020 11:33:56 +0700
Subject: [PATCH] Add call convention to mock function

---
test/gl_version.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/gl_version.c b/test/gl_version.c
index 9ab0080..9fe1bba 100644
--- a/test/gl_version.c
+++ b/test/gl_version.c
@@ -29,7 +29,7 @@ GLenum mock_enum;
const char *mock_gl_version;
const char *mock_glsl_version;

-static const GLubyte *override_glGetString(GLenum name)
+static const GLubyte * EPOXY_CALLSPEC override_glGetString(GLenum name)
{
switch (name) {
case GL_VERSION:
10 changes: 7 additions & 3 deletions ports/libepoxy/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO anholt/libepoxy
REF 1.5.3
SHA512 e831f4f918f08fd5f799501efc0e23b8d404478651634f5e7b35f8ebcc29d91abc447ab20da062dde5be75e18cb39ffea708688e6534f7ab257b949f9c53ddc8
HEAD_REF master)
REF 1.5.4
SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5
HEAD_REF master
PATCHES
# https://github.com/anholt/libepoxy/pull/220
libepoxy-1.5.4_Add_call_convention_to_mock_function.patch
)


if (VCPKG_TARGET_IS_WINDOWS)
Expand Down

0 comments on commit 0567431

Please sign in to comment.