sysutils/btsixad: Update to 0.1.1

PR:		248837
Submitted by:	Andrey Zholos <aaz@q-fu.com> (maintainer)
This commit is contained in:
Li-Wen Hsu 2020-08-23 05:06:03 +00:00
parent 7aaa52de43
commit fe024796fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545801
7 changed files with 4 additions and 71 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= btsixad
PORTVERSION= 0.1
PORTREVISION= 1
PORTVERSION= 0.1.1
CATEGORIES= sysutils
MASTER_SITES= http://althenia.net/files/

View File

@ -1,2 +1,3 @@
SHA256 (btsixad-0.1.tar.gz) = 1aa42069723ad0be4d9efa46ded382c9d1a9416320cdcb276c0928a94cd93667
SIZE (btsixad-0.1.tar.gz) = 15490
TIMESTAMP = 1598107318
SHA256 (btsixad-0.1.1.tar.gz) = b932a6446fc63b5b72e24a76d77dea5d317c5c382032fcb2a9882da24fc2aece
SIZE (btsixad-0.1.1.tar.gz) = 15508

View File

@ -1,11 +0,0 @@
--- btsixad/Makefile.orig 2014-07-27 15:28:06 UTC
+++ btsixad/Makefile
@@ -5,7 +5,7 @@ MAN=btsixad.8
CFLAGS+= -pthread -I${LOCALBASE}/include
CFLAGS+= -Wno-parentheses
LDFLAGS+= -pthread -L${LOCALBASE}/lib
-LDADD+= -lbluetooth -lsdp -lcuse4bsd
+LDADD+= -lbluetooth -lsdp -lcuse
SCRIPTS=rc.sh
SCRIPTSNAME_rc.sh=btsixad

View File

@ -1,11 +0,0 @@
--- btsixad/btsixad.8.orig 2014-07-27 15:28:06 UTC
+++ btsixad/btsixad.8
@@ -138,7 +138,7 @@ keyboard or mouse events.
.Xr bthidd 8 ,
.Xr usbhidaction 1 ,
.Xr uhid 4 ,
-.Xr cuse4bsd 3
+.Xr cuse 3
.
.Sh AUTHORS
.An -nosplit

View File

@ -1,11 +0,0 @@
--- btsixad/rc.sh.in.orig 2014-07-27 15:28:06 UTC
+++ btsixad/rc.sh.in
@@ -15,7 +15,7 @@ extra_commands="attach detach pair"
attach_cmd=do_attach
detach_cmd=do_detach
pair_cmd=do_pair
-required_modules=cuse4bsd~'\bcuse4bsd\b' # kldstat -m cuse4bsd doesn't work
+required_modules=cuse~'\bcuse\b' # kldstat -m cuse doesn't work
load_rc_config $name

View File

@ -1,24 +0,0 @@
--- btsixad/vuhid.c.orig 2014-07-27 15:28:06 UTC
+++ btsixad/vuhid.c
@@ -14,7 +14,7 @@
#include <unistd.h>
#include <dev/usb/usb_ioctl.h>
-#include <cuse4bsd.h>
+#include <cuse.h>
#ifndef CUSE_ID_BTSIXAD
#define CUSE_ID_BTSIXAD(what) CUSE_MAKE_ID('6', 'A', what, 0)
@@ -188,10 +188,10 @@ vuhid_init()
const char* error;
switch (r) {
case CUSE_ERR_NOT_LOADED:
- error = "kldload cuse4bsd";
+ error = "kldload cuse";
break;
case CUSE_ERR_INVALID:
- error = "cuse4bsd not accessible";
+ error = "cuse not accessible";
break;
default:
error = "cuse_init() failed";

View File

@ -1,10 +0,0 @@
--- test/Makefile.orig 2014-07-27 15:28:06 UTC
+++ test/Makefile
@@ -1,6 +1,6 @@
PROG=test
SRCS=test.c
-NO_MAN=
+MAN=
CFLAGS+= -Wno-parentheses -Wno-switch
LDADD+= -lusbhid
install: