Skip to content
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 to avr-libc 2.2.1 #340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,11 @@
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip

current_build = build

Check failure on line 48 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 48 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 48 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# This patch fixes a GCC compilation error on Apple ARM systems by adding
Expand Down Expand Up @@ -122,8 +114,8 @@
end

# info and man7 files conflict with native gcc
info.rmtree

Check failure on line 117 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 117 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 117 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.
man7.rmtree

Check failure on line 118 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 118 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 118 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

current_build = build

Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,11 @@
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip

current_build = build

Check failure on line 47 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 47 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 47 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2"
sha256 "b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# Branch from the Darwin maintainer of GCC, with a few generic fixes and
Expand Down Expand Up @@ -135,8 +127,8 @@
end

# info and man7 files conflict with native gcc
info.rmtree

Check failure on line 130 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 130 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 130 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.
man7.rmtree

Check failure on line 131 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 131 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 131 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

current_build = build

Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,11 @@
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip

current_build = build

Check failure on line 60 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 60 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

Check failure on line 60 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Lint/UselessAssignment: Useless assignment to variable - `current_build`.

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

def version_suffix
Expand Down Expand Up @@ -133,8 +125,8 @@
end

# info and man7 files conflict with native gcc
info.rmtree

Check failure on line 128 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 128 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 128 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.
man7.rmtree

Check failure on line 129 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 129 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

Check failure on line 129 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Homebrew/NoFileutilsRmrf: Use `rm` or `rm_r` instead of `rm_rf`, `rm_f`, or `rmtree`.

current_build = build

Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ class AvrGccAT13 < Formula
current_build = build

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

if Hardware::CPU.arm?
Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ class AvrGccAT14 < Formula
current_build = build

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# Branch from the Darwin maintainer of GCC, with a few generic fixes and
Expand Down
5 changes: 2 additions & 3 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ class AvrGccAT5 < Formula
cxxstdlib_check :skip

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2"
sha256 "b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97"
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# This patch fixes a GCC compilation error on Apple ARM systems by adding
Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,8 @@ class AvrGccAT8 < Formula
current_build = build

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# This patch fixes a GCC compilation error on Apple ARM systems by adding
Expand Down
12 changes: 2 additions & 10 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,8 @@ class AvrGccAT9 < Formula
current_build = build

resource "avr-libc" do
url "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
mirror "https://download-mirror.savannah.gnu.org/releases/avr-libc/avr-libc-2.1.0.tar.bz2"
sha256 "0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8"

if current_build.with? "ATMega168pbSupport"
patch do
url "https://raw.githubusercontent.com/osx-cross/homebrew-avr/d2e2566b06b90355952ed996707a0a1a24673cd3/Patch/avr-libc-add-mcu-atmega168pb.patch"
sha256 "7a2bf2e11cfd9335e8e143eecb94480b4871e8e1ac54392c2ee2d89010b43711"
end
end
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
end

# This patch fixes a GCC compilation error on Apple ARM systems by adding
Expand Down
Loading
Loading