tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gnumake380: Remove
This hasn't been used in a long time.
Eelco Dolstra
8 years ago
969d7b04
29f91c10
-144
3 changed files
expand all
collapse all
unified
split
pkgs
development
tools
build-managers
gnumake
3.80
default.nix
log.patch
top-level
all-packages.nix
-18
pkgs/development/tools/build-managers/gnumake/3.80/default.nix
···
1
1
-
{stdenv, fetchurl}:
2
2
-
3
3
-
stdenv.mkDerivation {
4
4
-
name = "gnumake-3.80";
5
5
-
6
6
-
src = fetchurl {
7
7
-
url = http://tarballs.nixos.org/make-3.80.tar.bz2;
8
8
-
sha256 = "06rgz6npynr8whmf7rxgkyvcz0clf3ggwf4cyhj3fcscn3kkk6x9";
9
9
-
};
10
10
-
11
11
-
patches = [./log.patch];
12
12
-
13
13
-
hardeningDisable = [ "format" ];
14
14
-
15
15
-
meta = {
16
16
-
platforms = stdenv.lib.platforms.unix;
17
17
-
};
18
18
-
}
-125
pkgs/development/tools/build-managers/gnumake/3.80/log.patch
···
1
1
-
diff -rc make-3.80-orig/job.c make-3.80/job.c
2
2
-
*** make-3.80-orig/job.c 2002-08-10 03:27:17.000000000 +0200
3
3
-
--- make-3.80/job.c 2004-04-02 17:38:04.000000000 +0200
4
4
-
***************
5
5
-
*** 987,993 ****
6
6
-
appear. */
7
7
-
8
8
-
message (0, (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
9
9
-
! ? "%s" : (char *) 0, p);
10
10
-
11
11
-
/* Tell update_goal_chain that a command has been started on behalf of
12
12
-
this target. It is important that this happens here and not in
13
13
-
--- 987,993 ----
14
14
-
appear. */
15
15
-
16
16
-
message (0, (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
17
17
-
! ? "\e[3s\e[a%s\e[b" : (char *) 0, p);
18
18
-
19
19
-
/* Tell update_goal_chain that a command has been started on behalf of
20
20
-
this target. It is important that this happens here and not in
21
21
-
diff -rc make-3.80-orig/main.c make-3.80/main.c
22
22
-
*** make-3.80-orig/main.c 2002-08-10 03:27:17.000000000 +0200
23
23
-
--- make-3.80/main.c 2004-04-02 17:42:50.000000000 +0200
24
24
-
***************
25
25
-
*** 254,259 ****
26
26
-
--- 254,263 ----
27
27
-
they appear out of date or not. */
28
28
-
29
29
-
int always_make_flag = 0;
30
30
-
+
31
31
-
+ int logNestingStdout = 0;
32
32
-
+ int logNestingStderr = 0;
33
33
-
+
34
34
-
35
35
-
/* The usage output. We write it this way to make life easier for the
36
36
-
translators, especially those trying to translate to right-to-left
37
37
-
***************
38
38
-
*** 827,832 ****
39
39
-
--- 831,845 ----
40
40
-
}
41
41
-
42
42
-
43
43
-
+ static void closeNesting()
44
44
-
+ {
45
45
-
+ while (logNestingStdout--)
46
46
-
+ printf("\e[q");
47
47
-
+ while (logNestingStderr--)
48
48
-
+ fprintf(stderr, "\e[q");
49
49
-
+ }
50
50
-
+
51
51
-
+
52
52
-
#ifndef _AMIGA
53
53
-
int
54
54
-
main (argc, argv, envp)
55
55
-
***************
56
56
-
*** 854,859 ****
57
57
-
--- 867,874 ----
58
58
-
no_default_sh_exe = 1;
59
59
-
#endif
60
60
-
61
61
-
+ atexit(closeNesting);
62
62
-
+
63
63
-
default_goal_file = 0;
64
64
-
reading_file = 0;
65
65
-
66
66
-
***************
67
67
-
*** 2782,2787 ****
68
68
-
--- 2797,2808 ----
69
69
-
70
70
-
/* Use entire sentences to give the translators a fighting chance. */
71
71
-
72
72
-
+ if (entering)
73
73
-
+ {
74
74
-
+ printf("\e[p");
75
75
-
+ logNestingStdout++;
76
76
-
+ }
77
77
-
+
78
78
-
if (makelevel == 0)
79
79
-
if (starting_directory == 0)
80
80
-
if (entering)
81
81
-
***************
82
82
-
*** 2810,2813 ****
83
83
-
--- 2831,2840 ----
84
84
-
else
85
85
-
printf (_("%s[%u]: Leaving directory `%s'\n"),
86
86
-
program, makelevel, starting_directory);
87
87
-
+
88
88
-
+ if (!entering)
89
89
-
+ {
90
90
-
+ printf("\e[q");
91
91
-
+ logNestingStdout--;
92
92
-
+ }
93
93
-
}
94
94
-
diff -rc make-3.80-orig/make.h make-3.80/make.h
95
95
-
*** make-3.80-orig/make.h 2002-09-11 18:55:44.000000000 +0200
96
96
-
--- make-3.80/make.h 2004-04-02 17:42:15.000000000 +0200
97
97
-
***************
98
98
-
*** 559,562 ****
99
99
-
--- 559,567 ----
100
100
-
extern int atomic_stat PARAMS ((const char *file, struct stat *buf));
101
101
-
extern struct dirent *atomic_readdir PARAMS ((DIR *dir));
102
102
-
103
103
-
+
104
104
-
#endif
105
105
-
+
106
106
-
+
107
107
-
+ extern int logNestingStdout;
108
108
-
+ extern int logNestingStderr;
109
109
-
diff -rc make-3.80-orig/remake.c make-3.80/remake.c
110
110
-
*** make-3.80-orig/remake.c 2002-08-08 02:11:19.000000000 +0200
111
111
-
--- make-3.80/remake.c 2004-04-04 23:10:19.000000000 +0200
112
112
-
***************
113
113
-
*** 1049,1055 ****
114
114
-
--- 1049,1059 ----
115
115
-
/* The normal case: start some commands. */
116
116
-
if (!touch_flag || file->cmds->any_recurse)
117
117
-
{
118
118
-
+ fprintf(stderr, "\e[pbuilding %s\n", file->name);
119
119
-
+ logNestingStderr++;
120
120
-
execute_file_commands (file);
121
121
-
+ fprintf(stderr, "\e[q");
122
122
-
+ logNestingStderr--;
123
123
-
return;
124
124
-
}
125
125
-
-1
pkgs/top-level/all-packages.nix
···
6891
6891
6892
6892
gnum4 = callPackage ../development/tools/misc/gnum4 { };
6893
6893
6894
6894
-
gnumake380 = callPackage ../development/tools/build-managers/gnumake/3.80 { };
6895
6894
gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { };
6896
6895
gnumake3 = gnumake382;
6897
6896
gnumake40 = callPackage ../development/tools/build-managers/gnumake/4.0 { };