[MacPorts] #41832: Can't build FileZilla

MacPorts noreply at macports.org
Mon Dec 16 16:26:41 PST 2013


#41832: Can't build FileZilla
--------------------------------+-----------------------
  Reporter:  michael_hodgins@…  |      Owner:  rudloff@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.1
Resolution:                     |   Keywords:
      Port:  filezilla          |
--------------------------------+-----------------------

Comment (by mojca@…):

 The error is
 {{{
 wxdbusconnection.cpp:69:69: error: use of undeclared identifier
 'pthread_self'
         bool CalledFromThread() const { return !pthread_equal(m_parent_id,
 pthread_self()); }
 ^
 wxdbusconnection.cpp:123:16: error: use of undeclared identifier
 'pthread_self'
         m_parent_id = pthread_self();
                       ^
 2 errors generated.
 }}}
 Man page is here and I don't see any reference mentioning the command
 being removed in 10.9:
 https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/pthread_self.3.html

 Does it help if you try
 {{{
 sudo port clean filezilla
 sudo port patch filezilla
 cd $(port work filezilla)
 # then edit filezilla-3.7.3/src/dbus/wxdbusconnection.cpp
 # add: #include <pthread.h>
 sudo port -v build filezilla
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41832#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list