summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-03-08 11:32:15 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-03-08 11:32:15 +0000
commitab00d6373ea593b7a5aecf59ada1d42e1316ece6 (patch)
tree65e2f5166332b59c2c9fd8c681e342d1c9fc24a0 /gnome-extra/sensors-applet/files
parentVersion bump. (diff)
downloadhistorical-ab00d6373ea593b7a5aecf59ada1d42e1316ece6.tar.gz
historical-ab00d6373ea593b7a5aecf59ada1d42e1316ece6.tar.bz2
historical-ab00d6373ea593b7a5aecf59ada1d42e1316ece6.zip
Bump to 2.2.2 with fix for nvidia detection, bug #221817.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/sensors-applet/files')
-rw-r--r--gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch b/gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch
new file mode 100644
index 000000000000..f26192385bd4
--- /dev/null
+++ b/gnome-extra/sensors-applet/files/sensors-applet-2.2.2-nvidia-check.patch
@@ -0,0 +1,22 @@
+# 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 ], [],