FreeBSD Bugzilla – Attachment 231511 Details for
Bug 261667
devel/libnfc: update to 1.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update libnfc to 1.8.0
libnfc-1.8.0.diff (text/plain), 2.35 KB, created by
Stefan Ehmann
on 2022-02-01 22:49:06 UTC
(
hide
)
Description:
update libnfc to 1.8.0
Filename:
MIME Type:
Creator:
Stefan Ehmann
Created:
2022-02-01 22:49:06 UTC
Size:
2.35 KB
patch
obsolete
>diff --git a/devel/libnfc/Makefile b/devel/libnfc/Makefile >index 99b4148950ed..4d8c986c394d 100644 >--- a/devel/libnfc/Makefile >+++ b/devel/libnfc/Makefile >@@ -1,11 +1,9 @@ > # Created by: Romain Tartiere <romain@blogreen.org> > > PORTNAME= libnfc >-PORTVERSION= 1.7.1 >-PORTREVISION= 5 >+PORTVERSION= 1.8.0 > CATEGORIES= devel >-MASTER_SITES= http://dl.bintray.com/nfc-tools/sources/ \ >- http://romain.blogreen.org/distfiles/ >+MASTER_SITES= https://github.com/nfc-tools/libnfc/releases/download/libnfc-${PORTVERSION}/ > > MAINTAINER= romain@FreeBSD.org > COMMENT= Near Field Communication (NFC) library >diff --git a/devel/libnfc/distinfo b/devel/libnfc/distinfo >index efdc3cc7a755..c9134874ad22 100644 >--- a/devel/libnfc/distinfo >+++ b/devel/libnfc/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (libnfc-1.7.1.tar.bz2) = 945e74d8e27683f9b8a6f6e529557b305d120df347a960a6a7ead6cb388f4072 >-SIZE (libnfc-1.7.1.tar.bz2) = 484309 >+TIMESTAMP = 1643747630 >+SHA256 (libnfc-1.8.0.tar.bz2) = 6d9ad31c86408711f0a60f05b1933101c7497683c2e0d8917d1611a3feba3dd5 >+SIZE (libnfc-1.8.0.tar.bz2) = 553511 >diff --git a/devel/libnfc/files/patch-libnfc_drivers_acr122__usb.c b/devel/libnfc/files/patch-libnfc_drivers_acr122__usb.c >new file mode 100644 >index 000000000000..c4e7373cdc2f >--- /dev/null >+++ b/devel/libnfc/files/patch-libnfc_drivers_acr122__usb.c >@@ -0,0 +1,12 @@ >+--- libnfc/drivers/acr122_usb.c.orig 2022-02-01 22:26:36 UTC >++++ libnfc/drivers/acr122_usb.c >+@@ -419,6 +419,9 @@ acr122_usb_open(const nfc_context *context, const nfc_ >+ continue; >+ // Reset device >+ usb_reset(data.pudh); >++ // Reopen the device >++ if ((data.pudh = usb_open(dev)) == NULL) >++ continue; >+ // Retrieve end points >+ acr122_usb_get_end_points(dev, &data); >+ // Claim interface >diff --git a/devel/libnfc/pkg-plist b/devel/libnfc/pkg-plist >index 983103eb9cf7..0d8148ec5d9e 100644 >--- a/devel/libnfc/pkg-plist >+++ b/devel/libnfc/pkg-plist >@@ -1,4 +1,5 @@ > bin/nfc-anticol >+bin/nfc-barcode > bin/nfc-dep-initiator > bin/nfc-dep-target > bin/nfc-emulate-forum-tag2 >@@ -23,10 +24,11 @@ include/nfc/nfc-types.h > include/nfc/nfc.h > lib/libnfc.a > lib/libnfc.so >-lib/libnfc.so.5 >-lib/libnfc.so.5.0.1 >+lib/libnfc.so.6 >+lib/libnfc.so.6.0.0 > libdata/pkgconfig/libnfc.pc > man/man1/nfc-anticol.1.gz >+man/man1/nfc-barcode.1.gz > man/man1/nfc-dep-initiator.1.gz > man/man1/nfc-dep-target.1.gz > man/man1/nfc-emulate-forum-tag2.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261667
: 231511