git: a40d3ddc68a7 - main - devel/rust-cbindgen: update to 0.22.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 19 Apr 2022 20:23:52 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a40d3ddc68a7f0cbd4acd398b5e4052d0c4b7483

commit a40d3ddc68a7f0cbd4acd398b5e4052d0c4b7483
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-04-19 09:29:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-04-19 19:33:01 +0000

    devel/rust-cbindgen: update to 0.22.0
    
    Changes:        https://github.com/eqrion/cbindgen/releases/tag/v0.22.0
    Reported by:    GitHub (watch releases)
---
 devel/rust-cbindgen/Makefile            |  64 +++++++---------
 devel/rust-cbindgen/distinfo            | 130 +++++++++++++++-----------------
 devel/rust-cbindgen/files/patch-powerpc |  62 ---------------
 3 files changed, 88 insertions(+), 168 deletions(-)

diff --git a/devel/rust-cbindgen/Makefile b/devel/rust-cbindgen/Makefile
index f36dec6c6f60..455760621394 100644
--- a/devel/rust-cbindgen/Makefile
+++ b/devel/rust-cbindgen/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cbindgen
-DISTVERSION=	0.21.0
+DISTVERSION=	0.22.0
 CATEGORIES=	devel
 MASTER_SITES=	CRATESIO
 PKGNAMEPREFIX=	rust-
@@ -17,50 +17,44 @@ USES=		cargo
 PLIST_FILES=	bin/${PORTNAME}
 
 CARGO_CRATES=	atty-0.2.14 \
-		autocfg-1.0.1 \
-		bitflags-1.2.1 \
-		cfg-if-0.1.10 \
+		autocfg-1.1.0 \
+		bitflags-1.3.2 \
+		cfg-if-1.0.0 \
 		clap-3.1.6 \
-		cloudabi-0.0.3 \
-		getrandom-0.1.15 \
-		hashbrown-0.9.1 \
+		fastrand-1.7.0 \
+		hashbrown-0.11.2 \
 		heck-0.4.0 \
-		hermit-abi-0.1.16 \
-		indexmap-1.6.0 \
-		itoa-0.4.6 \
+		hermit-abi-0.1.19 \
+		indexmap-1.8.0 \
+		instant-0.1.12 \
+		itoa-1.0.1 \
 		lazy_static-1.4.0 \
-		libc-0.2.77 \
-		lock_api-0.3.4 \
-		log-0.4.11 \
+		libc-0.2.121 \
+		lock_api-0.4.6 \
+		log-0.4.16 \
 		memchr-2.4.1 \
 		os_str_bytes-6.0.0 \
-		parking_lot-0.10.2 \
-		parking_lot_core-0.7.2 \
-		ppv-lite86-0.2.9 \
-		proc-macro2-1.0.21 \
-		quote-1.0.7 \
-		rand-0.7.3 \
-		rand_chacha-0.2.2 \
-		rand_core-0.5.1 \
-		rand_hc-0.2.0 \
-		redox_syscall-0.1.57 \
+		parking_lot-0.11.2 \
+		parking_lot_core-0.8.5 \
+		proc-macro2-1.0.36 \
+		quote-1.0.17 \
+		redox_syscall-0.2.12 \
 		remove_dir_all-0.5.3 \
-		ryu-1.0.5 \
+		ryu-1.0.9 \
 		scopeguard-1.1.0 \
-		serde-1.0.116 \
-		serde_derive-1.0.116 \
-		serde_json-1.0.57 \
-		serial_test-0.5.0 \
-		serial_test_derive-0.5.0 \
-		smallvec-1.4.2 \
+		serde-1.0.136 \
+		serde_derive-1.0.136 \
+		serde_json-1.0.79 \
+		serial_test-0.5.1 \
+		serial_test_derive-0.5.1 \
+		smallvec-1.8.0 \
 		strsim-0.10.0 \
-		syn-1.0.41 \
-		tempfile-3.1.0 \
+		syn-1.0.89 \
+		tempfile-3.3.0 \
 		termcolor-1.1.3 \
 		textwrap-0.15.0 \
-		toml-0.5.6 \
-		unicode-xid-0.2.1 \
-		wasi-0.9.0+wasi-snapshot-preview1 \
+		toml-0.5.8 \
+		unicode-xid-0.2.2 \
 		winapi-0.3.9 \
 		winapi-i686-pc-windows-gnu-0.4.0 \
 		winapi-util-0.1.5 \
diff --git a/devel/rust-cbindgen/distinfo b/devel/rust-cbindgen/distinfo
index ea32fa190e11..c41fe62a635c 100644
--- a/devel/rust-cbindgen/distinfo
+++ b/devel/rust-cbindgen/distinfo
@@ -1,96 +1,84 @@
-TIMESTAMP = 1648230743
-SHA256 (rust/crates/cbindgen-0.21.0.crate) = 485ede05a56152367a6ec586a7425b475d6c3d3838581ff651d2a6e3730a62ef
-SIZE (rust/crates/cbindgen-0.21.0.crate) = 184825
+TIMESTAMP = 1650360592
+SHA256 (rust/crates/cbindgen-0.22.0.crate) = 4d7ac49647ca72e4ecf4a1ca559dbc7fa43e2c5620dbd2cf198e6bf4671de6f2
+SIZE (rust/crates/cbindgen-0.22.0.crate) = 187702
 SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
 SIZE (rust/crates/atty-0.2.14.crate) = 5470
-SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
-SIZE (rust/crates/autocfg-1.0.1.crate) = 12908
-SHA256 (rust/crates/bitflags-1.2.1.crate) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
-SIZE (rust/crates/bitflags-1.2.1.crate) = 16745
-SHA256 (rust/crates/cfg-if-0.1.10.crate) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
-SIZE (rust/crates/cfg-if-0.1.10.crate) = 7933
+SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
+SIZE (rust/crates/autocfg-1.1.0.crate) = 13272
+SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
+SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
+SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
+SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
 SHA256 (rust/crates/clap-3.1.6.crate) = d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123
 SIZE (rust/crates/clap-3.1.6.crate) = 202211
-SHA256 (rust/crates/cloudabi-0.0.3.crate) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f
-SIZE (rust/crates/cloudabi-0.0.3.crate) = 22156
-SHA256 (rust/crates/getrandom-0.1.15.crate) = fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6
-SIZE (rust/crates/getrandom-0.1.15.crate) = 24786
-SHA256 (rust/crates/hashbrown-0.9.1.crate) = d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04
-SIZE (rust/crates/hashbrown-0.9.1.crate) = 77734
+SHA256 (rust/crates/fastrand-1.7.0.crate) = c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf
+SIZE (rust/crates/fastrand-1.7.0.crate) = 11265
+SHA256 (rust/crates/hashbrown-0.11.2.crate) = ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e
+SIZE (rust/crates/hashbrown-0.11.2.crate) = 85713
 SHA256 (rust/crates/heck-0.4.0.crate) = 2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9
 SIZE (rust/crates/heck-0.4.0.crate) = 11161
-SHA256 (rust/crates/hermit-abi-0.1.16.crate) = 4c30f6d0bc6b00693347368a67d41b58f2fb851215ff1da49e90fe2c5c667151
-SIZE (rust/crates/hermit-abi-0.1.16.crate) = 9889
-SHA256 (rust/crates/indexmap-1.6.0.crate) = 55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2
-SIZE (rust/crates/indexmap-1.6.0.crate) = 47565
-SHA256 (rust/crates/itoa-0.4.6.crate) = dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6
-SIZE (rust/crates/itoa-0.4.6.crate) = 12167
+SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
+SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979
+SHA256 (rust/crates/indexmap-1.8.0.crate) = 282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223
+SIZE (rust/crates/indexmap-1.8.0.crate) = 52583
+SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c
+SIZE (rust/crates/instant-0.1.12.crate) = 6128
+SHA256 (rust/crates/itoa-1.0.1.crate) = 1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35
+SIZE (rust/crates/itoa-1.0.1.crate) = 11059
 SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
 SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
-SHA256 (rust/crates/libc-0.2.77.crate) = f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235
-SIZE (rust/crates/libc-0.2.77.crate) = 507233
-SHA256 (rust/crates/lock_api-0.3.4.crate) = c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75
-SIZE (rust/crates/lock_api-0.3.4.crate) = 18750
-SHA256 (rust/crates/log-0.4.11.crate) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b
-SIZE (rust/crates/log-0.4.11.crate) = 36276
+SHA256 (rust/crates/libc-0.2.121.crate) = efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f
+SIZE (rust/crates/libc-0.2.121.crate) = 574702
+SHA256 (rust/crates/lock_api-0.4.6.crate) = 88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b
+SIZE (rust/crates/lock_api-0.4.6.crate) = 25215
+SHA256 (rust/crates/log-0.4.16.crate) = 6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8
+SIZE (rust/crates/log-0.4.16.crate) = 37758
 SHA256 (rust/crates/memchr-2.4.1.crate) = 308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a
 SIZE (rust/crates/memchr-2.4.1.crate) = 64977
 SHA256 (rust/crates/os_str_bytes-6.0.0.crate) = 8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64
 SIZE (rust/crates/os_str_bytes-6.0.0.crate) = 21046
-SHA256 (rust/crates/parking_lot-0.10.2.crate) = d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e
-SIZE (rust/crates/parking_lot-0.10.2.crate) = 39536
-SHA256 (rust/crates/parking_lot_core-0.7.2.crate) = d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3
-SIZE (rust/crates/parking_lot_core-0.7.2.crate) = 33875
-SHA256 (rust/crates/ppv-lite86-0.2.9.crate) = c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20
-SIZE (rust/crates/ppv-lite86-0.2.9.crate) = 20933
-SHA256 (rust/crates/proc-macro2-1.0.21.crate) = 36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c
-SIZE (rust/crates/proc-macro2-1.0.21.crate) = 36909
-SHA256 (rust/crates/quote-1.0.7.crate) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37
-SIZE (rust/crates/quote-1.0.7.crate) = 25170
-SHA256 (rust/crates/rand-0.7.3.crate) = 6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03
-SIZE (rust/crates/rand-0.7.3.crate) = 112246
-SHA256 (rust/crates/rand_chacha-0.2.2.crate) = f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402
-SIZE (rust/crates/rand_chacha-0.2.2.crate) = 13267
-SHA256 (rust/crates/rand_core-0.5.1.crate) = 90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19
-SIZE (rust/crates/rand_core-0.5.1.crate) = 21116
-SHA256 (rust/crates/rand_hc-0.2.0.crate) = ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c
-SIZE (rust/crates/rand_hc-0.2.0.crate) = 11670
-SHA256 (rust/crates/redox_syscall-0.1.57.crate) = 41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce
-SIZE (rust/crates/redox_syscall-0.1.57.crate) = 17087
+SHA256 (rust/crates/parking_lot-0.11.2.crate) = 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99
+SIZE (rust/crates/parking_lot-0.11.2.crate) = 39869
+SHA256 (rust/crates/parking_lot_core-0.8.5.crate) = d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216
+SIZE (rust/crates/parking_lot_core-0.8.5.crate) = 32466
+SHA256 (rust/crates/proc-macro2-1.0.36.crate) = c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029
+SIZE (rust/crates/proc-macro2-1.0.36.crate) = 41411
+SHA256 (rust/crates/quote-1.0.17.crate) = 632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58
+SIZE (rust/crates/quote-1.0.17.crate) = 28629
+SHA256 (rust/crates/redox_syscall-0.2.12.crate) = 8ae183fc1b06c149f0c1793e1eb447c8b04bfe46d48e9e48bfb8d2d7ed64ecf0
+SIZE (rust/crates/redox_syscall-0.2.12.crate) = 24081
 SHA256 (rust/crates/remove_dir_all-0.5.3.crate) = 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7
 SIZE (rust/crates/remove_dir_all-0.5.3.crate) = 9184
-SHA256 (rust/crates/ryu-1.0.5.crate) = 71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e
-SIZE (rust/crates/ryu-1.0.5.crate) = 49570
+SHA256 (rust/crates/ryu-1.0.9.crate) = 73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f
+SIZE (rust/crates/ryu-1.0.9.crate) = 48391
 SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
 SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470
-SHA256 (rust/crates/serde-1.0.116.crate) = 96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5
-SIZE (rust/crates/serde-1.0.116.crate) = 74443
-SHA256 (rust/crates/serde_derive-1.0.116.crate) = f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8
-SIZE (rust/crates/serde_derive-1.0.116.crate) = 50697
-SHA256 (rust/crates/serde_json-1.0.57.crate) = 164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c
-SIZE (rust/crates/serde_json-1.0.57.crate) = 114723
-SHA256 (rust/crates/serial_test-0.5.0.crate) = 1b15f74add9a9d4a3eb2bf739c9a427d266d3895b53d992c3a7c234fec2ff1f1
-SIZE (rust/crates/serial_test-0.5.0.crate) = 2305
-SHA256 (rust/crates/serial_test_derive-0.5.0.crate) = 65f59259be9fc1bf677d06cc1456e97756004a1a5a577480f71430bd7c17ba33
-SIZE (rust/crates/serial_test_derive-0.5.0.crate) = 2899
-SHA256 (rust/crates/smallvec-1.4.2.crate) = fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252
-SIZE (rust/crates/smallvec-1.4.2.crate) = 26109
+SHA256 (rust/crates/serde-1.0.136.crate) = ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789
+SIZE (rust/crates/serde-1.0.136.crate) = 76158
+SHA256 (rust/crates/serde_derive-1.0.136.crate) = 08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9
+SIZE (rust/crates/serde_derive-1.0.136.crate) = 54776
+SHA256 (rust/crates/serde_json-1.0.79.crate) = 8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95
+SIZE (rust/crates/serde_json-1.0.79.crate) = 144451
+SHA256 (rust/crates/serial_test-0.5.1.crate) = e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d
+SIZE (rust/crates/serial_test-0.5.1.crate) = 2993
+SHA256 (rust/crates/serial_test_derive-0.5.1.crate) = b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5
+SIZE (rust/crates/serial_test_derive-0.5.1.crate) = 3609
+SHA256 (rust/crates/smallvec-1.8.0.crate) = f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83
+SIZE (rust/crates/smallvec-1.8.0.crate) = 27992
 SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
 SIZE (rust/crates/strsim-0.10.0.crate) = 11355
-SHA256 (rust/crates/syn-1.0.41.crate) = 6690e3e9f692504b941dc6c3b188fd28df054f7fb8469ab40680df52fdcc842b
-SIZE (rust/crates/syn-1.0.41.crate) = 224979
-SHA256 (rust/crates/tempfile-3.1.0.crate) = 7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9
-SIZE (rust/crates/tempfile-3.1.0.crate) = 25823
+SHA256 (rust/crates/syn-1.0.89.crate) = ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54
+SIZE (rust/crates/syn-1.0.89.crate) = 235966
+SHA256 (rust/crates/tempfile-3.3.0.crate) = 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4
+SIZE (rust/crates/tempfile-3.3.0.crate) = 27578
 SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755
 SIZE (rust/crates/termcolor-1.1.3.crate) = 17242
 SHA256 (rust/crates/textwrap-0.15.0.crate) = b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb
 SIZE (rust/crates/textwrap-0.15.0.crate) = 52998
-SHA256 (rust/crates/toml-0.5.6.crate) = ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a
-SIZE (rust/crates/toml-0.5.6.crate) = 54341
-SHA256 (rust/crates/unicode-xid-0.2.1.crate) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564
-SIZE (rust/crates/unicode-xid-0.2.1.crate) = 14392
-SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519
-SIZE (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = 31521
+SHA256 (rust/crates/toml-0.5.8.crate) = a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa
+SIZE (rust/crates/toml-0.5.8.crate) = 54219
+SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3
+SIZE (rust/crates/unicode-xid-0.2.2.crate) = 14955
 SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
 SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
 SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
diff --git a/devel/rust-cbindgen/files/patch-powerpc b/devel/rust-cbindgen/files/patch-powerpc
deleted file mode 100644
index a7f9d2700ada..000000000000
--- a/devel/rust-cbindgen/files/patch-powerpc
+++ /dev/null
@@ -1,62 +0,0 @@
---- cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig	2020-03-17 20:35:43 UTC
-+++ cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/mod.rs
-@@ -1486,6 +1486,9 @@ cfg_if! {
-     } else if #[cfg(target_arch = "powerpc64")] {
-         mod powerpc64;
-         pub use self::powerpc64::*;
-+    } else if #[cfg(target_arch = "powerpc")] {
-+        mod powerpc;
-+        pub use self::powerpc::*;
-     } else {
-         // Unknown target_arch
-     }
---- cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig	2021-06-23 22:40:24 UTC
-+++ cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
-@@ -0,0 +1,47 @@
-+pub type c_char = u8;
-+pub type c_long = i32;
-+pub type c_ulong = u32;
-+pub type wchar_t = i32;
-+pub type time_t = i64;
-+pub type suseconds_t = i32;
-+pub type register_t = i32;
-+
-+s! {
-+    pub struct stat {
-+        pub st_dev: ::dev_t,
-+        pub st_ino: ::ino_t,
-+        pub st_mode: ::mode_t,
-+        pub st_nlink: ::nlink_t,
-+        pub st_uid: ::uid_t,
-+        pub st_gid: ::gid_t,
-+        pub st_rdev: ::dev_t,
-+        pub st_atime: ::time_t,
-+        pub st_atime_nsec: ::c_long,
-+        pub st_mtime: ::time_t,
-+        pub st_mtime_nsec: ::c_long,
-+        pub st_ctime: ::time_t,
-+        pub st_ctime_nsec: ::c_long,
-+        pub st_size: ::off_t,
-+        pub st_blocks: ::blkcnt_t,
-+        pub st_blksize: ::blksize_t,
-+        pub st_flags: ::fflags_t,
-+        pub st_gen: u32,
-+        pub st_lspare: i32,
-+        pub st_birthtime: ::time_t,
-+        pub st_birthtime_nsec: ::c_long,
-+    }
-+}
-+
-+// should be pub(crate), but that requires Rust 1.18.0
-+cfg_if! {
-+    if #[cfg(libc_const_size_of)] {
-+        #[doc(hidden)]
-+        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
-+    } else {
-+        #[doc(hidden)]
-+        pub const _ALIGNBYTES: usize = 4 - 1;
-+    }
-+}
-+
-+pub const MAP_32BIT: ::c_int = 0x00080000;
-+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4