Skip to content

Commit

Permalink
gpkg/glibc: fix syscall function
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython committed Jan 25, 2024
1 parent 2507de4 commit 6023a2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gpkg/glibc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="GNU C Library"
TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=2.38
TERMUX_PKG_REVISION=12
TERMUX_PKG_REVISION=13
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/libc/glibc-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=fb82998998b2b29965467bc1b69d152e9c307d2cf301c9eafb4555b770ef3fd2
TERMUX_PKG_DEPENDS="linux-api-headers-glibc"
Expand Down
8 changes: 5 additions & 3 deletions gpkg/glibc/syscall.c.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
--- glibc-2.38/sysdeps/unix/sysv/linux/syscall.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.38/sysdeps/unix/sysv/linux/syscall.c.patch 2024-01-01 13:12:45.120508427 +0300
@@ -18,26 +18,26 @@
--- src/sysdeps/unix/sysv/linux/syscall.c 2023-07-31 20:54:16.000000000 +0300
+++ src/sysdeps/unix/sysv/linux/syscall.c.patch 2024-01-24 20:02:17.983538698 +0300
@@ -18,26 +18,28 @@

#include <stdarg.h>
#include <sysdep.h>
+#include <ignore-syscall.h>
+
+extern long int syscallS (long int __sysno, ...) __THROW;

long int
syscall (long int number, ...)
Expand Down

0 comments on commit 6023a2a

Please sign in to comment.