public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/sensors-applet/files: sensors-applet-2.2.2-nvidia-check.patch
@ 2009-03-08 11:32 Gilles Dartiguelongue (eva)
  0 siblings, 0 replies; only message in thread
From: Gilles Dartiguelongue (eva) @ 2009-03-08 11:32 UTC (permalink / raw
  To: gentoo-commits

eva         09/03/08 11:32:15

  Added:                sensors-applet-2.2.2-nvidia-check.patch
  Log:
  Bump to 2.2.2 with fix for nvidia detection, bug #221817.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch?rev=1.1&content-type=text/plain

Index: sensors-applet-2.2.2-nvidia-check.patch
===================================================================
# Fix detection of nvidia library
# https://bugs.gentoo.org/attachment.cgi?id=180397
# https://sourceforge.net/tracker2/?func=detail&aid=2672290&group_id=128538&atid=711980
--- a/configure.ac	2009-01-31 13:59:36.000000000 +0100
+++ b/configure.ac	2009-01-31 14:01:06.000000000 +0100
@@ -29,6 +29,7 @@
 # ========== export compiler / linker options ======== #
 AC_SUBST(CFLAGS)
 AC_SUBST(CPPFLAGS)
+AC_SUBST(LIBS)
 AC_SUBST(LDFLAGS)
 
 # ============== look for dependencies =============== #
@@ -170,7 +171,7 @@
                 AC_CHECK_LIB(X11, XOpenDisplay, [ HAVE_X11=true ]))
 	# can't embed next AC_CHECK_HEADERS in true case of AC_CHECK_LIB
 	if test "${HAVE_X11}" = "true"; then
-	        LDFLAGS="${LDFLAGS} -lX11 -lXext"
+	        LIBS="${LIBS} -lX11 -lXext"
 		# need to specifically include X11/Xlib header when
 		# doing checks for NVCtrl headers
 	        AC_CHECK_HEADERS(NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h, [ HAVE_NVIDIA=true ], [], 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-08 11:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 11:32 [gentoo-commits] gentoo-x86 commit in gnome-extra/sensors-applet/files: sensors-applet-2.2.2-nvidia-check.patch Gilles Dartiguelongue (eva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox