diff --git a/srcpkgs/libfprint/patches/fix-stderr-redefinition.patch b/srcpkgs/libfprint/patches/fix-stderr-redefinition.patch new file mode 100644 index 00000000000..3784ccba869 --- /dev/null +++ b/srcpkgs/libfprint/patches/fix-stderr-redefinition.patch @@ -0,0 +1,12 @@ +--- libfprint/nbis/include/bozorth.h.orig 2019-08-11 15:17:26.878344708 +0200 ++++ libfprint/nbis/include/bozorth.h 2019-08-11 15:17:10.303132150 +0200 +@@ -218,7 +218,9 @@ struct xytq_struct { + /* Globals supporting command line options */ + extern int verbose_threshold; + /* Global supporting error reporting */ ++#ifdef __GLIBC__ + extern FILE *stderr; ++#endif + + /**************************************************************************/ + /* In: BZ_GBLS.C */ diff --git a/srcpkgs/libfprint/template b/srcpkgs/libfprint/template index d8bc6d282f8..ae22b871f3d 100644 --- a/srcpkgs/libfprint/template +++ b/srcpkgs/libfprint/template @@ -1,6 +1,6 @@ # Template file for 'libfprint' pkgname=libfprint -version=0.8.2 +version=1.0 revision=1 wrksrc="libfprint-V_${version//./_}" build_style=meson @@ -13,7 +13,7 @@ license="LGPL-2.1-or-later" homepage="http://www.freedesktop.org/wiki/Software/fprint/" changelog="https://gitlab.freedesktop.org/libfprint/libfprint/raw/master/NEWS" distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/V_${version//./_}/libfprint-V_${version//./_}.tar.bz2" -checksum=15edf86ec7ee426d5800b5dab12d5ea7843fda143c3f62cb9cacde192e79981f +checksum=22777a1d202ef912395b94842ae6b531338c8d48a8a813616e846b1bc96c5ad9 post_install() { vmkdir usr/lib/udev/rules.d