Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
MD_CONF_DEBUGGING changes CFLAGS and CXXFLAGS with a horrible magic so disable
|
||||
it to prevent compilation errors.
|
||||
|
||||
downloaded from
|
||||
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch?revision=1.1&view=markup
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr libhid-0.2.16.org/configure.ac libhid-0.2.16/configure.ac
|
||||
--- libhid-0.2.16.org/configure.ac 2007-04-01 22:32:10.000000000 +0200
|
||||
+++ libhid-0.2.16/configure.ac 2014-10-19 21:31:00.550091947 +0200
|
||||
@@ -78,7 +78,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")
|
||||
@@ -0,0 +1,22 @@
|
||||
Fix improper usage of macro that introduces a wrong newline
|
||||
|
||||
The MD_CONF_FLAGS() macro was used with a final newline that
|
||||
introduces an invalid newline in the middle of the macro expansion
|
||||
when defining LDFLAGS.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: libhid-0.2.16/configure.ac
|
||||
===================================================================
|
||||
--- libhid-0.2.16.orig/configure.ac 2007-04-01 22:32:10.000000000 +0200
|
||||
+++ libhid-0.2.16/configure.ac 2012-12-12 20:24:03.000000000 +0100
|
||||
@@ -102,8 +102,7 @@
|
||||
[],
|
||||
[$OS_CFLAGS $LIBUSB_CFLAGS],
|
||||
[],
|
||||
- [$OS_LDFLAGS $LIBUSB_LIBS]
|
||||
-)
|
||||
+ [$OS_LDFLAGS $LIBUSB_LIBS])
|
||||
|
||||
MD_CONF_DB2MAN
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
Good old 'uclinux is also linux'
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac
|
||||
--- libhid-0.2.16.orig/configure.ac 2014-06-22 09:35:50.277261742 -0300
|
||||
+++ libhid-0.2.16/configure.ac 2014-06-22 09:36:10.688951947 -0300
|
||||
@@ -80,6 +80,7 @@
|
||||
|
||||
MD_CONF_DEBUGGING
|
||||
MD_CONF_COMPILER
|
||||
+AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux")
|
||||
AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")
|
||||
AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
|
||||
AM_CONDITIONAL(OS_SOLARIS, test "$MD_OS" = "solaris")
|
||||
diff -Nura libhid-0.2.16.orig/m4/md_check_os.m4 libhid-0.2.16/m4/md_check_os.m4
|
||||
--- libhid-0.2.16.orig/m4/md_check_os.m4 2014-06-22 09:35:50.275261675 -0300
|
||||
+++ libhid-0.2.16/m4/md_check_os.m4 2014-06-22 09:46:17.651475891 -0300
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_CANONICAL_HOST
|
||||
AC_MSG_CHECKING(for target OS)
|
||||
case $host in
|
||||
- *-linux*)
|
||||
+ *-linux*|*-uclinux*)
|
||||
AC_DEFINE(OS_LINUX, [], [define to 1 if building for Linux])
|
||||
AC_SUBST(OS_LINUX)
|
||||
MD_OS=linux
|
||||
12
deprecated/firmware/buildroot/package/libhid/Config.in
Normal file
12
deprecated/firmware/buildroot/package/libhid/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBHID
|
||||
bool "libhid"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
help
|
||||
Userspace library for accessing USB HID devices
|
||||
|
||||
http://libhid.alioth.debian.org
|
||||
|
||||
comment "libhid needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
23
deprecated/firmware/buildroot/package/libhid/libhid.mk
Normal file
23
deprecated/firmware/buildroot/package/libhid/libhid.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libhid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBHID_VERSION = 0.2.16
|
||||
LIBHID_SITE = http://sources.buildroot.net
|
||||
LIBHID_DEPENDENCIES = libusb-compat libusb
|
||||
LIBHID_INSTALL_STAGING = YES
|
||||
LIBHID_AUTORECONF = YES
|
||||
LIBHID_LICENSE = GPLv2
|
||||
LIBHID_LICENSE_FILES = COPYING
|
||||
# configure runs libusb-config for cflags/ldflags. Ensure it picks up
|
||||
# the target version
|
||||
LIBHID_CONF_ENV = PATH=$(STAGING_DIR)/usr/bin:$(BR_PATH)
|
||||
LIBHID_CONF_OPTS = \
|
||||
--disable-swig \
|
||||
--disable-werror \
|
||||
--without-doxygen \
|
||||
--disable-package-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user