mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-21 03:25:26 +00:00
765323df23
Lakka 5.x Switch changes (#1853) Lakka v5.x switchroot 5.1.2 (#1871) Fix Switch Issue's in upstream 5.x (#1888) Minor Switch Changes (#1893) Lakka v5.x switch 3 (#1895) Lakka v5.x switch 4 (#1898) L4T: Xorg-server: Fix build issue (#1924) Switch: remove ra patch Lakka v5.x switch 6 (#1926) Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930) Switch: U-Boot: bump version to 2024-NX02 (#1946) L4T/Ayn post-upstreaming fixes - retroarch_joypad_autoconfig: remove spaces from file names - retroarch: remove Switch specific patch merged upstream - libXv: move to L4T packages folder (package removed in upstream) - bring some packages from v5.x to L4T packages - ffmpeg: remove vulkan - remove stella core from Switch build (missing C++ headers) - Ayn/Odin: use proper kernel arg to not hide kernel messages in console - connman: add wpa_supplicant support back
58 lines
1.6 KiB
Diff
58 lines
1.6 KiB
Diff
From 5d5e76d369a412bfb3d2cebb5fc0a7509cef878d Mon Sep 17 00:00:00 2001
|
|
From: Rod Smith <rodsmith@rodsbooks.com>
|
|
Date: Fri, 15 Apr 2022 18:10:14 -0400
|
|
Subject: [PATCH 01/12] Fix failure & crash of sgdisk when compiled with latest
|
|
popt (commit 740; presumably eventually release 1.19)
|
|
|
|
---
|
|
NEWS | 8 ++++++++
|
|
gptcl.cc | 2 +-
|
|
support.h | 2 +-
|
|
3 files changed, 10 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/NEWS b/NEWS
|
|
index c7add56..9e153fd 100644
|
|
--- a/NEWS
|
|
+++ b/NEWS
|
|
@@ -1,3 +1,11 @@
|
|
+1.0.10 (?/??/2022):
|
|
+-------------------
|
|
+
|
|
+- Fixed problem that caused sgdisk to crash with errors about being unable
|
|
+ to read the disk's partition table when compiled with the latest popt
|
|
+ (commit 740, which is pre-release as I type; presumably version 1.19 and
|
|
+ later once released).
|
|
+
|
|
1.0.9 (4/14/2022):
|
|
------------------
|
|
|
|
diff --git a/gptcl.cc b/gptcl.cc
|
|
index 34c9421..0d578eb 100644
|
|
--- a/gptcl.cc
|
|
+++ b/gptcl.cc
|
|
@@ -155,7 +155,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
|
|
} // while
|
|
|
|
// Assume first non-option argument is the device filename....
|
|
- device = (char*) poptGetArg(poptCon);
|
|
+ device = strdup((char*) poptGetArg(poptCon));
|
|
poptResetContext(poptCon);
|
|
|
|
if (device != NULL) {
|
|
diff --git a/support.h b/support.h
|
|
index 8ba9ad1..f91f1bc 100644
|
|
--- a/support.h
|
|
+++ b/support.h
|
|
@@ -8,7 +8,7 @@
|
|
#include <stdlib.h>
|
|
#include <string>
|
|
|
|
-#define GPTFDISK_VERSION "1.0.9"
|
|
+#define GPTFDISK_VERSION "1.0.9.1"
|
|
|
|
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
|
|
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64
|
|
--
|
|
2.31.1
|
|
|