From d1f1ce7e50891f71c6575c32332a1b12d9b440df Mon Sep 17 00:00:00 2001 From: Andrzej Telszewski Date: Sun, 15 Jan 2017 23:44:42 +0700 Subject: [PATCH] libraries/libftdi: Switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libftdi/README | 9 ++++----- libraries/libftdi/libftdi.SlackBuild | 8 ++++---- libraries/libftdi/slack-desc | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/libraries/libftdi/README b/libraries/libftdi/README index 3c211a4f0a..546622ff3a 100644 --- a/libraries/libftdi/README +++ b/libraries/libftdi/README @@ -1,9 +1,8 @@ -FTDI USB driver with bitbang mode +FTDI USB driver with bitbang mode. -libFTDI is an open source library to talk to FTDI chips, -including the popular bitbang mode. The library is linked -with your program in userspace, no kernel driver required. -Supported chips are: +libFTDI is an open source library to talk to FTDI chips, including +the popular bitbang mode. The library is linked with your program in +userspace, no kernel driver required. Supported chips are: * FT232BM, * FT245BM, diff --git a/libraries/libftdi/libftdi.SlackBuild b/libraries/libftdi/libftdi.SlackBuild index 823dac4659..b230df31a9 100644 --- a/libraries/libftdi/libftdi.SlackBuild +++ b/libraries/libftdi/libftdi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libftdi -# Copyright 2015 Andrzej Telszewski, Sabadell +# Copyright 2017 Andrzej Telszewski, Banie # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/libraries/libftdi/slack-desc b/libraries/libftdi/slack-desc index 4471106ac5..7c07840eb9 100644 --- a/libraries/libftdi/slack-desc +++ b/libraries/libftdi/slack-desc @@ -13,7 +13,7 @@ libftdi: FT232BM, FT245BM, FT2232C, FT2232D, FT245R, FT232H and FT230X libftdi: including the popular bitbang mode. The library is linked with libftdi: your program in userspace, no kernel driver required. libftdi: -libftdi: -libftdi: libftdi: Homepage: http://www.intra2net.com/en/developer/libftdi/ libftdi: +libftdi: +libftdi: