#24422: mono fails to build (bad patch?) ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: mono-2.6.3 | Port: mono ----------------------------------------+----------------------------------- {{{ sudo port install -d mono ---> Computing dependencies for mono ---> Applying patches to mono Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.6.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mono/files /patch-configure.diff'" returned error 1 Command output: patching file configure Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file configure.rej Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. }}} Contents of configure.rej: {{{ 1 ***************$ 2 *** 18146,18154 ****$ 3 main ()$ 4 {$ 5 $ 6 - void main () {$ 7 #if defined(ZLIB_VERNUM) && (ZLIB_VERNUM >= 0x1230)$ 8 - }$ 9 #else$ 10 #error No good zlib found$ 11 #endif$ 12 --- 18146,18152 ----$ 13 main ()$ 14 {$ 15 $ 16 #if defined(ZLIB_VERNUM) && (ZLIB_VERNUM >= 0x1230)$ 17 #else$ 18 #error No good zlib found$ 19 #endif$ }}} -- Ticket URL: <http://trac.macports.org/ticket/24422> MacPorts <http://www.macports.org/> Ports system for Mac OS