diff options
-rw-r--r-- | user/ol/APKBUILD | 7 | ||||
-rw-r--r-- | user/ol/fix-cdefs-test.patch | 21 |
2 files changed, 26 insertions, 2 deletions
diff --git a/user/ol/APKBUILD b/user/ol/APKBUILD index 0c085d6ff..12d08f6d9 100644 --- a/user/ol/APKBUILD +++ b/user/ol/APKBUILD @@ -10,7 +10,9 @@ license="LGPL-3.0+ OR MIT" depends="" makedepends="vim" subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/yuriy-chumak/$pkgname/archive/$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/yuriy-chumak/$pkgname/archive/$pkgver.tar.gz + fix-cdefs-test.patch + " build() { make @@ -24,4 +26,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="c280da70f04637e1c822ab5a4b6eda3a1e1602b4c1fbd59731be2619fb09b0acb079841ba142f9b7b80cbf7539b1c7bd15603311b2ae4a30636f174a1ba2499b ol-2.4.tar.gz" +sha512sums="c280da70f04637e1c822ab5a4b6eda3a1e1602b4c1fbd59731be2619fb09b0acb079841ba142f9b7b80cbf7539b1c7bd15603311b2ae4a30636f174a1ba2499b ol-2.4.tar.gz +b00c230aaec767b7ef8970813d47222088fd67545a8acebc66208ca7c795392b1db04a6a754ab53a2c0e9f222bf10fc47e082d0965a4253a7053dff1e5cd27f2 fix-cdefs-test.patch" diff --git a/user/ol/fix-cdefs-test.patch b/user/ol/fix-cdefs-test.patch new file mode 100644 index 000000000..41578836c --- /dev/null +++ b/user/ol/fix-cdefs-test.patch @@ -0,0 +1,21 @@ +diff -ur a/tests/Makefile b/tests/Makefile +--- a/tests/Makefile 2023-03-23 06:59:27.672116150 -0500 ++++ b/tests/Makefile 2023-03-23 06:59:48.224536016 -0500 +@@ -17,8 +17,8 @@ + failed:="\033[1;31mfailed\033[0m" + + # 32-/64-bit test environment setup +-HAS_32CDEFS ?= $(call exists,-m32,sys/cdefs.h,exit) +-HAS_64CDEFS ?= $(call exists,-m64,sys/cdefs.h,exit) ++HAS_32CDEFS ?= 0 ++HAS_64CDEFS ?= 0 + + ifeq ($(HAS_64CDEFS),1) + vm64 = printf "64 " && ./vm64 repl <$$F | diff - $$F.ok +@@ -425,4 +425,4 @@ + @if [ -e $(FAILED) ] ;then rm -f $(FAILED); exit 1 ;fi + @echo "\033[1;32mpassed!\033[0m" + +-endif +\ No newline at end of file ++endif |