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/socketcand/socketcand.SlackBuild | |
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/socketcand/socketcand.SlackBuild')
-rw-r--r-- | system/socketcand/socketcand.SlackBuild | 9 |
1 files changed, 7 insertions, 2 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} \ |