pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51816: x11/xf86-input-vmmouse on DragonFly checking for ioperm... no patch-configure



>Number:         51816
>Category:       pkg
>Synopsis:       x11/xf86-input-vmmouse on DragonFly checking for ioperm... no patch-configure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 10 16:25:00 +0000 2017
>Originator:     David Shao
>Release:        current pkgsrc
>Organization:
>Environment:
DragonFly  4.7-DEVELOPMENT DragonFly v4.7.0.1126.ge4605-DEVELOPMENT #0: Mon Jan  9 09:09:50 PST 2017     xxxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
x11/xf86-input-vmmouse fails to build on DragonFly 4.7-DEVELOPMENT with configure error message:

checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if RANDR is defined... yes
checking if XINPUT is defined... yes
checking for ioperm... no
configure: error: 
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/x11/xf86-input-vmmouse

>How-To-Repeat:

>Fix:
From DragonFly dports x11-drivers/xf86-video-vmmouse/dragonfly/patch-configure:

 SHA512 (xf86-input-vmmouse-13.1.0.tar.bz2) = 38e09c5d7da971eb25ed79fc2daac3b8e1f5e6ec1096424696652c975ea653ed4a49d7779e7735d81a512c12c0a30829d5443ca78a275f3181ebd1740dd2dfd4
 Size (xf86-input-vmmouse-13.1.0.tar.bz2) = 319188 bytes
 SHA1 (patch-config.h.in) = ee6936aef0cbb1402c000eb9a8cf1539dfe5e8ef
-SHA1 (patch-configure) = 9ad8d39e00274b3eba69291ad2812ea41d150e55
+SHA1 (patch-configure) = 9297b3fd86b48d162dd21c0c5df2951a1c4a3b02
 SHA1 (patch-tools_vmmouse__iopl.c) = e0527fee0d29485580b2cfe64d09e27a7792278e
diff -Nur x11/xf86-input-vmmouse.orig/patches/patch-configure x11/xf86-input-vmmouse/patches/patch-configure
--- x11/xf86-input-vmmouse.orig/patches/patch-configure	2015-06-29 04:15:05.000000000 -0700
+++ x11/xf86-input-vmmouse/patches/patch-configure	2017-01-10 00:53:39.663205000 -0800
@@ -1,8 +1,17 @@
 $NetBSD: patch-configure,v 1.1 2015/06/29 11:15:05 wiz Exp $
 
+DragonFly patches from DragonFly dports
+
 --- configure.orig	2015-06-25 10:27:50.000000000 +0000
 +++ configure
-@@ -18030,7 +18030,7 @@ $as_echo "#define VMMOUSE_OS_BSD 1" >>co
+@@ -18024,13 +18024,13 @@ done
+ $as_echo "#define VMMOUSE_OS_GENERIC 1" >>confdefs.h
+ 
+      ;;
+-     *bsd*)
++     *bsd*|*dragonfly*)
+ 
+ $as_echo "#define VMMOUSE_OS_BSD 1" >>confdefs.h
  
       ;;
       solaris*)
@@ -11,7 +20,12 @@
              CC="$save_solaris_cc -fms-extensions"
  	 fi
  
-@@ -18077,9 +18077,9 @@ case $host_cpu in
+@@ -18073,13 +18073,13 @@ case $host_cpu in
+ 	;;
+      x86_64*|amd64*)
+ 	case $host_os in
+-		*freebsd*)
++		*freebsd*|*dragonfly*)
  $as_echo "#define USE_DEV_IO 1" >>confdefs.h
   ;;
  		*netbsd*)



Home | Main Index | Thread Index | Old Index