glib 2.34.2

- Upgrade to 2.34.2.
- Note one of the patches is resolved and the new removal version.
- Add a new patch to fix an undeclared `avail_len` in `gio/gsocket.c`
- Note in comments the new bug report url.

Closes Homebrew/homebrew#16154.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
nibbles 2bits 2012-11-19 17:39:06 -08:00 committed by Jack Nagel
parent b676087c5f
commit 201b0f854e
1 changed files with 6 additions and 4 deletions

View File

@ -2,8 +2,8 @@ require 'formula'
class Glib < Formula class Glib < Formula
homepage 'http://developer.gnome.org/glib/' homepage 'http://developer.gnome.org/glib/'
url 'http://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-2.34.1.tar.xz' url 'http://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-2.34.2.tar.xz'
sha256 '6e84dc9d84b104725b34d255421ed7ac3629e49f437d37addde5ce3891c2e2f1' sha256 '2d99a8309cdd0c584bd5386a49265fb19ac64575fe108fd901d6f26c8d73c708'
option :universal option :universal
option 'test', 'Build a debug build and run tests. NOTE: Not all tests succeed yet' option 'test', 'Build a debug build and run tests. NOTE: Not all tests succeed yet'
@ -19,11 +19,13 @@ class Glib < Formula
end end
def patches def patches
# https://bugzilla.gnome.org/show_bug.cgi?id=673047 Still open at 2.34.1 # https://bugzilla.gnome.org/show_bug.cgi?id=673047 Merged. Remove >= 2.34.3
# https://bugzilla.gnome.org/show_bug.cgi?id=673135 Resolved as wontfix. # https://bugzilla.gnome.org/show_bug.cgi?id=673135 Resolved as wontfix.
# https://bugzilla.gnome.org/show_bug.cgi?id=688693 Unresolved at 2.34.2.
p = { :p1 => %W[ p = { :p1 => %W[
https://raw.github.com/gist/3924875/19cdaebdff7dcc94ccd9b3747d43a09318f0b846/glib-gunicollate.patch https://raw.github.com/gist/3924875/19cdaebdff7dcc94ccd9b3747d43a09318f0b846/glib-gunicollate.patch
https://raw.github.com/gist/3924879/f86903e0aea1458448507305d01b06a7d878c041/glib-configurable-paths.patch https://raw.github.com/gist/3924879/f86903e0aea1458448507305d01b06a7d878c041/glib-configurable-paths.patch
https://raw.github.com/gist/4115342/6f60fde65391e5c7508452ae29a7c15437168801/gsocket.c.diff
]} ]}
p[:p0] = %W[ p[:p0] = %W[
https://trac.macports.org/export/95596/trunk/dports/devel/glib2/files/patch-configure.diff https://trac.macports.org/export/95596/trunk/dports/devel/glib2/files/patch-configure.diff