Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 21:38:13 -0400 (EDT)
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187688: [patch] [maintainer] games/tome4: fix with nvidia cards
Message-ID:  <20140318013813.B10FB1A92B2@mail.lifanov.com>
Resent-Message-ID: <201403180140.s2I1e0pW092451@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187688
>Category:       ports
>Synopsis:       [patch] [maintainer] games/tome4: fix with nvidia cards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 01:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Nikolai Lifanov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	This removes an erroneously-added patch that broke the port at runtime with nvidia cards.
	This is reported by m.tsatsenko@gmail.com in ports/186565.
	Once this patch is committed, the other PR can be closed.

>How-To-Repeat:
	1) get an nvidia card with x11/nvidia-driver
	2) make -C /usr/ports/games/tome4 install
	3) tome4

>Fix:

--- patch.txt begins here ---
Index: games/tome4/Makefile
===================================================================
--- games/tome4/Makefile        (revision 348510)
+++ games/tome4/Makefile        (working copy)
@@ -3,6 +3,7 @@

 PORTNAME=      tome4
 PORTVERSION=   1.1.5
+PORTREVISION=  1
 CATEGORIES=    games
 MASTER_SITES=  http://te4.org/dl/t-engine/ \
                SF/lifanov-ports-icons/${PORTNAME}/:icons
Index: games/tome4/files/patch-build__te4core.lua
===================================================================
--- games/tome4/files/patch-build__te4core.lua  (revision 348510)
+++ games/tome4/files/patch-build__te4core.lua  (working copy)
@@ -1,14 +1,5 @@
 --- ./build/te4core.lua.orig   2014-01-05 19:42:37.000000000 -0500
 +++ ./build/te4core.lua        2014-02-06 13:23:22.476164878 -0500
-@@ -109,7 +109,7 @@
-
-       configuration "bsd"
-               libdirs {"/usr/local/lib/"}
--              links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m", "pthread" }
-+              links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m" }
-               defines { [[TENGINE_HOME_PATH='".t-engine"']], 'SELFEXE_BSD' }
-
-       configuration {"Debug"}
 @@ -159,7 +159,7 @@

                files { "../src/luajit2/src/host/minilua.c" }
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140318013813.B10FB1A92B2>