glib2 @2.52.2 fails to build on Mac OS X 10.6.8, Snow Leopard, because of invalid patches
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.52.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/glib2/files/remove-gcocoanotificationbackend.patch'
DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.52.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/glib2/files/remove-gcocoanotificationbackend.patch'
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
patching file gio/Makefile.in
Hunk #1 FAILED at 172.
Hunk #2 FAILED at 184.
Hunk #3 FAILED at 359.
Hunk #4 FAILED at 520.
Hunk #5 FAILED at 542.
Hunk #6 succeeded at 2394 (offset 40 lines).
Hunk #7 succeeded at 4020 (offset 63 lines).
5 out of 7 hunks FAILED -- saving rejects to file gio/Makefile.in.rej
patching file gio/giomodule.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file gio/giomodule.c.rej
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.52.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/glib2/files/remove-gcocoanotificationbackend.patch'
Exit code: 1
Error: Failed to patch glib2: command execution failed
Looks like a duplicate of 54346. Fix is noted in that other ticket.