diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-19 19:26:58 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-19 19:26:58 +0000 |
commit | a20501ce481e265414a032cab261d1b1330c7f8f (patch) | |
tree | 03be13c6eabfcea2fbbe79f5368709392d682a17 /dev-java/jusb/files | |
parent | Added ppc64 patch and marked ~ppc64 (diff) | |
download | gentoo-2-a20501ce481e265414a032cab261d1b1330c7f8f.tar.gz gentoo-2-a20501ce481e265414a032cab261d1b1330c7f8f.tar.bz2 gentoo-2-a20501ce481e265414a032cab261d1b1330c7f8f.zip |
Initial import, ebuild and patches contributed by Petteri Räty <petteri.raty@welho.com>. Fixes #89487
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/jusb/files')
-rw-r--r-- | dev-java/jusb/files/digest-jusb-0.4.4 | 1 | ||||
-rw-r--r-- | dev-java/jusb/files/jusb-0.4.4-makefile.patch | 15 | ||||
-rw-r--r-- | dev-java/jusb/files/jusb-0.4.4-native.patch | 20 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jusb/files/digest-jusb-0.4.4 b/dev-java/jusb/files/digest-jusb-0.4.4 new file mode 100644 index 000000000000..10c952bfa5c7 --- /dev/null +++ b/dev-java/jusb/files/digest-jusb-0.4.4 @@ -0,0 +1 @@ +MD5 2085d1a52a52980e9ca8457b58c1d2c8 jusb-0.4.4-src.tgz 92432 diff --git a/dev-java/jusb/files/jusb-0.4.4-makefile.patch b/dev-java/jusb/files/jusb-0.4.4-makefile.patch new file mode 100644 index 000000000000..70d9b4ca4fcf --- /dev/null +++ b/dev-java/jusb/files/jusb-0.4.4-makefile.patch @@ -0,0 +1,15 @@ +--- 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) diff --git a/dev-java/jusb/files/jusb-0.4.4-native.patch b/dev-java/jusb/files/jusb-0.4.4-native.patch new file mode 100644 index 000000000000..b583569d86e0 --- /dev/null +++ b/dev-java/jusb/files/jusb-0.4.4-native.patch @@ -0,0 +1,20 @@ +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) |