FreeBSD Bugzilla – Attachment 206243 Details for
Bug 238085
graphics/glfw doesn't build when WAYLAND option is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-glfw
svn-diff-glfw (text/plain), 1.37 KB, created by
Walter Schwarzenfeld
on 2019-08-03 17:47:35 UTC
(
hide
)
Description:
svn-diff-glfw
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2019-08-03 17:47:35 UTC
Size:
1.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 507975) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= glfw > PORTVERSION= 3.3 >+PORTREVISION= 1 > CATEGORIES= graphics > MASTER_SITES= SF > >Index: files/patch-src-wl_init.c >=================================================================== >--- files/patch-src-wl_init.c (nonexistent) >+++ files/patch-src-wl_init.c (working copy) >@@ -0,0 +1,26 @@ >+--- src/wl_init.c.orig 2019-08-03 17:40:05 UTC >++++ src/wl_init.c >+@@ -29,7 +29,6 @@ >+ #include <assert.h> >+ #include <errno.h> >+ #include <limits.h> >+-#include <linux/input.h> >+ #include <stdio.h> >+ #include <stdlib.h> >+ #include <string.h> >+@@ -37,6 +36,15 @@ >+ #include <sys/timerfd.h> >+ #include <unistd.h> >+ #include <wayland-client.h> >++#ifdef __has_include >++#if __has_include(<linux/input.h>) >++#include <linux/input.h> >++#elif __has_include(<dev/evdev/input.h>) >++#include <dev/evdev/input.h> >++#endif >++#else >++#include <linux/input.h> >++#endif >+ >+ >+ static inline int min(int n1, int n2) > >Property changes on: files/patch-src-wl_init.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 238085
: 206243