[MacPorts] #61982: ruby @1.8.7-p374_12 build failure

MacPorts noreply at macports.org
Tue Jan 5 12:20:51 UTC 2021


#61982: ruby @1.8.7-p374_12 build failure
-------------------------+----------------------
  Reporter:  jrquinello  |      Owner:  kimuraw
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  ruby        |
-------------------------+----------------------
Changes (by kimuraw):

 * status:  assigned => accepted


Comment:

 the following change fixes thisl problem.
 I confirmed port:ruby with the patch on macOS 10.12 passed ruby's test-
 all.

 I'll test the patch on macOS 10.15/11.x and merge into macports at next
 weekend.

 {{{
 --- main.c.orig 2021-01-02 11:01:46.000000000 +0900
 +++ main.c      2021-01-05 21:08:20.000000000 +0900
 @@ -27,7 +27,7 @@
  /* to link startup code with ObjC support */
  #if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
  #include <objc/message.h>
 -static void objcdummyfunction( void ) { objc_msgSend(); }
 +static void objcdummyfunction( void ) { objc_msgSend(NULL, NULL); }
  #endif

  int
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61982#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list