FreeBSD Bugzilla – Attachment 206308 Details for
Bug 237917
graphics/libGLw: Should glwMDrawingAreaWidgetClass be declared as extern?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update libGLw with patches from upstream
ports.graphics.libGLw.pr237917.diff (text/plain), 3.78 KB, created by
Niclas Zeising
on 2019-08-06 14:57:18 UTC
(
hide
)
Description:
Update libGLw with patches from upstream
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2019-08-06 14:57:18 UTC
Size:
3.78 KB
patch
obsolete
>Index: graphics/libGLw/Makefile >=================================================================== >--- graphics/libGLw/Makefile (revision 508251) >+++ graphics/libGLw/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= libGLw > PORTVERSION= 8.0.0 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= graphics > MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/glw/ > DISTNAME= glw-${PORTVERSION} >Index: graphics/libGLw/files/patch-b060a07.c >=================================================================== >--- graphics/libGLw/files/patch-b060a07.c (nonexistent) >+++ graphics/libGLw/files/patch-b060a07.c (working copy) >@@ -0,0 +1,55 @@ >+diff --git a/GLwDrawA.h b/GLwDrawA.h >+index b9711c216bc458f7ec2d2055495045efef8903f0..316a70d5d2061af67d8307c74706208907c3ac6a 100644 >+--- GLwDrawA.h >++++ GLwDrawA.h >+@@ -131,12 +131,18 @@ >+ #define GLwNaccumAlphaSize "accumAlphaSize" >+ #define GLwCAccumAlphaSize "AccumAlphaSize" >+ >++#if (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) >++# define GLAPIVAR extern __attribute__((visibility("default"))) >++#else >++# define GLAPIVAR extern >++#endif >++ >+ #ifdef __GLX_MOTIF >+ >+ typedef struct _GLwMDrawingAreaClassRec *GLwMDrawingAreaWidgetClass; >+ typedef struct _GLwMDrawingAreaRec *GLwMDrawingAreaWidget; >+ >+-GLAPI WidgetClass glwMDrawingAreaWidgetClass; >++GLAPIVAR WidgetClass glwMDrawingAreaWidgetClass; >+ >+ >+ #else >+@@ -144,7 +150,7 @@ GLAPI WidgetClass glwMDrawingAreaWidgetClass; >+ typedef struct _GLwDrawingAreaClassRec *GLwDrawingAreaWidgetClass; >+ typedef struct _GLwDrawingAreaRec *GLwDrawingAreaWidget; >+ >+-GLAPI WidgetClass glwDrawingAreaWidgetClass; >++GLAPIVAR WidgetClass glwDrawingAreaWidgetClass; >+ >+ >+ #endif >+diff --git a/GLwDrawAP.h b/GLwDrawAP.h >+index 4ff21b426dd5912e007356160ef6fe5a41536c24..6d29849d4288f4affaa5ed3f5d5d5bc1668d4cd3 100644 >+--- GLwDrawAP.h >++++ GLwDrawAP.h >+@@ -59,7 +59,7 @@ typedef struct _GLwMDrawingAreaClassRec { >+ } GLwMDrawingAreaClassRec; >+ >+ >+-GLAPI GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; >++GLAPIVAR GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; >+ >+ >+ /* XT */ >+@@ -70,7 +70,7 @@ typedef struct _GLwDrawingAreaClassRec { >+ GLwDrawingAreaClassPart glwDrawingArea_class; >+ } GLwDrawingAreaClassRec; >+ >+-GLAPI GLwDrawingAreaClassRec glwDrawingAreaClassRec; >++GLAPIVAR GLwDrawingAreaClassRec glwDrawingAreaClassRec; >+ >+ >+ #endif > >Property changes on: graphics/libGLw/files/patch-b060a07.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: graphics/libGLw/files/patch-c4f7cdf.c >=================================================================== >--- graphics/libGLw/files/patch-c4f7cdf.c (nonexistent) >+++ graphics/libGLw/files/patch-c4f7cdf.c (working copy) >@@ -0,0 +1,13 @@ >+diff --git a/GLwDrawA.c b/GLwDrawA.c >+index b9ef47b1ce505553120fa7556693b97e5d91b3c5..8ce12fba0f6ef4b092837ca0c2e6aa44f5de2dfa 100644 >+--- GLwDrawA.c >++++ GLwDrawA.c >+@@ -474,7 +474,7 @@ static void Initialize(GLwDrawingAreaWidget req,GLwDrawingAreaWidget neww,ArgLis >+ >+ /* fix size */ >+ if(req->core.width==0) neww->core.width=100; >+- if(req->core.height==0) neww->core.width=100; >++ if(req->core.height==0) neww->core.height=100; >+ >+ /* create the attribute list if needed */ >+ neww->glwDrawingArea.myList=FALSE; > >Property changes on: graphics/libGLw/files/patch-c4f7cdf.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237917
: 206308