diff options
author | Henrik Brix Andersen <brix@FreeBSD.org> | 2010-07-26 13:20:17 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@FreeBSD.org> | 2010-07-26 13:20:17 +0000 |
commit | 2b0df5a72d143228d00599de34a33bb1f00973ea (patch) | |
tree | 0d4d4ad833d71e180bf7d07aa500461865d82551 /sysutils/usbutils/files | |
parent | 24c78aae279d7c2af27637dc1c0bce3d6b1bfc96 (diff) | |
download | ports-2b0df5a72d143228d00599de34a33bb1f00973ea.tar.gz ports-2b0df5a72d143228d00599de34a33bb1f00973ea.zip |
- Update to v0.86
- Add LICENSE information
Notes
Notes:
svn path=/head/; revision=258280
Diffstat (limited to 'sysutils/usbutils/files')
-rw-r--r-- | sysutils/usbutils/files/patch-Makefile.am | 11 | ||||
-rw-r--r-- | sysutils/usbutils/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/usbutils/files/patch-config.h.in | 22 | ||||
-rw-r--r-- | sysutils/usbutils/files/patch-configure | 13 | ||||
-rw-r--r-- | sysutils/usbutils/files/patch-configure.in | 11 | ||||
-rw-r--r-- | sysutils/usbutils/files/patch-lsusb.c | 34 |
6 files changed, 30 insertions, 72 deletions
diff --git a/sysutils/usbutils/files/patch-Makefile.am b/sysutils/usbutils/files/patch-Makefile.am new file mode 100644 index 000000000000..cfa74ee65c70 --- /dev/null +++ b/sysutils/usbutils/files/patch-Makefile.am @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2010-07-13 21:30:02.000000000 +0200 ++++ Makefile.am 2010-07-13 21:30:21.000000000 +0200 +@@ -56,7 +56,7 @@ lsusb.8: $(srcdir)/lsusb.8.in + usb-devices.1: $(srcdir)/usb-devices.1.in + sed 's|VERSION|$(VERSION)|g' $< >$@ + +-pkgconfigdir = $(datadir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = usbutils.pc + + usbutils.pc: $(srcdir)/usbutils.pc.in diff --git a/sysutils/usbutils/files/patch-Makefile.in b/sysutils/usbutils/files/patch-Makefile.in new file mode 100644 index 000000000000..6752d01d6e18 --- /dev/null +++ b/sysutils/usbutils/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2010-07-13 21:50:47.000000000 +0200 ++++ Makefile.in 2010-07-13 21:51:39.000000000 +0200 +@@ -223,7 +223,7 @@ EXTRA_DIST = \ + usb-devices \ + usbutils.pc.in + +-pkgconfigdir = $(datadir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = usbutils.pc + DISTCLEANFILES = \ + usb.ids.gz \ diff --git a/sysutils/usbutils/files/patch-config.h.in b/sysutils/usbutils/files/patch-config.h.in deleted file mode 100644 index c664960dea69..000000000000 --- a/sysutils/usbutils/files/patch-config.h.in +++ /dev/null @@ -1,22 +0,0 @@ ---- config.h.in.orig 2006-12-10 21:33:49.000000000 +0100 -+++ config.h.in 2007-11-14 20:50:36.000000000 +0100 -@@ -15,6 +15,9 @@ - */ - #undef HAVE_ALLOCA_H - -+/* Define to 1 if you have the <asm/byteorder.h> header file. */ -+#undef HAVE_ASM_BYTEORDER_H -+ - /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ - #undef HAVE_DIRENT_H -@@ -46,6 +49,9 @@ - /* Define to 1 if you have the `z' library (-lz). */ - #undef HAVE_LIBZ - -+/* Define to 1 if you have the <machine/endian.h> header file. */ -+#undef HAVE_MACHINE_ENDIAN_H -+ - /* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ - #undef HAVE_MALLOC diff --git a/sysutils/usbutils/files/patch-configure b/sysutils/usbutils/files/patch-configure deleted file mode 100644 index 3ed6d73112c2..000000000000 --- a/sysutils/usbutils/files/patch-configure +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig 2007-10-23 23:19:49.000000000 +0200 -+++ configure 2007-11-14 20:50:37.000000000 +0100 -@@ -4138,7 +4138,9 @@ done - - - --for ac_header in fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h -+ -+ -+for ac_header in fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h asm/byteorder.h machine/endian.h - do - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` - if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/sysutils/usbutils/files/patch-configure.in b/sysutils/usbutils/files/patch-configure.in deleted file mode 100644 index 2f54d02fd7f0..000000000000 --- a/sysutils/usbutils/files/patch-configure.in +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in.orig 2007-10-23 23:19:32.000000000 +0200 -+++ configure.in 2007-11-14 20:50:37.000000000 +0100 -@@ -20,7 +20,7 @@ AC_PROG_LN_S - AC_FUNC_ALLOCA - AC_HEADER_DIRENT - AC_HEADER_STDC --AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h ]) -+AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h asm/byteorder.h machine/endian.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST diff --git a/sysutils/usbutils/files/patch-lsusb.c b/sysutils/usbutils/files/patch-lsusb.c index 40a7e3c1ab15..86841c67cc56 100644 --- a/sysutils/usbutils/files/patch-lsusb.c +++ b/sysutils/usbutils/files/patch-lsusb.c @@ -1,33 +1,15 @@ ---- lsusb.c.orig 2007-10-23 23:04:32.000000000 +0200 -+++ lsusb.c 2007-11-14 20:50:37.000000000 +0100 -@@ -35,13 +35,29 @@ +--- lsusb.c.orig 2009-08-17 22:28:42.000000000 +0000 ++++ lsusb.c 2010-07-26 13:08:52.000000000 +0000 +@@ -31,8 +31,11 @@ + #include <string.h> #include <errno.h> #include <stdio.h> ++#include <stdlib.h> #include <stdarg.h> -+ -+#if defined(HAVE_ASM_BYTEORDER_H) - #include <asm/byteorder.h> - #define le16_to_cpu __le16_to_cpu -+ -+#elif defined(HAVE_MACHINE_ENDIAN_H) -+#include <machine/endian.h> -+#if _BYTE_ORDER == _LITTLE_ENDIAN -+#define le16_to_cpu(x) (x) -+#else -+#define le16_to_cpu __bswap16 +-#include <byteswap.h> ++#if defined(HAVE_UNISTD_H) ++#include <unistd.h> +#endif -+ -+#else -+#error no le16_to_cpu implementation is available -+#endif -+ #include <usb.h> - /* NOTE: that should be <libusb.h> and it should include -- * <linux/usb_ch9.h> ... without it, we keep accumulating -+ * <linux/usb/ch9.h> ... without it, we keep accumulating - * potentially broken variants of standard types ... -+ * also <linux/usb/cdc.h>, <linux/usb/audio.h>, etc - */ - #include "names.h" |