Skip to content

Commit ebbadbe

Browse files
committed
Bios (macOS): fix compiling error on Apple Slicon
1 parent e7474bd commit ebbadbe

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.12.1
2+
3+
Bugfixes:
4+
5+
* Fix compiling error on Apple Slicon (Bios, macOS)
6+
17
# 1.12.0
28

39
This release backports some changes from dev branch, and fixes 2 crashing issues

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 1.12.0
4+
VERSION 1.12.1
55
LANGUAGES C
66
DESCRIPTION "Fast system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"

src/detection/bios/bios_apple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void ffDetectBios(FFBiosResult* bios)
4848
if(IORegistryEntryCreateCFProperties(registryEntry, &properties, kCFAllocatorDefault, kNilOptions) == kIOReturnSuccess)
4949
{
5050
ffCfDictGetString(properties, CFSTR("manufacturer"), &bios->biosVendor);
51-
ffCfDictGetString(properties, CFSTR("time-stamp"), &bios->date);
51+
ffCfDictGetString(properties, CFSTR("time-stamp"), &bios->biosDate);
5252
CFRelease(properties);
5353
}
5454
IOObjectRelease(registryEntry);

0 commit comments

Comments
 (0)