diff options
-rw-r--r-- | graphics/xzgv/distinfo | 4 | ||||
-rw-r--r-- | graphics/xzgv/patches/patch-ad | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/graphics/xzgv/distinfo b/graphics/xzgv/distinfo index 9671c9a9e36..33feb5bc0db 100644 --- a/graphics/xzgv/distinfo +++ b/graphics/xzgv/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.12 2010/09/20 01:16:17 jakllsch Exp $ +$NetBSD: distinfo,v 1.13 2011/09/22 21:20:42 shattered Exp $ SHA1 (xzgv-0.9.1.tar.gz) = f88df5cc709996806313db73a41d607b3c865827 RMD160 (xzgv-0.9.1.tar.gz) = ed388a4def87bf4b0c063e8f2bb61568f8ab68c0 Size (xzgv-0.9.1.tar.gz) = 163419 bytes SHA1 (patch-aa) = fa502e0fc4fc94cfc88c4aa41505ac7563d982a6 -SHA1 (patch-ad) = 378e0c2e19064c2c276c6e0a3e89bdcbcc2c96c5 +SHA1 (patch-ad) = b21348c2b40eeb510a1526c6228a97343373f4d5 diff --git a/graphics/xzgv/patches/patch-ad b/graphics/xzgv/patches/patch-ad index b61f9aa862e..1cdc4d54db0 100644 --- a/graphics/xzgv/patches/patch-ad +++ b/graphics/xzgv/patches/patch-ad @@ -1,11 +1,11 @@ -$NetBSD: patch-ad,v 1.1 2009/01/05 16:08:20 shattered Exp $ +$NetBSD: patch-ad,v 1.2 2011/09/22 21:20:42 shattered Exp $ Proposed fix for "missing preview icons" problem, from http://sourceforge.net/tracker/index.php?func=detail&aid=1814712&group_id=203093&atid=984206 --- src/main.c.orig 2007-09-09 00:36:21.000000000 +0000 +++ src/main.c -@@ -200,7 +200,7 @@ int orient_state_flip[8] ={2,3,0,1,6,7 +@@ -201,7 +201,7 @@ int orient_state_flip[8] ={2,3,0,1,6,7 /* required prototypes */ void render_pixmap(int reset_pos); void cb_nextprev_tagged_image(int next,int view); @@ -14,7 +14,7 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=1814712&group_id=203093 gint pic_win_resized(GtkWidget *widget,GdkEventConfigure *event); void cb_scaling_double(void); void cb_xscaling_double(void); -@@ -2624,7 +2624,7 @@ else +@@ -2622,7 +2622,7 @@ return(pixmap); } @@ -23,7 +23,16 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=1814712&group_id=203093 { static char buf[1024]; struct clist_data_tag *datptr; -@@ -2748,6 +2748,7 @@ for(f=0;f<IDLE_XVPIC_NUM_PER_CALL;f++) +@@ -2638,7 +2638,7 @@ idle_xvpic_called=1; + + /* don't do it if it would be a bad time */ + if(idle_xvpic_blocked) +- return; ++ return FALSE; + + /* freeze/thaw actually *cause* flickering for this, rather than + * preventing it (!), so I've not used those here. +@@ -2746,6 +2746,7 @@ for(f=0;f<IDLE_XVPIC_NUM_PER_CALL;f++) *entryp=-1; } } |