[MacPorts] #44469: libical build improvement

MacPorts noreply at macports.org
Sat Nov 14 12:03:21 PST 2015


#44469: libical build improvement
--------------------------+----------------------
  Reporter:  rjvbertin@…  |      Owner:  mk@…
      Type:  enhancement  |     Status:  reopened
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  libical      |
--------------------------+----------------------

Comment (by rjvbertin@…):

 I don't understand, it builds perfectly for me (and I checked with the
 Portfile from svn)

 Moreover, the error you cite doesn't seem to correspond to the 1.0.1
 source:

 {{{
   38
   39 #if defined(HAVE_PTHREAD)
   40 #include <pthread.h>
   41 #if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)
   42 // It seems the same thread can attempt to lock builtin_mutex
 multiple times
   43 // (at least when using builtin tzdata), so make it builtin_mutex
 recursive:
   44 static pthread_mutex_t builtin_mutex =
 PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
   45 #else
   46 static pthread_mutex_t builtin_mutex = PTHREAD_MUTEX_INITIALIZER;
   47 #endif
   48 #endif
   49
   50 #if defined(_WIN32)
   51 #if !defined(_WIN32_WCE)
   52 #include <mbstring.h>
   53 #endif
   54 #include <windows.h>
   55 #endif
   56
 }}}

 Are you sure you did a port clean and everything, and were using the
 correct source directory?

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


More information about the macports-tickets mailing list