1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 0.1.7

PR:		107632
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Martin Wilke 2007-01-09 22:26:12 +00:00
parent 45bfcb37c5
commit d8e7a70be8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181915
3 changed files with 8 additions and 26 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gkrellmbgchg2
PORTVERSION= 0.1.6
PORTVERSION= 0.1.7
CATEGORIES= misc
MASTER_SITES= http://www.bender-suhl.de/stefan/comp/sources/

View File

@ -1,3 +1,3 @@
MD5 (gkrellmbgchg2-0.1.6.tar.gz) = 73dd9b20d75dfb9a46243e80b534b573
SHA256 (gkrellmbgchg2-0.1.6.tar.gz) = 1a82c8e89d75c779b99b616ac677573551b80975925f8fcc1a04f3806800f8b3
SIZE (gkrellmbgchg2-0.1.6.tar.gz) = 14031
MD5 (gkrellmbgchg2-0.1.7.tar.gz) = edeeb8960fd0005a472e3bc6ec1c9852
SHA256 (gkrellmbgchg2-0.1.7.tar.gz) = e1872d7a336a348a3ad62ac68744836d5e38fa3d5af180b95354738278e529d5
SIZE (gkrellmbgchg2-0.1.7.tar.gz) = 16743

View File

@ -1,6 +1,6 @@
--- gkrellmbgchg.c.orig Wed Apr 26 17:41:54 2006
+++ gkrellmbgchg.c Wed Apr 26 17:54:17 2006
@@ -114,7 +114,9 @@
--- gkrellmbgchg.c.orig Thu Jun 29 05:19:13 2006
+++ gkrellmbgchg.c Sat Jan 6 02:06:10 2007
@@ -117,7 +117,9 @@
{
FILE *file;
gchar *tmp;
@ -11,7 +11,7 @@
if( filename ) {
if( !strncmp( filename, "~/", MIN(2, strlen(filename)) ) )
tmp = g_strdup_printf( "%s/%s", g_get_home_dir(), filename+2 );
@@ -125,7 +127,6 @@
@@ -128,7 +130,6 @@
#if !defined(WIN32)
/* don't load if no force and not modified */
@ -19,21 +19,3 @@
if( stat( tmp, &buf ) == -1 ) {
/* something went wrong, we just don't care what for now */
GKBG_debug("stat: error on `%s'", tmp);
@@ -223,6 +224,9 @@
gint num=1;
FILE *idb_file;
struct idb_entry *idb_e;
+#if !defined(WIN32)
+ struct stat buf;
+#endif
if((idb_file = open_imagelist( bgmon.idb, force )) == NULL) return 1;
@@ -261,7 +265,6 @@
#if !defined(WIN32)
/* ignore the file if we stat returns -1 (error) and the user wants
* us to */
- struct stat buf;
if( bgmon.ignore && (stat( tmp, &buf ) == -1) ) {
GKBG_debug( "ignoring `%s'", tmp );
} else {