1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

This patch has been committed into uhidd upstream and will be included

in the next uhidd release. However it seems that the next release will take some time and some people want/need this patch so temporarily add it.

PR:		ports/159313
Submitted by:	Test Rat <ttsestt@gmail.com>
Reviewed by:	Kai Wang <kaiwang27@gmail.com>
Requested by:	Jan Beich jbeich@tormail.net
Approved by:	maintainer
This commit is contained in:
Eitan Adler 2012-02-03 17:16:28 +00:00
parent 1fc9a198d6
commit c6a81dce93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290348
2 changed files with 20 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= uhidd
PORTVERSION= 0.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE \
http://people.freebsd.org/~kaiw/distfiles/

View File

@ -0,0 +1,19 @@
Index: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
===================================================================
RCS file: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
diff -N sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample 8 Aug 2011 03:25:53 -0000
@@ -0,0 +1,12 @@
+--- uhidd/uhidd-devd.conf.sample~
++++ uhidd/uhidd-devd.conf.sample
+@@ -1,4 +1,6 @@
+-attach 0 {
+- match "device-name" "ugen[0-9]+.[0-9]+";
+- action "/usr/local/etc/rc.d/uhidd start /dev/$device-name";
++notify 0 {
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "cdev" "ugen[0-9]+.[0-9]+";
++ action "/usr/local/etc/rc.d/uhidd start /dev/$cdev";
+ };