pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44659: bump version of ccache to 3.1.4



>Number:         44659
>Category:       pkg
>Synopsis:       bump version of ccache to 3.1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 01 19:15:00 +0000 2011
>Originator:     Marko Schuetz Schmuck
>Release:        NetBSD/amd64 5.0.2
>Organization:
individual
>Environment:
NetBSD prpad.dyndns.org 5.0.2 NetBSD 5.0.2 (PRPAD) #0: Mon May  3 15:16:09 AST 
2010  root%prpad.dyndns.org@localhost:/usr/obj/sys/arch/amd64/compile/PRPAD 
amd64

>Description:
The updated version of ccache makes pkgsrc-specific enhancements unnecessary.
>How-To-Repeat:

>Fix:
remove patches/patch-a[ab]
replace patches/patch-ac with (only the line numbers for the first hunk have 
changed):

$NetBSD$

--- execute.c.orig      2011-01-09 15:57:14.000000000 -0400
+++ execute.c
@@ -165,7 +165,7 @@ int
 execute(char **argv, const char *path_stdout, const char *path_stderr)
 {
        pid_t pid;
-       int status;
+       int status, n;
 
        cc_log_argv("Executing ", argv);
 
@@ -191,6 +191,10 @@ execute(char **argv, const char *path_st
                dup2(fd, 2);
                close(fd);
 
+               cc_log("%s", argv[0]);
+               for (n = 1; argv[n]; n++)
+                 cc_log(" %s", argv[n]);
+               cc_log("\n");
                exit(execv(argv[0], argv));
        }



Home | Main Index | Thread Index | Old Index