saptools: fixed x64 build (#8786)

* saptools: fixed x64 build

* saptools: fixed x64 build

* Update saptools-2.0.94.recipe
This commit is contained in:
kenmays
2023-06-03 23:00:58 -07:00
committed by GitHub
parent 813c8423d9
commit f038ee5132
2 changed files with 27 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
From 9d7fbdcaf84d85c050d66e6793041b92225f474b Mon Sep 17 00:00:00 2001
From 436d44718882a0a30516c4c74e279ad2700c42f6 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Mon, 13 Apr 2020 10:58:12 +0000
Subject: Fix build
@@ -27,5 +27,28 @@ index 52e479b..87f881f 100644
$(OBJ_DIR)%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
--
2.26.0
2.37.3
From d28449c9a2e44012af6c47fc5490292925550126 Mon Sep 17 00:00:00 2001
From: Ken Mays <kmays2000@gmail.com>
Date: Sat, 3 Jun 2023 06:04:23 +0000
Subject: Fix x64 build
diff --git a/makefile.lnx b/makefile.lnx
index 87f881f..349c7c0 100644
--- a/makefile.lnx
+++ b/makefile.lnx
@@ -28,7 +28,7 @@ OBJ_SAPFS = $(OBJ_DIR)sapfs.o $(OBJ_DIR)libsap.o
CC = gcc
-WFLAGS = -Wall -W -Werror
+WFLAGS = -Wall -W
OFLAGS = -O2 -fomit-frame-pointer -funsigned-char
--
2.37.3

View File

@@ -5,7 +5,7 @@ HOMEPAGE="https://github.com/nils-eilers/sap2"
COPYRIGHT="1998 Alexandre Pukall
2000-2003 Eric Botcazou"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
srcGitRev="e3a77a80c097ae260950ffa3b862f386e006f037"
SOURCE_URI="https://github.com/nils-eilers/sap2/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="272c9d0ee120e805e44e5ef06da9ce3576c78f2de21bc60302bf1ee822f330dc"
@@ -13,7 +13,7 @@ SOURCE_FILENAME="saptools-$srcGitRev.tar.gz"
SOURCE_DIR="sap2-$srcGitRev"
PATCHES="saptools-$portVersion.patchset"
ARCHITECTURES="?all x86_gcc2"
ARCHITECTURES="all"
PROVIDES="
saptools = $portVersion