diff options
author | 2022-12-11 20:47:29 +0100 | |
---|---|---|
committer | 2022-12-16 05:08:50 +0000 | |
commit | 6ab939e7cafa7b560904b3839eaeabb3adafca7e (patch) | |
tree | a8d9e289e618f6ac280172304ade291f025c2d9d /media-libs/libgpod/files | |
parent | media-gfx/xloadimage: fix build for clang16 (diff) | |
download | gentoo-6ab939e7cafa7b560904b3839eaeabb3adafca7e.tar.gz gentoo-6ab939e7cafa7b560904b3839eaeabb3adafca7e.tar.bz2 gentoo-6ab939e7cafa7b560904b3839eaeabb3adafca7e.zip |
media-libs/libgpod: fix build for clang16, fix other bugs
- rm /tmp only when USE=udev
- call udev_reload when USE=udev
- fix implicit int
Closes: https://bugs.gentoo.org/822144
Closes: https://bugs.gentoo.org/847415
Closes: https://bugs.gentoo.org/885349
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/28640
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libgpod/files')
-rw-r--r-- | media-libs/libgpod/files/libgpod-0.8.3-implicit-int.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/libgpod/files/libgpod-0.8.3-implicit-int.patch b/media-libs/libgpod/files/libgpod-0.8.3-implicit-int.patch new file mode 100644 index 000000000000..91219dd64a4f --- /dev/null +++ b/media-libs/libgpod/files/libgpod-0.8.3-implicit-int.patch @@ -0,0 +1,19 @@ +Clang16 will not allow implicit integers by default. + +Bug: https://bugs.gentoo.org/885349 +Patch has been sent upstream here: https://sourceforge.net/p/gtkpod/patches/47/ + +Pascal Jäger <pascal.jaeger@leimstift.de> (2022-12-11) + +--- a/tools/generic-callout.c ++++ b/tools/generic-callout.c +@@ -663,8 +663,7 @@ static gboolean write_sysinfo_extended (const char *mountpoint, + return success; + } + +- +-static char *get_info_from_usb (usb_bus_number, usb_device_number) ++static char *get_info_from_usb (guint usb_bus_number,guint usb_device_number) + { + #ifdef HAVE_LIBUSB + return read_sysinfo_extended_from_usb (usb_bus_number, |