[MacPorts] #30017: libiconv, patch-c99.diff, wrong -p argument when patching

MacPorts noreply at macports.org
Sun Jul 3 19:56:07 PDT 2011


#30017: libiconv, patch-c99.diff, wrong -p argument when patching
-------------------------------+--------------------------------------------
 Reporter:  preining@…         |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:                     |        Port:  libiconv                             
-------------------------------+--------------------------------------------
 Building libiconv fails because the patch patch-c99.diff is applied with
 -p1 but should be -p0. From the build log error:

 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1"
 && /usr/bin/patch -p1'[[BR]]
 :info:patch can't find file to patch at input line 3[[BR]]
 :info:patch Perhaps you used the wrong -p or --strip option?[[BR]]

 And actually, looking into the patch I see the header:[[BR]]
 --- lib/iconv.c.orig    2011-07-03 10:09:20.000000000 -0700[[BR]]
 +++ lib/iconv.c 2011-07-03 10:11:24.000000000 -0700

 Norbert

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


More information about the macports-tickets mailing list