[MacPorts] #57535: opensc @0.19.0_1 build fails with Xcode 10

MacPorts noreply at macports.org
Wed Nov 7 12:37:41 UTC 2018


#57535: opensc @0.19.0_1 build fails with Xcode 10
---------------------+------------------------
 Reporter:  tgyurci  |      Owner:  lbschenkel
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  opensc
---------------------+------------------------
 Due to changes in pcsclite.h, opensc @0.19.0_1 fails to build with Xcode
 10:

 {{{
 ...
   CC       libopensc_la-card-cardos.lo
 In file included from reader-pcsc.c:41:
 ./internal-winscard.h:146:9: error: 'PCSC_API' macro redefined [-Werror
 ,-Wmacro-redefined]
 #define PCSC_API
         ^
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/PCSC.framework/Headers/pcsclite.h:51:9:
 note: previous definition is here
 #define PCSC_API extern __attribute__((visibility ("default")))
         ^
 1 error generated.
 ...
 }}}

 Upstream has already fixed this issue:

 https://github.com/OpenSC/OpenSC/issues/1485 [[br]]
 https://github.com/OpenSC/OpenSC/commit/c3bef7d5278c695f3778a629a720bdd8c3c42ce5

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


More information about the macports-tickets mailing list