[MacPorts] #69517: npth @1.7 does not build on PPC Tiger, Mac OS X 10.4.11, because patching fails

MacPorts noreply at macports.org
Tue Mar 26 09:41:01 UTC 2024


#69517: npth @1.7 does not build on PPC Tiger, Mac OS X 10.4.11, because patching
fails
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:  tiger ppc
      Port:  npth       |
------------------------+-----------------------

Comment (by ballapete):

 NIIBE Yutaka created a `git patch` that solves the problem on Tiger. I
 then converted this patch into `unified format`. it's attached here. `gpg-
 agent` launches and can be killed as well. `Portfile` need to be changed
 from

 {{{
 platform darwin {
     if {${os.major} < 10 || (${os.major} == 10 && ${configure.build_arch}
 eq "ppc")} {
         post-extract {
             copy ${filespath}/darwin_compat.h ${worksrcpath}/src/
             copy ${filespath}/darwin_compat.c ${worksrcpath}/src/
         }
         patchfiles-append   use-darwin-compat.diff
         use_autoreconf      yes
         autoreconf.args     -fvi
     }
 }
 }}}

 to simple

 {{{
 platform darwin {
     if {${os.major} < 10 || (${os.major} == 10 && ${configure.build_arch}
 eq "ppc")} {
         patchfiles-append   npth-unnamed-semaphores-on-tiger-and-
 leopard.diff
         use_autoreconf      yes
         autoreconf.args     -fvi
     }
 }
 }}}

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


More information about the macports-tickets mailing list