* [gentoo-commits] gentoo-x86 commit in media-libs/libdc1394/files: libdc1394-usbinit.patch
@ 2011-09-06 20:51 Andreas HAttel (dilfridge)
0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2011-09-06 20:51 UTC (permalink / raw
To: gentoo-commits
dilfridge 11/09/06 20:51:31
Added: libdc1394-usbinit.patch
Log:
Non-maintainer fix: add upstream patch to avoid usb_init symbol conflict, bug 380287
(Portage version: 2.1.10.13/cvs/Linux x86_64)
Revision Changes Path
1.1 media-libs/libdc1394/files/libdc1394-usbinit.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdc1394/files/libdc1394-usbinit.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdc1394/files/libdc1394-usbinit.patch?rev=1.1&content-type=text/plain
Index: libdc1394-usbinit.patch
===================================================================
diff --git a/libdc1394/dc1394/control.c b/libdc1394/dc1394/control.c
index c62e0e2..f250f6a 100644
--- a/libdc1394/dc1394/control.c
+++ b/libdc1394/dc1394/control.c
@@ -1955,7 +1955,7 @@ dc1394_new (void)
windows_init (d);
#endif
#ifdef HAVE_LIBUSB
- usb_init (d);
+ dc1394_usb_init (d);
#endif
int i;
diff --git a/libdc1394/dc1394/internal.h b/libdc1394/dc1394/internal.h
index b4d295a..c59e5d3 100644
--- a/libdc1394/dc1394/internal.h
+++ b/libdc1394/dc1394/internal.h
@@ -74,7 +74,7 @@ void juju_init(dc1394_t *d);
void linux_init(dc1394_t *d);
void macosx_init(dc1394_t *d);
void windows_init(dc1394_t *d);
-void usb_init(dc1394_t *d);
+void dc1394_usb_init(dc1394_t *d);
void register_platform (dc1394_t * d, const platform_dispatch_t * dispatch,
const char * name);
diff --git a/libdc1394/dc1394/usb/control.c b/libdc1394/dc1394/usb/control.c
index 6509452..19a21a6 100644
--- a/libdc1394/dc1394/usb/control.c
+++ b/libdc1394/dc1394/usb/control.c
@@ -378,7 +378,7 @@ usb_dispatch = {
};
void
-usb_init(dc1394_t * d)
+dc1394_usb_init(dc1394_t * d)
{
register_platform (d, &usb_dispatch, "usb");
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-06 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06 20:51 [gentoo-commits] gentoo-x86 commit in media-libs/libdc1394/files: libdc1394-usbinit.patch Andreas HAttel (dilfridge)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox