[MacPorts] #30219: pgplot: patching fails due to ".." path component

MacPorts noreply at macports.org
Sun Jul 24 09:36:29 PDT 2011


#30219: pgplot: patching fails due to ".." path component
-------------------------------+--------------------------------------------
 Reporter:  mcbentz@…          |       Owner:  mcalhoun@…           
     Type:  defect             |      Status:  new                  
 Priority:  Normal             |   Milestone:                       
Component:  ports              |     Version:  1.9.2                
 Keywords:                     |        Port:  pgplot               
-------------------------------+--------------------------------------------

Comment(by swinbank@…):

 An easy way to fix this is to use a newer version of patch, as provided by
 the gpatch port. Changing the Portfile as follows does the trick:

 {{{
 ---
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/pgplot/Portfile
 2011-07-24 18:29:26.000000000 +0200
 +++ Portfile    2011-07-24 18:28:34.000000000 +0200
 @@ -33,9 +33,10 @@
      sha1 1f1c9aa17eeec9a2fb23fd15a0e4a91dcc49ddc1 \
      rmd160 4c21cad6613772f4104c65ac3d8d9a42e3c4afe1

 +patch.cmd      gpatch
  patchfiles     patch-makemake.diff patch-drivers.list.patch patch-
 proccom.c.diff
  depends_lib    port:libpng port:zlib port:xorg-libX11
 -depends_build  bin:perl:perl5 port:pkgconfig
 +depends_build  bin:perl:perl5 port:pkgconfig port:gpatch

  # Tell the compiler not to treat backslash characters as C-style escape
 sequences.
  configure.fcflags-append  -fno-backslash
 }}}

 The pgplot patchfiles haven't changed in 2 years, though, and pgplot built
 fine for me the last time I tried, so I'm not sure why this is biting now.
 Has /usr/bin/patch been changed recently?

-- 
Ticket URL: <https://trac.macports.org/ticket/30219#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list