-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update a handful of ports #26465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update a handful of ports #26465
Changes from all commits
ba75e6c
4554f81
1aef807
dd355ef
3283f9f
fec2c61
bf19c5a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,8 @@ | ||
| #!/usr/bin/env -S bash ../.port_include.sh | ||
| port=nasm | ||
| version=2.16.03 | ||
| port='nasm' | ||
| version='3.01' | ||
| files=( | ||
| "https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz#5bc940dd8a4245686976a8f7e96ba9340a0915f2d5b88356874890e207bdb581" | ||
| "https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz#aea120d4adb0241f08ae24d6add09e4a993bc1c4d9f754dbfc8020d6916c9be1" | ||
| ) | ||
| useconfigure=true | ||
| use_fresh_config_sub=true | ||
| config_sub_paths=("autoconf/helpers/config.sub") | ||
| makeopts=() |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| From: Linus Groh <[email protected]> | ||
| Date: Sat, 6 Dec 2025 17:11:07 +0000 | ||
| Subject: [PATCH] Remove include of sys/ipc.h | ||
|
|
||
| --- | ||
| ext/opcache/ZendAccelerator.c | 1 - | ||
| 1 file changed, 1 deletion(-) | ||
|
|
||
| diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c | ||
| index 84acae980ce3a5ec1d03e4aebe2f30e3fd601bb3..904a9c2ae08fd9acab89e0f192cde9fc56dc53e9 100644 | ||
| --- a/ext/opcache/ZendAccelerator.c | ||
| +++ b/ext/opcache/ZendAccelerator.c | ||
| @@ -89,7 +89,6 @@ typedef int gid_t; | ||
| #ifndef ZEND_WIN32 | ||
| # include <sys/types.h> | ||
| # include <sys/wait.h> | ||
| -# include <sys/ipc.h> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add an empty sys/ipc.h instead of this patch?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (to be clear,.this is not blocking or anything)
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not in favor of that personally. In this specific case it seems like the include is unused (as per https://pubs.opengroup.org/onlinepubs/007904975/basedefs/sys/ipc.h.html it defines
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we remove the include upstream then?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That I can do: php/php-src#20662 |
||
| # include <pwd.h> | ||
| # include <grp.h> | ||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| From: Linus Groh <[email protected]> | ||
| Date: Sat, 6 Dec 2025 17:16:03 +0000 | ||
| Subject: [PATCH] Disable unsupported prctl call | ||
|
|
||
| Serenity has prctl but doesn't define PR_SET_PDEATHSIG. | ||
| --- | ||
| sapi/cli/php_cli_server.c | 2 +- | ||
| 1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
|
||
| diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c | ||
| index da6732f06e72a297315615352a8f399107b7e096..21a4e3224bc4cd27045c346fe1334c01adae1019 100644 | ||
| --- a/sapi/cli/php_cli_server.c | ||
| +++ b/sapi/cli/php_cli_server.c | ||
| @@ -2486,7 +2486,7 @@ static char *php_cli_server_parse_addr(const char *addr, int *pport) { | ||
| static void php_cli_server_worker_install_pdeathsig(void) | ||
| { | ||
| // Ignore failure to register PDEATHSIG, it's not available on all platforms anyway | ||
| -#if defined(HAVE_PRCTL) | ||
| +#if defined(HAVE_PRCTL) && !defined(__serenity__) | ||
| prctl(PR_SET_PDEATHSIG, SIGTERM); | ||
| #elif defined(HAVE_PROCCTL) | ||
| int signal = SIGTERM; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
php/php-src@7b4c14d