pilot-link: unbreak on GCC 14 (#402369)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Index: pilot-link/src/pilot-read-todos.c
|
||||
===================================================================
|
||||
--- pilot-link/src/pilot-read-todos.c
|
||||
+++ pilot-link/src/pilot-read-todos.c
|
||||
@@ -216,9 +216,9 @@
|
||||
break;
|
||||
}
|
||||
else {
|
||||
if (pi_file_read_record
|
||||
- (pif, i, (void *) &ptr, &len, &attr, &category,
|
||||
+ (pif, i, (void *) &ptr, (size_t *) &len, &attr, &category,
|
||||
0))
|
||||
break;
|
||||
|
||||
pi_buffer_clear(recbuf);
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "pilot-link";
|
||||
version = "0.12.3-unstable-2022-09-26";
|
||||
version = "0.13.0-unstable-2022-09-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "desrod";
|
||||
@@ -33,7 +33,10 @@ stdenv.mkDerivation {
|
||||
# https://github.com/desrod/pilot-link/issues/16
|
||||
# https://aur.archlinux.org/packages/pilot-link-git
|
||||
patches =
|
||||
[ ./configure-checks.patch ]
|
||||
[
|
||||
./configure-checks.patch
|
||||
./incompatible-pointer-type.patch
|
||||
]
|
||||
++ lib.optionals enableConduits [ ./format-string-literals.patch ]
|
||||
++ lib.optionals enableLibpng [ ./pilot-link-png14.patch ];
|
||||
|
||||
@@ -56,6 +59,8 @@ stdenv.mkDerivation {
|
||||
++ lib.optionals enableLibpng [ "--enable-libpng" ]
|
||||
++ lib.optionals enableLibusb [ "--enable-libusb" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Suite of tools for connecting to PalmOS handheld devices";
|
||||
homepage = "https://github.com/desrod/pilot-link";
|
||||
|
||||
Reference in New Issue
Block a user