liburing: update to 2.4.

This commit is contained in:
icp 2023-09-05 00:00:51 +05:30 committed by classabbyamp
parent 9c5b2acbcf
commit 1c32ddc939
2 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,36 @@
From 319f4be8bd049055c333185928758d0fb445fc43 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Tue, 13 Jun 2023 00:36:21 +0200
Subject: build: Disable stack protector unconditionally
At least when building with nolibc, we cannot use the stack protector
as we will end up with undefined references to __stack_chk_fail which
is provided by the libc. We need to add the -fno-stack-protector
unconditionally to the CFLAGS append override.
This seems to have been the intent behind the introduction of this
change in commit 2de98320d5b02951936fc0ab677dd01e4fb2a7a7.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
---
src/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index cba4d27..f57348b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -10,8 +10,9 @@ CPPFLAGS ?=
override CPPFLAGS += -D_GNU_SOURCE \
-Iinclude/ -include ../config-host.h \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS ?= -g -O3 -Wall -Wextra -fno-stack-protector
+CFLAGS ?= -g -O3 -Wall -Wextra
override CFLAGS += -Wno-unused-parameter \
+ -fno-stack-protector \
-DLIBURING_INTERNAL \
$(LIBURING_CFLAGS)
SO_CFLAGS=-fPIC $(CFLAGS)
--
cgit v1.2.3

View File

@ -1,6 +1,6 @@
# Template file for 'liburing'
pkgname=liburing
version=2.3
version=2.4
revision=1
build_style=configure
configure_args="--mandir=/usr/share/man"
@ -11,7 +11,11 @@ license="LGPL-2.1-only"
homepage="https://git.kernel.dk/cgit/liburing"
changelog="https://git.kernel.dk/cgit/liburing/plain/CHANGELOG"
distfiles="https://git.kernel.dk/cgit/liburing/snapshot/liburing-${version}.tar.gz"
checksum=a65a6adbe80425c1c4d0740532ba42c3d4fd9dadd17a0e0bfd31c29e1c14dba8
checksum=b5fbb1f6d65d88a8b37cbf3f5d4a7fa38d1d9e928a83df79c6469ed816bbcacc
do_check() {
make -C test
}
liburing-devel_package() {
short_desc+=" - development files"