View | Details | Raw Unified | Return to bug 242792 | Differences between
and this patch

Collapse All | Expand All

(-)devel/apitrace/Makefile (-4 / +2 lines)
Lines 1-9 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	apitrace
3
PORTNAME=	apitrace
4
DISTVERSION=	7.1-455
4
DISTVERSION=	9.0
5
PORTREVISION=	4
6
DISTVERSIONSUFFIX=	-g7c76b90
7
CATEGORIES=	devel
5
CATEGORIES=	devel
8
6
9
MAINTAINER=	greg@unrelenting.technology
7
MAINTAINER=	greg@unrelenting.technology
Lines 14-20 Link Here
14
12
15
LIB_DEPENDS=	libpng.so:graphics/png
13
LIB_DEPENDS=	libpng.so:graphics/png
16
14
17
USES=		cmake compiler:c++11-lang pkgconfig python:2.7 shebangfix xorg
15
USES=		cmake compiler:c++11-lang pkgconfig python:3.5+ shebangfix xorg
18
USE_GITHUB=	yes
16
USE_GITHUB=	yes
19
USE_XORG=	x11
17
USE_XORG=	x11
20
18
(-)devel/apitrace/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1507984453
1
TIMESTAMP = 1576995585
2
SHA256 (apitrace-apitrace-7.1-455-g7c76b90_GH0.tar.gz) = 235c5f402c1095bc7596073aa65bc4223b5fef3cc2ea54c000e92f735df5b825
2
SHA256 (apitrace-apitrace-9.0_GH0.tar.gz) = 0eec81ba7d3799622336319785465a2982a0621898842517a07894d7e2aa18eb
3
SIZE (apitrace-apitrace-7.1-455-g7c76b90_GH0.tar.gz) = 3578137
3
SIZE (apitrace-apitrace-9.0_GH0.tar.gz) = 3623693
(-)devel/apitrace/files/patch-dispatch_glproc__egl.cpp (-4 / +4 lines)
Lines 1-6 Link Here
1
--- dispatch/glproc_egl.cpp.orig	2017-10-13 17:18:18 UTC
1
--- dispatch/glproc_egl.cpp.orig	2019-11-26 14:27:11 UTC
2
+++ dispatch/glproc_egl.cpp
2
+++ dispatch/glproc_egl.cpp
3
@@ -89,7 +89,7 @@ _getPublicProcAddress(const char *procNa
3
@@ -93,7 +93,7 @@ _getPublicProcAddress(const char *procName)
4
     if (procName[0] == 'e' && procName[1] == 'g' && procName[2] == 'l') {
4
     if (procName[0] == 'e' && procName[1] == 'g' && procName[2] == 'l') {
5
         static void *libEGL = NULL;
5
         static void *libEGL = NULL;
6
         if (!libEGL) {
6
         if (!libEGL) {
Lines 9-15 Link Here
9
             if (!libEGL) {
9
             if (!libEGL) {
10
                 return NULL;
10
                 return NULL;
11
             }
11
             }
12
@@ -132,7 +132,7 @@ _getPublicProcAddress(const char *procNa
12
@@ -136,7 +136,7 @@ _getPublicProcAddress(const char *procName)
13
 
13
 
14
         static void *libGLESv2 = NULL;
14
         static void *libGLESv2 = NULL;
15
         if (!libGLESv2) {
15
         if (!libGLESv2) {
Lines 18-24 Link Here
18
         }
18
         }
19
         if (libGLESv2) {
19
         if (libGLESv2) {
20
             proc = dlsym(libGLESv2, procName);
20
             proc = dlsym(libGLESv2, procName);
21
@@ -143,7 +143,7 @@ _getPublicProcAddress(const char *procNa
21
@@ -147,7 +147,7 @@ _getPublicProcAddress(const char *procName)
22
 
22
 
23
         static void *libGLESv1 = NULL;
23
         static void *libGLESv1 = NULL;
24
         if (!libGLESv1) {
24
         if (!libGLESv1) {
(-)devel/apitrace/files/patch-wrappers_trace.py (-10 / +10 lines)
Lines 1-11 Link Here
1
--- wrappers/trace.py.orig	2017-10-13 17:18:18 UTC
1
--- wrappers/trace.py.orig	2019-11-26 14:27:11 UTC
2
+++ wrappers/trace.py
2
+++ wrappers/trace.py
3
@@ -521,7 +521,7 @@ class Tracer:
3
@@ -524,7 +524,7 @@ class Tracer:
4
         print '#    define alloca _alloca'
4
         print('#    define alloca _alloca')
5
         print '#  endif'
5
         print('#  endif')
6
         print '#else'
6
         print('#else')
7
-        print '#  include <alloca.h> // alloca'
7
-        print('#  include <alloca.h> // alloca')
8
+        print '#  include <stdlib.h> // alloca'
8
+        print('#  include <stdlib.h> // alloca')
9
         print '#endif'
9
         print('#endif')
10
         print
10
         print()
11
         print
11
         print()

Return to bug 242792