From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 26 09:50:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37A2B106567C for ; Sun, 26 Oct 2008 09:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24C8C8FC13 for ; Sun, 26 Oct 2008 09:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9Q9o3sc034406 for ; Sun, 26 Oct 2008 09:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9Q9o3tM034404; Sun, 26 Oct 2008 09:50:03 GMT (envelope-from gnats) Date: Sun, 26 Oct 2008 09:50:03 GMT Message-Id: <200810260950.m9Q9o3tM034404@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Bernhard Froehlich Cc: Subject: Re: ports/127856: [NEW PORT] multimedia/mythtv-frontend: MythTV is a homebrew PVR project X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bernhard Froehlich List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 09:50:04 -0000 The following reply was made to PR ports/127856; it has been noted by GNATS. From: Bernhard Froehlich To: bug-followup@FreeBSD.org, decke@bluelife.at Cc: Subject: Re: ports/127856: [NEW PORT] multimedia/mythtv-frontend: MythTV is a homebrew PVR project Date: Sun, 26 Oct 2008 10:28:58 +0100 Fixed compiling with an installed NVidia driver with patch from MythTV Bug #4064 Thanks to Anders Trob__ck who reported that problem. Patchset: http://svn.mythtv.org/trac/changeset/16895 Ticket: http://svn.mythtv.org/trac/ticket/4064 diff -ruN mythtv-frontend.old/Makefile mythtv-frontend/Makefile --- mythtv-frontend.old/Makefile 2008-10-19 18:49:58.000000000 +0200 +++ mythtv-frontend/Makefile 2008-10-19 18:47:01.000000000 +0200 @@ -40,7 +40,8 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" --disable-v4l --disable-ivtv --disable-firewire \ --disable-dvb --disable-dbox2 --disable-hdhomerun --disable-iptv \ - --without-bindings=perl,python --enable-xvmc --enable-xvmc-pro --disable-xvmcw + --without-bindings=perl,python --enable-xvmc --enable-xvmc-pro --disable-xvmcw \ + --enable-glx-procaddrarb QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ diff -ruN mythtv-frontend.old/files/patch-changeset-r16895.diff mythtv-frontend/files/patch-changeset-r16895.diff --- mythtv-frontend.old/files/patch-changeset-r16895.diff 1970-01-01 01:00:00.000000000 +0100 +++ mythtv-frontend/files/patch-changeset-r16895.diff 2008-10-19 18:47:01.000000000 +0200 @@ -0,0 +1,55 @@ +Index: configure +=================================================================== +--- configure (revision 16772) ++++ configure (revision 16895) +@@ -164,4 +164,5 @@ + echo " --disable-x11 disable X11 support" + echo " --x11-path=X11LOC location of X11 include files [$x11_include_path-path]" ++# echo " --enable-glx-procaddrarb use glXGetProcAddressARB() instead of glXGetProcAddress()" + echo " --disable-xrandr disable X11 resolution switching" + echo " --disable-xv disable XVideo (X11 video output accel.)" +@@ -905,4 +906,5 @@ + dvdv + fribidi ++ glx_proc_addr_arb + ' + +@@ -1190,4 +1192,5 @@ + xvmc_vld="yes" + xvmcw="yes" ++glx_proc_addr_arb="no" + + # libraries +@@ -1353,4 +1356,8 @@ + ;; + --xvmc-lib=*) xvmc_lib="$optval" ++ ;; ++ --enable-glx-procaddrarb) glx_proc_addr_arb="yes" ++ ;; ++ --disable-glx-procaddrarb) glx_proc_addr_arb="no" + ;; + --enable-mac-accel) dvdv="yes" +Index: libs/libmythtv/libmythtv.pro +=================================================================== +--- libs/libmythtv/libmythtv.pro (revision 16142) ++++ libs/libmythtv/libmythtv.pro (revision 16895) +@@ -313,4 +313,6 @@ + using_opengl_video:SOURCES += openglvideo.cpp + ++ using_glx_proc_addr_arb:DEFINES += USING_GLX_PROC_ADDR_ARB ++ + # Misc. frontend + HEADERS += guidegrid.h infostructs.h +Index: /branches/release-0-21-fixes/mythtv/libs/libmythtv/util-opengl.cpp +=================================================================== +--- libs/libmythtv/util-opengl.cpp (revision 15141) ++++ libs/libmythtv/util-opengl.cpp (revision 16895) +@@ -307,5 +307,7 @@ + __GLXextFuncPtr ret = NULL; + +-#if GLX_VERSION_1_4 ++#if USING_GLX_PROC_ADDR_ARB ++ X11S(ret = glXGetProcAddressARB((const GLubyte*)procName.latin1())); ++#elif GLX_VERSION_1_4 + X11S(ret = glXGetProcAddress((const GLubyte*)procName.latin1())); + #elif GLX_ARB_get_proc_address