1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

security/libfprint: Upgrade version 0.4.0 => 0.5.1

PR:		188854
Submitted by:	Martin Birgmeier
Approved by:	maintainer (lichray)
This commit is contained in:
John Marino 2014-08-15 22:04:22 +00:00
parent 5d0df34996
commit 7cce021cfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365059
5 changed files with 38 additions and 5 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libfprint
PORTVERSION= 0.4.0
PORTREVISION= 5
PORTVERSION= 0.5.1
CATEGORIES= security
MASTER_SITES= http://people.freedesktop.org/~hadess/
@ -14,10 +13,11 @@ LIB_DEPENDS= libMagickCore-6.Q*.so:${PORTSDIR}/graphics/ImageMagick \
libnss3.so:${PORTSDIR}/security/nss
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig tar:bzip2
USES= libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_GNOME= glib20
INSTALL_TARGET= install-strip
CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
CPPFLAGS+= -DHAVE_MEMMEM

View File

@ -1,2 +1,2 @@
SHA256 (libfprint-0.4.0.tar.bz2) = 318d5c3910e37a71a1b2b27fe676726ec14cafafe2f86ecbe3b1412cbe2a2132
SIZE (libfprint-0.4.0.tar.bz2) = 476262
SHA256 (libfprint-0.5.1.tar.xz) = 6d12563b91888b84b71eee6d2e113d8e9e9940c6a28a0915656b6f86b9568fb3
SIZE (libfprint-0.5.1.tar.xz) = 494020

View File

@ -0,0 +1,11 @@
--- ./libfprint/drivers/vfs301.c.ORIG 2013-06-26 14:13:00.000000000 +0200
+++ ./libfprint/drivers/vfs301.c 2014-04-21 11:09:12.000000000 +0200
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
-#include <libusb-1.0/libusb.h>
+#include <libusb.h>
#include "vfs301_proto.h"
#include <unistd.h>

View File

@ -0,0 +1,11 @@
--- ./libfprint/drivers/vfs301_proto.c.ORIG 2013-06-26 14:13:00.000000000 +0200
+++ ./libfprint/drivers/vfs301_proto.c 2014-04-21 11:09:19.000000000 +0200
@@ -33,7 +33,7 @@
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
-#include <libusb-1.0/libusb.h>
+#include <libusb.h>
#include "vfs301_proto.h"
#include "vfs301_proto_fragments.h"

View File

@ -0,0 +1,11 @@
--- ./libfprint/drivers/vfs301_proto.h.ORIG 2013-06-26 14:13:00.000000000 +0200
+++ ./libfprint/drivers/vfs301_proto.h 2014-04-21 11:09:27.000000000 +0200
@@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <libusb-1.0/libusb.h>
+#include <libusb.h>
enum {
VFS301_DEFAULT_WAIT_TIMEOUT = 300,