SOURCES: monitor-calibration-libXxf86vm.patch (NEW) - libXxf86vm p...

blues blues at pld-linux.org
Fri Dec 1 09:03:23 CET 2006


Author: blues                        Date: Fri Dec  1 08:03:23 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- libXxf86vm patch added

---- Files affected:
SOURCES:
   monitor-calibration-libXxf86vm.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/monitor-calibration-libXxf86vm.patch
diff -u /dev/null SOURCES/monitor-calibration-libXxf86vm.patch:1.1
--- /dev/null	Fri Dec  1 09:03:23 2006
+++ SOURCES/monitor-calibration-libXxf86vm.patch	Fri Dec  1 09:03:18 2006
@@ -0,0 +1,15 @@
+--- ./configure.ac.org	2003-09-30 19:38:23.000000000 +0200
++++ ./configure.ac	2006-12-01 08:52:52.000000000 +0100
+@@ -26,9 +26,9 @@
+ LIBS="$LIBS -L$x_libraries"
+ CFLAGS="$CFLAGS -L$x_includes"
+ dnl TODO: how do I check for static libraries?
+-AC_CHECK_LIB(X11, XF86VidModeSetGamma,
+-             GAMMA_LIBS=$x_libraries/libXxf86vm.a ,AC_MSG_ERROR([Can't find gamma setting functions]),
+-             [-lXext $x_libraries/libXxf86vm.a])
++AC_CHECK_LIB(Xxf86vm, XF86VidModeSetGamma,
++             GAMMA_LIBS=-lXxf86vm ,AC_MSG_ERROR([Can't find gamma setting functions]),
++             [-lXext -lXxf86vm])
+ dnl TODO: and how do I tell my makefiles about it! Argh!
+ AC_SUBST(GAMMA_LIBS)
+ LIBS="$old_LIBS"
================================================================


More information about the pld-cvs-commit mailing list