From owner-freebsd-x11@FreeBSD.ORG Sat Nov 29 19:47:41 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F76E7C1 for ; Sat, 29 Nov 2014 19:47:41 +0000 (UTC) Received: from eastrmfepi101.cox.net (eastrmfepi101.cox.net [68.230.241.197]) by mx1.freebsd.org (Postfix) with ESMTP id A7E8ADA6 for ; Sat, 29 Nov 2014 19:47:40 +0000 (UTC) Received: from eastrmimpo110 ([68.230.241.223]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20141129185251.MVJL17656.eastrmfepo201.cox.net@eastrmimpo110> for ; Sat, 29 Nov 2014 13:52:51 -0500 Received: from [192.168.3.15] ([72.219.202.186]) by eastrmimpo110 with cox id MWsq1p00P41obj401Wsqzq; Sat, 29 Nov 2014 13:52:51 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020209.547A1603.000E,ss=1,re=0.001,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=GKHW5JxK c=1 sm=1 a=k40gPPfQ5QH6qv5U/EJc3Q==:17 a=f5xKl4ys9bwA:10 a=8nJEP1OIZ-IA:10 a=kviXuzpPAAAA:8 a=e5mUnYsNAAAA:8 a=7jz2Dn07S8W02UQY7SMA:9 a=wPNLvfGTeEIA:10 a=k40gPPfQ5QH6qv5U/EJc3Q==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <547A15F5.2020509@cox.net> Date: Sat, 29 Nov 2014 13:52:37 -0500 From: "John D. Hendrickson" User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: PATCH sdksyms.sh, near total rewrite, fixes many issues (repost) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2014 19:47:41 -0000 (repost: just signed up and did not recieve this after sending, but on a question later, so reposted) sdksymc.c defines symbols Xorg will link against (in part) and will be exported by Xorg for (lookup by X progs) sdksymc.c has given many trouble compiling Xorg, either lack of exported symbols for Xorg to include, too many (ones un-defined), or incl &void in list (compile errors). https://bugs.freedesktop.org/show_bug.cgi?id=86833 sdksyms.sh (orig) will not get all extern functions and also has an XV bug. this new one i believe gets all the old one tries to parse cpp output without bison, even though that's not as hard as parsing C, it is far trickier than the author thinks. still not perfect is a rule the new one uses to decide what symb is good. it's better i'd hate to say it's correct - i'm unsure. yet it leaves the casual make user in a much better position.