Skip to content

Conversation

qianbinbin
Copy link
Contributor

@qianbinbin qianbinbin commented Jun 2, 2025

Fix build on old Macs with old sed, fix #3335.

Copy link
Contributor

@itchyny itchyny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@itchyny itchyny merged commit 023f274 into jqlang:master Jun 2, 2025
28 checks passed
@POPOEVER
Copy link

POPOEVER commented Jun 6, 2025

Still fail to build, I'm on macOS 11.7.10, same output as #3338

@qianbinbin
Copy link
Contributor Author

@POPOEVER see #3338 (comment)

BjarneDMat pushed a commit to BjarneDMat/macports-ports that referenced this pull request Jun 8, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
BjarneDMat pushed a commit to BjarneDMat/macports-ports that referenced this pull request Jun 8, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
BjarneDMat pushed a commit to BjarneDMat/macports-ports that referenced this pull request Jun 8, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
BjarneDMat pushed a commit to BjarneDMat/macports-ports that referenced this pull request Jun 8, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
BjarneDMat pushed a commit to BjarneDMat/macports-ports that referenced this pull request Jun 8, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
herbygillot pushed a commit to macports/macports-ports that referenced this pull request Jun 9, 2025
described in :
​jqlang/jq#3335jqlang/jq#3336jqlang/jq@023f274

fixes : https://trac.macports.org/ticket/72577

Changes to be committed:
	modified:   sysutils/jq/Portfile
	new file:   sysutils/jq/files/patch-Makefile.am.diff
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 2, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jqlang/jq](https://github.com/jqlang/jq) | patch | `1.8.0` -> `1.8.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>jqlang/jq (jqlang/jq)</summary>

### [`v1.8.1`](https://github.com/jqlang/jq/releases/tag/jq-1.8.1): jq 1.8.1

[Compare Source](jqlang/jq@jq-1.8.0...jq-1.8.1)

This is a patch release to fix security, performance, and build issues found in 1.8.0.
Full commit log can be found at <jqlang/jq@jq-1.8.0...jq-1.8.1>.

#### Security fixes

- CVE-2025-49014: Fix heap use after free in `f_strftime`, `f_strflocaltime`.
  [@&#8203;wader](https://github.com/wader) [`499c91b`](jqlang/jq@499c91b)
- GHSA-f946-j5j2-4w5m: Fix stack overflow in `node_min_byte_len` of oniguruma.
  [@&#8203;wader](https://github.com/wader) [`5e159b3`](jqlang/jq@5e159b3)

#### CLI changes

- Fix assertion failure when syntax error happens at the end of the query. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3350](jqlang/jq#3350)

#### Changes to existing functions

- Fix portability of `strptime/1` especially for Windows. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3342](jqlang/jq#3342)

#### Language changes

- Revert the change of `reduce`/`foreach` state variable in 1.8.0 ([#&#8203;3205](jqlang/jq#3205)).
  This change was reverted due to serious performance regression. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3349](jqlang/jq#3349)

#### Documentation changes

- Add LICENSE notice of NetBSD's `strptime()` to COPYING. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3344](jqlang/jq#3344)

#### Build improvements

- Fix build on old Mac with old sed. [@&#8203;qianbinbin](https://github.com/qianbinbin) [#&#8203;3336](jqlang/jq#3336)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build error on old Macs
3 participants