Skip to content

Instantly share code, notes, and snippets.

@winksaville
Last active September 13, 2017 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winksaville/453c10b501b0a33a841cb53032be7bc8 to your computer and use it in GitHub Desktop.
Save winksaville/453c10b501b0a33a841cb53032be7bc8 to your computer and use it in GitHub Desktop.
Patch for AUR libftd2xx for 1.4.6
diff --git a/55-ft2232.rules b/55-ft2232.rules
index 527296b..f05dc78 100755
--- a/55-ft2232.rules
+++ b/55-ft2232.rules
@@ -3,5 +3,6 @@ ACTION!="add", GOTO="ft2232_rules_end"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="cff8", MODE="0666", GROUP="tty"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", GROUP="tty"
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="0666", GROUP="tty"
LABEL="ft2232_rules_end"
diff --git a/PKGBUILD b/PKGBUILD
index 3158a95..52a5bb4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Olivier EBLE <olivier.eble at gmail com>
# Contributor: Laszlo Papp <djszapi2 at gmail com>
pkgname=libftd2xx
-pkgver=1.3.6
+pkgver=1.4.6
pkgrel=1
pkgdesc="Library that allows a direct access to a USB FTDI2XX chip based device"
arch=('i686' 'x86_64')
@@ -17,13 +17,13 @@ options=(!strip staticlibs)
if [ "${CARCH}" == "i686" ]; then
source=(http://www.ftdichip.com/Drivers/D2XX/Linux/${pkgname}-i386-${pkgver}.tgz
55-ft2232.rules)
- md5sums=('e75bfff2387af14a5ca0904d311a592a'
- '5c6d646c3c5b28db1c3b880a04d4d79c')
+ md5sums=('af99e23216acda30ca137c558cd15864'
+ '3a4d73379decfc351a00cfd22d74dbef')
else
source=(http://www.ftdichip.com/Drivers/D2XX/Linux/${pkgname}-x86_64-${pkgver}.tgz
55-ft2232.rules)
- md5sums=('ef66927b5e9748c08b46ab7d7124b764'
- '5c6d646c3c5b28db1c3b880a04d4d79c')
+ md5sums=('3140665d50b326a54e281cf1c465ca3c'
+ '3a4d73379decfc351a00cfd22d74dbef')
fi
package() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment