FreeBSD Bugzilla – Attachment 100258 Details for
Bug 139521
Update port: graphics/pqiv to 0.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.33 KB, created by
tkato432
on 2009-10-11 19:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2009-10-11 19:10:03 UTC
Size:
3.33 KB
patch
obsolete
>diff -urN /usr/ports/graphics/pqiv/Makefile graphics/pqiv/Makefile >--- /usr/ports/graphics/pqiv/Makefile 2009-09-17 02:23:20.000000000 +0900 >+++ graphics/pqiv/Makefile 2009-10-10 17:38:03.000000000 +0900 >@@ -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 -urN /usr/ports/graphics/pqiv/distinfo graphics/pqiv/distinfo >--- /usr/ports/graphics/pqiv/distinfo 2009-09-17 02:23:20.000000000 +0900 >+++ graphics/pqiv/distinfo 2009-10-10 17:44:32.000000000 +0900 >@@ -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 -urN /usr/ports/graphics/pqiv/files/patch-pqiv.c graphics/pqiv/files/patch-pqiv.c >--- /usr/ports/graphics/pqiv/files/patch-pqiv.c 2009-09-16 23:27:10.000000000 +0900 >+++ graphics/pqiv/files/patch-pqiv.c 2009-10-10 17:43:23.000000000 +0900 >@@ -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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139521
: 100258