Skip to content

Commit

Permalink
ports/mlibc: Bump commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Feb 20, 2025
1 parent b91d963 commit ca37432
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
19 changes: 19 additions & 0 deletions build-support/v/v.c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- v.c 2025-02-20 03:51:33.241023614 +0100
+++ v.c-patched 2025-02-20 06:13:44.421172638 +0100
@@ -2052,6 +2052,8 @@

// added by module `os`, file: debugger_linux.c.v:3:

+/*
+
#if defined(__has_include)

#if __has_include(<sys/ptrace.h>)
@@ -2064,6 +2066,7 @@
#include <sys/ptrace.h>
#endif

+*/

#if !defined(_WIN32)
// added by module `os`, file: fd.c.v:6:
4 changes: 2 additions & 2 deletions recipes/mlibc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

name=mlibc
version=b4752328c6a2b5341dc95d8e3b5a890589cdb43a
version=50ed5f5bdf667de876001427bbf93db3a2755968
revision=1
git_url="https://github.com/managarm/mlibc.git"
commit=${version}
Expand All @@ -15,7 +15,7 @@ configure() {
CXXFLAGS="$TARGET_CXXFLAGS" \
LDFLAGS="$TARGET_LDFLAGS -Wl,/usr/local/libgcc-binaries/libgcc-$ARCHITECTURE.a" \
meson_configure_noflags \
--buildtype=debugoptimized \
--buildtype=release \
-Dno_headers=true \
-Ddefault_library=both \
-Dlibgcc_dependency=false \
Expand Down
3 changes: 0 additions & 3 deletions recipes/mlibc-headers
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ build() {

package() {
DESTDIR="${dest_dir}" ninja install

# Required for V
cp ${source_dir}/options/linux/include/sys/ptrace.h "${dest_dir}${prefix}"/include/sys/
}
1 change: 1 addition & 0 deletions recipes/v
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ deps="core-libs"

prepare() {
curl -o v.c https://raw.githubusercontent.com/vlang/vc/b0d373373845541b811b4ba38d48d75c0fbe7240/v.c
patch -p0 <"${base_dir}"/build-support/v/v.c.patch
}

build() {
Expand Down

0 comments on commit ca37432

Please # to comment.