# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
# Please keep the glib2 and glib2-devel ports as similar as possible.
checksums rmd160 7951a41129225b9d38d7df72069f73560a9e86a0 \
sha256 97d6a9d926b6aa3dfaadad3077cfb43eec74432ab455dff14250c769d526d7d6 \
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {ryandesign @ryandesign} openmaintainer
homepage https://wiki.gnome.org/Projects/GLib
distname ${my_name}-${version}
description Library with data structure functions and other constructs
long_description Glib is a library which includes support routines \
for C, such as lists, trees, hashes, memory \
allocation, and many other things.
master_sites gnome:sources/${my_name}/${branch}/
patchfiles libintl.patch \
patch-glib-gmain.c.diff \
patch-glib_gunicollate.c.diff \
patch-gio_xdgmime_xdgmime.c.diff \
patch-gio_gdbusprivate.c.diff \
patch-get-launchd-dbus-session-address.diff \
patch-gmodule-gmodule-dl.c.diff \
patch-configure-switch-for-gappinfo-impl.diff \
depends_build port:autoconf \
depends_lib port:gettext \
if {[vercmp ${macosx_deployment_target} 10.9] < 0} {
# GLib-CRITICAL **: attempting to free a locked GVariant instance. This should never happen.
compiler.blacklist-append {clang < 318}
# gcocoanotificationbackend.c:115:52: error: array subscript is not an integer
compiler.blacklist-append {clang < 600}