diffstat of debian/ for systemd_208-3 systemd_208-3 fix-undefined-reference-efi_loader_get_boot_usec-whe.patch | 30 +++++++++++++ series | 1 2 files changed, 31 insertions(+) --- systemd-208/debian/patches/fix-undefined-reference-efi_loader_get_boot_usec-whe.patch 1970-01-01 00:00:00.000000000 +0000 +++ systemd-208/debian/patches/fix-undefined-reference-efi_loader_get_boot_usec-whe.patch 2014-06-26 19:55:24.000000000 +0000 @@ -0,0 +1,30 @@ +>From 1b4c055d2ba9fbf71550bde2fd3781dc0ba145ad Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= +Date: Tue, 11 Feb 2014 09:54:49 -0300 +Subject: [PATCH] fix Undefined reference efi_loader_get_boot_usec when EFI + support is disabled + +--- + src/shared/boot-timestamps.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c +index 9449965..7e0c288 100644 +--- a/src/shared/boot-timestamps.c ++++ b/src/shared/boot-timestamps.c +@@ -40,9 +40,11 @@ int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_time + + r = acpi_get_boot_usec(&x, &y); + if (r < 0) { ++#ifdef ENABLE_EFI + r = efi_loader_get_boot_usec(&x, &y); + if (r < 0) +- return r; ++#endif ++ return r; + } + + /* Let's convert this to timestamps where the firmware +-- +1.8.4.5 + --- systemd-208/debian/patches/series 2014-06-25 09:29:21.000000000 +0000 +++ systemd-208/debian/patches/series 2014-06-26 19:55:36.000000000 +0000 @@ -46,3 +46,4 @@ Add-run-initctl-support-to-SysV-compat-tools.patch login-make-sd_session_get_vt-actually-work.patch login-fix-invalid-free-in-sd_session_get_vt.patch +fix-undefined-reference-efi_loader_get_boot_usec-whe.patch