summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-08-13 00:52:23 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-08-13 00:53:27 +0200
commit3dc25d8aa576b305202ed8b1bc572250ac566c7c (patch)
tree18f671ac873b7488f8fdb13b4e84a119c37a5170 /dev-libs/libhid/files
parentdev-python/pynacl: remove unused patch(es) (diff)
downloadgentoo-3dc25d8aa576b305202ed8b1bc572250ac566c7c.tar.gz
gentoo-3dc25d8aa576b305202ed8b1bc572250ac566c7c.tar.bz2
gentoo-3dc25d8aa576b305202ed8b1bc572250ac566c7c.zip
dev-libs/libhid: bump to version 0.2.17
As the python bindings are python2 only, they have been disabled. The packages, which are using libhid don't need it anyway. Closes: https://bugs.gentoo.org/718704 Closes: https://bugs.gentoo.org/735292 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/libhid/files')
-rw-r--r--dev-libs/libhid/files/libhid-0.2.17-configure.patch36
-rw-r--r--dev-libs/libhid/files/libhid-0.2.17-man.patch11
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libhid/files/libhid-0.2.17-configure.patch b/dev-libs/libhid/files/libhid-0.2.17-configure.patch
new file mode 100644
index 000000000000..5318aa2d89fe
--- /dev/null
+++ b/dev-libs/libhid/files/libhid-0.2.17-configure.patch
@@ -0,0 +1,36 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -59,9 +59,10 @@
+ MD_CHECK_OS
+
+ MD_CHECK_LIBUSB018B
++LIBS="$LIBS $LIBUSB_LIBS"
++INCLUDES="$INCLUDES $LIBUSB_CFLAGS"
+
+ AC_PROG_CC
+-MD_CHECK_GCC3
+
+ dnl MD_CONF_DISTCC
+ dnl MD_CONF_CCACHE
+@@ -78,7 +79,6 @@
+ AC_C_BIGENDIAN
+ AC_C_STRINGIZE
+
+-MD_CONF_DEBUGGING
+ MD_CONF_COMPILER
+ AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")
+ AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
+@@ -98,13 +98,6 @@
+
+ MD_CHECK_DOXYGEN
+
+-MD_CONF_FLAGS(
+- [],
+- [$OS_CFLAGS $LIBUSB_CFLAGS],
+- [],
+- [$OS_LDFLAGS $LIBUSB_LIBS]
+-)
+-
+ MD_CONF_DB2MAN
+
+ ##### OUTPUT #################################################################
diff --git a/dev-libs/libhid/files/libhid-0.2.17-man.patch b/dev-libs/libhid/files/libhid-0.2.17-man.patch
new file mode 100644
index 000000000000..4fe5677c107a
--- /dev/null
+++ b/dev-libs/libhid/files/libhid-0.2.17-man.patch
@@ -0,0 +1,11 @@
+--- a/m4/md_conf_db2man.m4
++++ b/m4/md_conf_db2man.m4
+@@ -3,7 +3,7 @@
+ for file in \
+ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl \
+ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/*/manpages/docbook.xsl \
+- /usr/share/{x,sg}ml/docbook/xsl-stylesheets-*/manpages/docbook.xsl \
++ /usr/share/{x,sg}ml/docbook/xsl-stylesheets*/manpages/docbook.xsl \
+ /sw/share/xml/xsl/docbook-xsl/manpages/docbook.xsl; do
+
+ test -r $file && db2man_file=$file