[MacPorts] #61024: libgphoto2_port 0.12.0: Compilation error : gphoto2-port-info-list.c:253:38

MacPorts noreply at macports.org
Wed Aug 19 12:33:36 UTC 2020


#61024: libgphoto2_port 0.12.0: Compilation error : gphoto2-port-info-list.c:253:38
---------------------+------------------------
 Reporter:  GreyCon  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.3
 Keywords:           |       Port:  libgphoto2
---------------------+------------------------
 {{{
 :debug:sysinfo macOS 10.15 (darwin/19.6.0) arch i386
 :debug:sysinfo MacPorts 2.6.3
 :debug:sysinfo Xcode 11.6
 :debug:sysinfo SDK 10.15
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.7

 :info:build gphoto2-port-info-list.c:253:38: error: implicitly declaring
 library function 'strdup' with type 'char *(const char *)' [-Werror
 ,-Wimplicit-function-declaration]
 :info:build                         list->info[j]->library_filename =
 strdup (filename);
 :info:build                                                           ^
 :info:build gphoto2-port-info-list.c:253:38: note: include the header
 <string.h> or explicitly provide a declaration for 'strdup'
 :info:build 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61024>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list