17 lines
751 B
Plaintext
17 lines
751 B
Plaintext
$OpenBSD: patch-kipi-plugins_kameraklient_gpiface_cpp,v 1.1 2013/01/19 11:27:01 zhuk Exp $
|
|
Fix compilation with GPhoto 2.5. Based on ideas from this patch:
|
|
http://bugsfiles.kde.org/attachment.cgi?id=73176
|
|
--- kipi-plugins/kameraklient/gpiface.cpp.orig Sat Jan 19 00:42:43 2013
|
|
+++ kipi-plugins/kameraklient/gpiface.cpp Sat Jan 19 00:43:20 2013
|
|
@@ -114,7 +114,9 @@ void GPIface::getSupportedPorts(QStringList& plist) {
|
|
int numPorts = gp_port_info_list_count( list );
|
|
for (int i = 0; i < numPorts; i++) {
|
|
gp_port_info_list_get_info( list, i, &info );
|
|
- plist.append( info.path );
|
|
+ char *path;
|
|
+ gp_port_info_get_name ( info, &path );
|
|
+ plist.append( path );
|
|
}
|
|
gp_port_info_list_free( list );
|
|
}
|