diff options
author | miwi <miwi@FreeBSD.org> | 2009-10-14 21:45:30 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-10-14 21:45:30 +0800 |
commit | 79f6cb8d61fa755b624f987e8f8a373ce11cae30 (patch) | |
tree | 469ba16a787d091777ace31701171ec5a2688c3e /graphics | |
parent | 01109c5abce310b808cb4023696eceb9a7e1e5cc (diff) | |
download | freebsd-ports-gnome-79f6cb8d61fa755b624f987e8f8a373ce11cae30.tar.gz freebsd-ports-gnome-79f6cb8d61fa755b624f987e8f8a373ce11cae30.tar.zst freebsd-ports-gnome-79f6cb8d61fa755b624f987e8f8a373ce11cae30.zip |
- Update to 0.10
PR: 139521
Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pqiv/Makefile | 2 | ||||
-rw-r--r-- | graphics/pqiv/distinfo | 6 | ||||
-rw-r--r-- | graphics/pqiv/files/patch-pqiv.c | 23 |
3 files changed, 15 insertions, 16 deletions
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile index 1ad91ae320cf..e13a7166d94f 100644 --- a/graphics/pqiv/Makefile +++ b/graphics/pqiv/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pqiv -PORTVERSION= 0.9 +PORTVERSION= 0.10 CATEGORIES= graphics MASTER_SITES= http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/ EXTRACT_SUFX= .tbz diff --git a/graphics/pqiv/distinfo b/graphics/pqiv/distinfo index 1487a3acf248..e4287ed36123 100644 --- a/graphics/pqiv/distinfo +++ b/graphics/pqiv/distinfo @@ -1,3 +1,3 @@ -MD5 (pqiv-0.9.tbz) = 15bb82cf22af0d3fbd74ce9481ea503b -SHA256 (pqiv-0.9.tbz) = 21bb2bf3c5fefc5882432cbde9540e18292ed8f021afc279195639ed16a56e75 -SIZE (pqiv-0.9.tbz) = 31821 +MD5 (pqiv-0.10.tbz) = aa476483b9e50a874b8693ae19cf7d4d +SHA256 (pqiv-0.10.tbz) = 1f00846d45e13395a44483be053fc6cd1e4e9946fd2e89769956044d1369b338 +SIZE (pqiv-0.10.tbz) = 31971 diff --git a/graphics/pqiv/files/patch-pqiv.c b/graphics/pqiv/files/patch-pqiv.c index 0a40cdec8435..480611260af8 100644 --- a/graphics/pqiv/files/patch-pqiv.c +++ b/graphics/pqiv/files/patch-pqiv.c @@ -1,5 +1,5 @@ ---- pqiv.c.orig 2009-05-06 06:10:47.000000000 +0900 -+++ pqiv.c 2009-09-02 02:26:40.000000000 +0900 +--- pqiv.c.orig 2009-10-08 19:49:20.000000000 +0900 ++++ pqiv.c 2009-10-10 17:43:14.000000000 +0900 @@ -234,7 +234,7 @@ }}} */ @@ -9,7 +9,7 @@ "\n"); if(claim != 0) { g_print("I don't understand the meaning of %c\n\n", claim); -@@ -272,7 +272,7 @@ +@@ -273,7 +273,7 @@ #ifndef NO_COMMANDS " -<n> s Set command number n (1-9) to s \n" " See manpage for advanced commands (starting with > or |) \n" @@ -18,7 +18,7 @@ #endif "\n" -@@ -296,7 +296,7 @@ +@@ -297,7 +297,7 @@ " v Vertical flip \n" " i Show/hide info box \n" " s Slideshow toggle \n" @@ -27,7 +27,7 @@ #ifndef NO_COMMANDS " <n> Run command n (1-3) \n" #endif -@@ -1824,12 +1824,12 @@ +@@ -1737,12 +1737,12 @@ } break; /* }}} */ @@ -43,10 +43,10 @@ + sprintf(buf, "./." BINARY_NAME "-select/%s", buf2); if(link(currentFile->fileName, buf) != 0) { /* Failed to link image, try copying it */ - if(copyFile(currentFile->fileName, buf) != 0) { -@@ -2253,14 +2253,14 @@ - optionCommands[i] = (char*)g_malloc(strlen(optarg) + 1); - strcpy(optionCommands[i], optarg); + if(copyFile(currentFile->fileName, buf) != TRUE) { +@@ -2214,13 +2214,13 @@ + } + optionCommands[i] = g_strdup((gchar*)optarg); break; - /* OPTION: -q: Use the qiv-command script for commands */ + /* OPTION: -q: Use the BINARY_NAME-command script for commands */ @@ -55,9 +55,8 @@ if(optionCommands[i] != NULL) { g_free(optionCommands[i]); } - optionCommands[i] = (char*)g_malloc(14); -- memcpy(optionCommands[i], "qiv-command 0", 14); -+ memcpy(optionCommands[i], BINARY_NAME "-command 0", 14); +- optionCommands[i] = g_strdup("qiv-command 0"); ++ optionCommands[i] = g_strdup(BINARY_NAME "-command 0"); optionCommands[i][12] += i; } break; |