7164323 synaptics 1.5.2 doesn't work in s11u1_14
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 30 Apr 2012 13:11:56 -0700
changeset 1281 0bb3987ce282
parent 1280 d5dc9c44719e
child 1282 d31e0afd0923
7164323 synaptics 1.5.2 doesn't work in s11u1_14
open-src/driver/xf86-input-synaptics/7164323.patch
open-src/driver/xf86-input-synaptics/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/driver/xf86-input-synaptics/7164323.patch	Mon Apr 30 13:11:56 2012 -0700
@@ -0,0 +1,13 @@
+--- configure.ac	Wed Apr 25 12:08:23 2012
++++ configure.ac	Wed Apr 25 12:32:52 2012
+@@ -115,6 +115,10 @@
+ 	BUILD_PS2COMM="yes"
+ 	BUILD_PSMCOMM="yes"
+ 	;;
++*solaris*)
++        AC_MSG_RESULT([ps2comm alpscomm])
++        BUILD_PS2COMM="yes"
++	;;
+ *)
+ 	AC_MSG_RESULT([none])
+ 	;;
--- a/open-src/driver/xf86-input-synaptics/Makefile	Tue Apr 24 11:04:07 2012 -0700
+++ b/open-src/driver/xf86-input-synaptics/Makefile	Mon Apr 30 13:11:56 2012 -0700
@@ -36,6 +36,9 @@
 TARBALL_SHA1  = adb8e28a8aced2ff660a4058d35b8656ffdf46ce
 TARBALL_SHA256= d76f631e8e851ab631f9fde4ec2585be6702c5a28e2a951c9ad9545baf0fb0e2
 
+# Patches to apply to source after unpacking, in order
+SOURCE_PATCHES= 7164323.patch
+
 # Man pages to apply Sun footer to & attributes to list
 SUNTOUCHED_MANPAGES=man/*.man
 MODULE_STABILITY=Volatile
@@ -58,6 +61,9 @@
 # Fix path for installing headers in proto area
 MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
 
+# Regenerate configure after patching configure.ac
+AUTORECONF=yes
+
 # Install xorg-synaptics.pc to /usr/share since it defines the architecture
 # independent header files in /usr/include and not any library flags
 MODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)