From 39944c0d6540f07423a42cc69426898800764bfc Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 5 Mar 2003 05:44:39 +0000 Subject: Fix a hang on exit on -CURRENT. Approved by: maintainer timeout --- graphics/gthumb2/Makefile | 1 + graphics/gthumb2/files/patch-libgthumb_image-loader.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 graphics/gthumb2/files/patch-libgthumb_image-loader.c (limited to 'graphics') diff --git a/graphics/gthumb2/Makefile b/graphics/gthumb2/Makefile index 1a40c4f38e44..f4032abddf99 100644 --- a/graphics/gthumb2/Makefile +++ b/graphics/gthumb2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gthumb2 PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.1 diff --git a/graphics/gthumb2/files/patch-libgthumb_image-loader.c b/graphics/gthumb2/files/patch-libgthumb_image-loader.c new file mode 100644 index 000000000000..461a0048fa61 --- /dev/null +++ b/graphics/gthumb2/files/patch-libgthumb_image-loader.c @@ -0,0 +1,14 @@ +--- libgthumb/image-loader.c.orig Mon Mar 3 15:45:30 2003 ++++ libgthumb/image-loader.c Mon Mar 3 15:45:32 2003 +@@ -534,8 +534,10 @@ + image_loader_sync_pixbuf (il); + + priv->done_func = NULL; +- if (done_func != NULL) ++ if (done_func != NULL) { + (*done_func) (priv->done_func_data); ++ return; ++ } + + if (! priv->emit_signal) + return; -- cgit