From owner-svn-ports-head@freebsd.org Tue Aug 13 18:08:41 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16142B7A1E; Tue, 13 Aug 2019 18:08:41 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467LLc6bwNz4BXn; Tue, 13 Aug 2019 18:08:40 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BFF2B1B554; Tue, 13 Aug 2019 18:08:40 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7DI8ei6006343; Tue, 13 Aug 2019 18:08:40 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7DI8euw006342; Tue, 13 Aug 2019 18:08:40 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201908131808.x7DI8euw006342@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Tue, 13 Aug 2019 18:08:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508841 - in head/graphics/glfw: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jgh X-SVN-Commit-Paths: in head/graphics/glfw: . files X-SVN-Commit-Revision: 508841 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2019 18:08:41 -0000 Author: jgh Date: Tue Aug 13 18:08:40 2019 New Revision: 508841 URL: https://svnweb.freebsd.org/changeset/ports/508841 Log: - address WAYLAND build PR: 238085 Submitted by: list1@gjunka.com Approved by: neel@neelc.org (maintainer) Added: head/graphics/glfw/files/patch-src-wl_init.c (contents, props changed) Modified: head/graphics/glfw/Makefile Modified: head/graphics/glfw/Makefile ============================================================================== --- head/graphics/glfw/Makefile Tue Aug 13 17:50:33 2019 (r508840) +++ head/graphics/glfw/Makefile Tue Aug 13 18:08:40 2019 (r508841) @@ -3,6 +3,7 @@ PORTNAME= glfw PORTVERSION= 3.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF Added: head/graphics/glfw/files/patch-src-wl_init.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glfw/files/patch-src-wl_init.c Tue Aug 13 18:08:40 2019 (r508841) @@ -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 + #include + #include +-#include + #include + #include + #include +@@ -37,6 +36,15 @@ + #include + #include + #include ++#ifdef __has_include ++#if __has_include() ++#include ++#elif __has_include() ++#include ++#endif ++#else ++#include ++#endif + + + static inline int min(int n1, int n2)