+++ /dev/null
---- Makefile.old 2005-04-17 21:50:21.384681513 +0300
-+++ Makefile 2005-04-17 21:51:26.854632179 +0300
-@@ -292,11 +292,7 @@
- # Native compiles
- #
-
--# using nonstandard kernel?
--KERNEL_INC ?= /home/src/linux/include
--INCLUDES = -I$(KERNEL_INC)
--
--CFLAGS = -g -O $(INCLUDES) $(RPM_OPT_FLAGS)
-+CFLAGS += -g -O $(RPM_OPT_FLAGS)
-
-
- native: $(NATIVE)
+++ /dev/null
-diff -u native.old/linux.c native/linux.c
---- native.old/linux.c 2005-04-17 21:43:13.491277758 +0300
-+++ native/linux.c 2005-04-17 21:43:21.986973753 +0300
-@@ -226,11 +226,11 @@
- } else
- buffer = NULL;
-
-- ctrl.requesttype = requestType;
-- ctrl.request = request;
-- ctrl.value = value;
-- ctrl.index = index;
-- ctrl.length = len & 0xffff;
-+ ctrl.bRequestType = requestType;
-+ ctrl.bRequest = request;
-+ ctrl.wValue = value;
-+ ctrl.wIndex = index;
-+ ctrl.wLength = len & 0xffff;
- ctrl.timeout = TIMEOUT; // USB should t/o after 5 seconds.
- ctrl.data = buffer + off;
- if ((retval = ioctl (fd, USBDEVFS_CONTROL, &ctrl)) < 0)
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit eutils java-pkg-2 linux-info flag-o-matic multilib
-
-DESCRIPTION="jUSB provides a Free Software Java API for USB"
-HOMEPAGE="http://jusb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc source"
-
-DEPEND=">=virtual/jdk-1.4
- source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.4"
-
-S=${WORKDIR}
-
-CONFIG_CHECK="~USB_DEVICEFS"
-
-ERROR_CONFIG_USB_DEVICEFS="
-You need to turn on the USB device filesystem
-option under USB support in order to use jUSB
-"
-
-pkg_setup() {
- linux-info_pkg_setup
- java-pkg-2_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
-
- mkdir src
- tar -xzf src.tgz -C src
-
- # The struct usbdevfs_ctrltransfer is different
- # in latest 2.4 and 2.6 kernels. This patch is
- # to make jusb compile on 2.6 kernels
- ! kernel_is 2 4 && epatch "${FILESDIR}"/${P}-native.patch
-
- epatch "${FILESDIR}"/${P}-makefile.patch
-
- sed -i \
- -e 's#-shared#-shared -Wl,-soname=libjusb.so#' \
- -e 's#javac#javac $(JAVACFLAGS)#' \
- "${S}/Makefile" || die "sed failed"
-}
-
-src_compile() {
- export OSTYPE="linux-gnu"
-
- # makefile patching isnt worth the trouble, only
- # one native source file
- append-flags -fPIC
-
- # bug #279088
- emake -j1 || die "Failed to compile"
- use doc && make javadoc
-}
-
-src_install() {
- java-pkg_dojar jusb.jar
- java-pkg_sointo /usr/$(get_libdir)
- java-pkg_doso libjusb.so
-
- dodoc README*
-
- if use doc; then
- java-pkg_dohtml doc/*.html
- java-pkg_dohtml -r apidoc/*
- fi
- use source && java-pkg_dosrc src/*
-}
# Removal in 30 days. Bug 599710.
dev-libs/btparse
-# Patrice Clement <monsieurp@gentoo.org> (11 Mar 2017)
-# Upstream dead: no update since 2003. Ebuild is outdated and buggy.
-# Removal in 30 days. Bug #279088
-dev-java/jusb
-
# Gnome Team <gnome@gentoo.org> (08 Mar 2017)
# GNOME 3.24 mask (#611270)
>=x11-themes/adwaita-icon-theme-3.23