From owner-svn-ports-head@freebsd.org Wed Apr 11 20:35:36 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA457F8F7A1; Wed, 11 Apr 2018 20:35:36 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A39A79257; Wed, 11 Apr 2018 20:35:36 +0000 (UTC) (envelope-from kwm@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 7C5AA211CE; Wed, 11 Apr 2018 20:35:36 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3BKZaHc014331; Wed, 11 Apr 2018 20:35:36 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3BKZaYV014330; Wed, 11 Apr 2018 20:35:36 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201804112035.w3BKZaYV014330@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Wed, 11 Apr 2018 20:35:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467110 - head/x11-toolkits/gtkglext/files X-SVN-Group: ports-head X-SVN-Commit-Author: kwm X-SVN-Commit-Paths: head/x11-toolkits/gtkglext/files X-SVN-Commit-Revision: 467110 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.25 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: Wed, 11 Apr 2018 20:35:37 -0000 Author: kwm Date: Wed Apr 11 20:35:36 2018 New Revision: 467110 URL: https://svnweb.freebsd.org/changeset/ports/467110 Log: Fix the build by renaming a variable, which is a function in strings.h. Obtained from: debian gtkglext package Added: head/x11-toolkits/gtkglext/files/ head/x11-toolkits/gtkglext/files/patch-gdk_gdkglshapes.c (contents, props changed) Added: head/x11-toolkits/gtkglext/files/patch-gdk_gdkglshapes.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/gtkglext/files/patch-gdk_gdkglshapes.c Wed Apr 11 20:35:36 2018 (r467110) @@ -0,0 +1,22 @@ +index() is a function in + +--- gdk/gdkglshapes.c.orig 2004-02-20 09:38:12 UTC ++++ gdk/gdkglshapes.c +@@ -544,7 +544,7 @@ static GLfloat idata[12][3] = + {-Z, -X, 0} + }; + +-static int index[20][3] = ++static int myindex[20][3] = + { + {0, 4, 1}, + {0, 9, 4}, +@@ -574,7 +574,7 @@ icosahedron(GLenum shadeType) + int i; + + for (i = 19; i >= 0; i--) { +- drawtriangle(i, idata, index, shadeType); ++ drawtriangle(i, idata, myindex, shadeType); + } + } +