mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Add a patch from vendor that fixes a crash with TreeView widgets and
bump PORTREVISION. Approved by: obraun
This commit is contained in:
parent
bdde63d048
commit
35876007ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171474
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gtk2hs
|
||||
PORTVERSION= 0.9.10
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-toolkits haskell
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- glib/System/Glib/GValue.chs.orig 2005-04-18 22:04:08.000000000 -0400
|
||||
+++ glib/System/Glib/GValue.chs 2006-03-05 14:53:20.000000000 -0400
|
||||
@@ -68,7 +68,7 @@ valueGetType (GValue gvPtr) = {# get GVa
|
||||
--
|
||||
allocaGValue :: (GValue -> IO b) -> IO b
|
||||
allocaGValue body =
|
||||
- allocaBytes {# sizeof GValue #} $ \gvPtr -> do
|
||||
+ allocaBytes ({# sizeof GType #}+ 2* {# sizeof guint64 #}) $ \gvPtr -> do
|
||||
-- The g_type field of the value must be zero or g_value_init will fail.
|
||||
{# set GValue->g_type #} gvPtr (0 :: GType)
|
||||
result <- body (GValue gvPtr)
|
Loading…
Reference in New Issue
Block a user