]> git.pld-linux.org Git - packages/libimobiledevice.git/blob - libimobiledevice-libplist.patch
- release 7 (libusbmuxd 2.1.0)
[packages/libimobiledevice.git] / libimobiledevice-libplist.patch
1 --- libimobiledevice-1.3.0/common/utils.h.orig  2020-03-19 19:56:37.000000000 +0100
2 +++ libimobiledevice-1.3.0/common/utils.h       2023-11-26 09:34:42.338076752 +0100
3 @@ -51,13 +51,8 @@ char *generate_uuid(void);
4  void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length);
5  void buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length);
6  
7 -enum plist_format_t {
8 -       PLIST_FORMAT_XML,
9 -       PLIST_FORMAT_BINARY
10 -};
11 -
12  int plist_read_from_filename(plist_t *plist, const char *filename);
13 -int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format);
14 +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format);
15  
16  void plist_print_to_stream(plist_t plist, FILE* stream);
17  
18 --- libimobiledevice-1.3.0/common/utils.c.orig  2020-03-19 19:56:37.000000000 +0100
19 +++ libimobiledevice-1.3.0/common/utils.c       2023-11-26 09:35:54.671018224 +0100
20 @@ -314,7 +314,7 @@ int plist_read_from_filename(plist_t *pl
21         return 1;
22  }
23  
24 -int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format)
25 +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format)
26  {
27         char *buffer = NULL;
28         uint32_t length;
This page took 0.077544 seconds and 3 git commands to generate.