From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 20 16:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1140A11C for ; Fri, 20 Dec 2013 16:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E083D105A for ; Fri, 20 Dec 2013 16:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKG00VV072501 for ; Fri, 20 Dec 2013 16:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBKG00Ce072492; Fri, 20 Dec 2013 16:00:00 GMT (envelope-from gnats) Resent-Date: Fri, 20 Dec 2013 16:00:00 GMT Resent-Message-Id: <201312201600.rBKG00Ce072492@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Henrik Sylvester Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62746F39 for ; Fri, 20 Dec 2013 15:58:03 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E831103E for ; Fri, 20 Dec 2013 15:58:03 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBKFw3jk063870 for ; Fri, 20 Dec 2013 15:58:03 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBKFw3oC063869; Fri, 20 Dec 2013 15:58:03 GMT (envelope-from nobody) Message-Id: <201312201558.rBKFw3oC063869@oldred.freebsd.org> Date: Fri, 20 Dec 2013 15:58:03 GMT From: Jan Henrik Sylvester To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185033: [PATCH] games/sauerbraten fix build on 10.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 16:00:01 -0000 >Number: 185033 >Category: ports >Synopsis: [PATCH] games/sauerbraten fix build on 10.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 20 16:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jan Henrik Sylvester >Release: 10.0-RC2 amd64 >Organization: >Environment: >Description: [Patch sent to maintainer for comments on 2013-12-06 without response. Repeating it here for it not to get lost.] games/sauerbraten fails on 10 due to loader changes. >How-To-Repeat: Try to build games/sauerbraten on 10.0-RC2/amd64. >Fix: With the patch attached, games/sauerbraten builds, packages, and runs on 10.0-RC2/amd64. Moreover it still builds on 9.2-RELEASE with the only difference in the package being libexec/sauer_client. The only difference from 'readelf -a' on this file is the order of libX11.so.6 with respect to the other libs. The patch seems save. Patch attached with submission follows: --- games/sauerbraten/files/patch-src_Makefile.orig 2013-03-24 19:11:38.000000000 +0000 +++ games/sauerbraten/files/patch-src_Makefile 2013-12-06 18:10:53.000000000 +0000 @@ -17,7 +17,7 @@ -CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` -CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL +CLIENT_INCLUDES= $(INCLUDES) `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -+CLIENT_LIBS= -Lenet/.libs -lenet `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lSDL_mixer -lz -lGL ++CLIENT_LIBS= -Lenet/.libs -lenet `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lSDL_mixer -lz -lGL -lX11 endif ifeq ($(PLATFORM),Linux) CLIENT_LIBS+= -lrt >Release-Note: >Audit-Trail: >Unformatted: