diff options
| author | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
|---|---|---|
| committer | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
| commit | 9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch) | |
| tree | 883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /libimobiledevice/libimobiledevice-libplist-2.3.0.patch | |
| parent | ab119e4809a15d37522b7aea45d55911f8d43ac9 (diff) | |
| download | crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip | |
xfce4: initial migration
Diffstat (limited to 'libimobiledevice/libimobiledevice-libplist-2.3.0.patch')
| -rw-r--r-- | libimobiledevice/libimobiledevice-libplist-2.3.0.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libimobiledevice/libimobiledevice-libplist-2.3.0.patch b/libimobiledevice/libimobiledevice-libplist-2.3.0.patch new file mode 100644 index 0000000..25f8d3d --- /dev/null +++ b/libimobiledevice/libimobiledevice-libplist-2.3.0.patch @@ -0,0 +1,32 @@ +diff --git i/common/utils.c w/common/utils.c +index 7f66ec2..7ebe997 100644 +--- i/common/utils.c ++++ w/common/utils.c +@@ -314,7 +314,7 @@ int plist_read_from_filename(plist_t *plist, const char *filename) + return 1; + } + +-int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format) ++int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format) + { + char *buffer = NULL; + uint32_t length; +diff --git i/common/utils.h w/common/utils.h +index 2c3acec..4faa5bd 100644 +--- i/common/utils.h ++++ w/common/utils.h +@@ -51,13 +51,8 @@ char *generate_uuid(void); + void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length); + void buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length); + +-enum plist_format_t { +- PLIST_FORMAT_XML, +- PLIST_FORMAT_BINARY +-}; +- + int plist_read_from_filename(plist_t *plist, const char *filename); +-int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format); ++int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format); + + void plist_print_to_stream(plist_t plist, FILE* stream); + |
