FreeBSD Bugzilla – Attachment 251127 Details for
Bug 279397
www/chromium sqlite3_shim.c compilation error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ad-hoc patch for www/chromium
patch.diff (text/plain), 1.56 KB, created by
Tatsuki Makino
on 2024-06-01 04:04:11 UTC
(
hide
)
Description:
ad-hoc patch for www/chromium
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2024-06-01 04:04:11 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c b/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c >index 60315a0018e..f4b1788d982 100644 >--- a/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c >+++ b/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c >@@ -1,6 +1,16 @@ >---- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2024-05-21 18:07:39 UTC >+--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2024-05-23 22:40:42 UTC > +++ third_party/sqlite/src/amalgamation/sqlite3.c >-@@ -44777,7 +44777,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB >+@@ -20533,6 +20533,9 @@ SQLITE_PRIVATE int sqlite3HeapNearlyFull(void); >+ ** that deal with sqlite3StackAlloc() failures to be unreachable. >+ */ >+ #ifdef SQLITE_USE_ALLOCA >++# if !defined(alloca) && defined(__FreeBSD__) >++# define alloca(sz) __builtin_alloca(sz) >++# endif >+ # define sqlite3StackAllocRaw(D,N) alloca(N) >+ # define sqlite3StackAllocRawNN(D,N) alloca(N) >+ # define sqlite3StackFree(D,P) >+@@ -44777,7 +44780,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB > memset(zBuf, 0, nBuf); > randomnessPid = osGetpid(0); > #if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) >@@ -13,7 +23,7 @@ > int fd, got; > fd = robust_open("/dev/urandom", O_RDONLY, 0); > if( fd<0 ){ >-@@ -44792,6 +44797,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB >+@@ -44792,6 +44800,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB > robust_close(0, fd, __LINE__); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279397
:
251083
| 251127 |
251173