diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-10 02:59:30 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:39 +0700 |
commit | 2a74c23ef60bc8823af5ed9e14710d153682a609 (patch) | |
tree | 63d0f322b56ab66a1ab40370fe5c2cebb8452023 /system | |
parent | d2007433dcea45364a9d4026d5d0912ebedb60a5 (diff) |
system/socketcand: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/socketcand/socketcand.SlackBuild | 9 | ||||
-rw-r--r-- | system/socketcand/socketcand.info | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/system/socketcand/socketcand.SlackBuild b/system/socketcand/socketcand.SlackBuild index f5003ff16bd85..cf2dedb968f18 100644 --- a/system/socketcand/socketcand.SlackBuild +++ b/system/socketcand/socketcand.SlackBuild @@ -22,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220210 bkw: Modified by SlackBuilds.org: upgraded to the latest +# commit in upstream's new git repo to fix the build on 15.0. Also +# had to diddle the autoconf stuff in the script a bit. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=socketcand VERSION=${VERSION:-0.4.2} -COMMIT=${COMMIT:-df7fb4ff8a4439d7737fe2df3540e1ab7465721a} +COMMIT=${COMMIT:-ae0af080058a576d62c72ffc011d644d0b4dcb98} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,9 +85,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +autoreconf -if + CFLAGS="$SLKCFLAGS -fgnu89-inline" \ CXXFLAGS="$SLKCFLAGS -fgnu89-inline" \ -autoconf ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ diff --git a/system/socketcand/socketcand.info b/system/socketcand/socketcand.info index dca84918ccb55..44c511a643156 100644 --- a/system/socketcand/socketcand.info +++ b/system/socketcand/socketcand.info @@ -1,8 +1,8 @@ PRGNAM="socketcand" VERSION="0.4.2" -HOMEPAGE="https://github.com/dschanoeh/socketcand" -DOWNLOAD="https://github.com/dschanoeh/socketcand/archive/df7fb4ff8a4439d7737fe2df3540e1ab7465721a/socketcand-df7fb4ff8a4439d7737fe2df3540e1ab7465721a.tar.gz" -MD5SUM="4be5e8db2eea4312f787cf7fcbe74eb5" +HOMEPAGE="https://github.com/linux-can/socketcand" +DOWNLOAD="https://github.com/linux-can/socketcand/archive/ae0af080058a576d62c72ffc011d644d0b4dcb98/socketcand-ae0af080058a576d62c72ffc011d644d0b4dcb98.tar.gz" +MD5SUM="c08c26e339ef7c81c691ca31f2cf2a96" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |