Opened 13 years ago
Closed 13 years ago
#30017 closed defect (duplicate)
libiconv, patch-c99.diff, wrong -p argument when patching
Reported by: | preining@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | preining@… | |
Port: | libiconv |
Description
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'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
And actually, looking into the patch I see the header:
--- lib/iconv.c.orig 2011-07-03 10:09:20.000000000 -0700
+++ lib/iconv.c 2011-07-03 10:11:24.000000000 -0700
Norbert
Change History (2)
comment:1 Changed 13 years ago by preining@…
Cc: | preining@… added |
---|
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!