#15033: make openssl universal_archs-aware -------------------------------+-------------------------------------------- Reporter: jmr@macports.org | Owner: mww@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: Resolution: | Keywords: haspatch -------------------------------+-------------------------------------------- Comment (by ryandesign@macports.org): Improvements in my second patch (w.r.t. my first patch): * uses `--no-backup-if-mismatch` on the patch command, because jmr's new patch does (why?) * borrows the `${first_arch}` code from the cairo port * saves a copy during the post-patch phase * saves a diff during the diff phase * diffs correctly even if the user did not request the i386 arch Problems remaining: the patch fails when I request all four architectures? {{{ Error: Target org.macports.destroot returned: shell command "cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_openssl/work /pre-dest/ppc64/opt/local && patch --no-backup-if-mismatch -p0 < /Users/rschmidt/macports/dports/devel/openssl/files/patch- opensslconf.h-64.diff" returned error 1 Command output: patching file include/openssl/opensslconf.h Hunk #1 FAILED at 134. Hunk #3 FAILED at 180. 2 out of 3 hunks FAILED -- saving rejects to file include/openssl/opensslconf.h.rej }}} -- Ticket URL: <http://trac.macports.org/ticket/15033#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS