diff options
Diffstat (limited to 'dev-libs/libhid/files')
-rw-r--r-- | dev-libs/libhid/files/libhid-0.2.17-configure.patch | 36 | ||||
-rw-r--r-- | dev-libs/libhid/files/libhid-0.2.17-man.patch | 11 |
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 |