Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
27 changes: 27 additions & 0 deletions 0002-third_party-sqlite-vec-Include-stdint.h-for-uintXX_t.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 4bd7d9e83a1892b4ff2aacceba63cfa38a2fb384 Mon Sep 17 00:00:00 2001
From: Yao Zi <[email protected]>
Date: Sat, 31 May 2025 15:23:04 +0000
Subject: [PATCH] third_party: sqlite-vec: Include stdint.h for uintXX_t types

---
third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
index 96612e26d385..f018c490a7ee 100644
--- a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
+++ b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
@@ -66,9 +66,7 @@ SQLITE_EXTENSION_INIT3
#ifndef __COSMOPOLITAN__
#ifndef __wasi__
#ifndef __sun__
-typedef u_int8_t uint8_t;
-typedef u_int16_t uint16_t;
-typedef u_int64_t uint64_t;
+#include <stdint.h>
#endif
#endif
#endif
--
2.49.0

16 changes: 13 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Yukari Chiba <[email protected]>

pkgname=firefox
pkgver=138.0.4
pkgver=139.0.1
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
url="https://www.mozilla.org/firefox/"
Expand Down Expand Up @@ -37,21 +37,31 @@ makedepends=(
wasi-libc++
wasi-libc++abi
)
# 0001: Downstream, enable usage of -fvisibility=hidden and
# -visibility-inlines-hidden with Clang
# 0002: Should be upstreamed for third-party library, fix missing types on musl
# refer to https://github.com/asg017/sqlite-vec/issues/156
# Another fix: https://github.com/asg017/sqlite-vec/pull/219
# Firefox upstream reports:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1962061
# https://bugzilla.mozilla.org/show_bug.cgi?id=1964446
source=(
https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
mozconfig
firefox.desktop
distribution.ini
visibility.patch
0001-enable-visibility-hidden-for-clang.patch
0002-third_party-sqlite-vec-Include-stdint.h-for-uintXX_t.patch
loong0004-Fix-ycbcr-chromium_types-warning.patch
loong0003-Define-HWCAP_LOONGARCH_LSX_and_LASX.patch
loong0005-Fix-libyuv-build-with-LSX-LASX.patch
)
sha256sums=('3fd30db08dad90b339e08d27db1e3aab03a174817d336314327dc5305c145056'
sha256sums=('5b716ee9e6339a0de8e42f81c1d7dadca5c03e91ee9b2fa8e78357a631b499b0'
'5efe32a0f0d8c7219cd9f58e5fc9aa9f388457dff4e4bfdd372b13456cce3f2b'
'18a0f1df76834ac3d4ddb150aa857785df641b54f9fbf0cfb6ffcec64dad72d4'
'a22ceb0bbf5830d3afbacd656e6893ff0ce455fae5f48c7daa5f836112291ba7'
'98527320399c5efe4dd0103fa0af3732470700abb515871d28e001edc3e49e7e'
'80384c7900b5c877f34406c334b697208471a2a59e85d230ca28b4154d29bcbc'
'2024c8ce2c6daac80c241358c3b069f57cdedf1b285595dabab30c6e9b95e56b'
'b31320038fdaf5b97984ac7cb52323e3cf3dc6287a5988063339747fac9db3d3'
'69731637b7fceebe9f578aeda48791f36f9b69d86608d91c74491d36edb221ac')
Expand Down