From owner-freebsd-bugs Tue May 16 13:49:24 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA20088 for bugs-outgoing; Tue, 16 May 1995 13:49:24 -0700 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA20049 ; Tue, 16 May 1995 13:47:56 -0700 Received: from grumble.grondar.za (grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.11/8.6.9) with ESMTP id WAA01584; Tue, 16 May 1995 22:47:20 +0200 Received: from localhost (localhost [127.0.0.1]) by grumble.grondar.za (8.6.11/8.6.9) with SMTP id WAA17633; Tue, 16 May 1995 22:47:20 +0200 Message-Id: <199505162047.WAA17633@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: ports@FreeBSD.org, bugs@FreeBSD.org Subject: Late fix for XFree86 port Date: Tue, 16 May 1995 22:47:19 +0200 From: Mark Murray Sender: bugs-owner@FreeBSD.org Precedence: bulk Hi I did not want to abuse my recently acquired commit powers, so here is a fix for XFree86 as set in ports/x11/XFree86. The problem was that if Xfree86 is not installed on your system, a bit of source code that is compiled and linked off your O'Reilly and Associates CDROM will not compile because of a lack of some X Header files. This patch points gcc in the right direction (on the CDROM) for long enough to make it work. The code concerned generates the link farm that is eventually patched and compiled to make Xfree. ----------------------8<-----------Patch relative to ports/x11------- diff -cdPr XFree86/scripts/configure XFree86.MM/scripts/configure *** XFree86.MM/scripts/configure Tue May 16 20:53:20 1995 --- XFree86/scripts/configure Tue May 16 22:35:56 1995 *************** *** 36,42 **** fi echo "==> building the tree (please wait)" if [ -f ${WRKDIR}/.cd_OR ] ; then ! (cd $WRKDIR; cp $X11R6/xc/config/util/lndir.c .; cc -o lndir lndir.c; mkdir ./xc; ./lndir $X11R6/xc ./xc) fi if [ -f ${WRKDIR}/.cd_X ] ; then (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) --- 36,42 ---- fi echo "==> building the tree (please wait)" if [ -f ${WRKDIR}/.cd_OR ] ; then ! (cd $WRKDIR; cp $X11R6/xc/config/util/lndir.c .;ln -s $X11R6/xc/include X11; cc -o lndir -I. lndir.c; mkdir ./xc; ./lndir $X11R6/xc ./xc) fi if [ -f ${WRKDIR}/.cd_X ] ; then (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) ----------------------8<-----------Patch relative to ports/x11------- -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200