gnumake41: Remove unused version

-133
-45
pkgs/development/tools/build-managers/gnumake/4.1/default.nix
··· 1 - { stdenv, fetchurl }: 2 - 3 - let 4 - version = "4.1"; 5 - in 6 - stdenv.mkDerivation { 7 - name = "gnumake-${version}"; 8 - 9 - src = fetchurl { 10 - url = "mirror://gnu/make/make-${version}.tar.bz2"; 11 - sha256 = "19gwwhik3wdwn0r42b7xcihkbxvjl9r2bdal8nifc3k5i4rn3iqb"; 12 - }; 13 - 14 - patchFlags = "-p0"; 15 - patches = [ 16 - # Purity: don't look for library dependencies (of the form `-lfoo') in /lib 17 - # and /usr/lib. It's a stupid feature anyway. Likewise, when searching for 18 - # included Makefiles, don't look in /usr/include and friends. 19 - ./impure-dirs.patch 20 - 21 - # Don't segfault if we can't get a tty name. 22 - ./no-tty-name.patch 23 - ]; 24 - 25 - outputs = [ "out" "doc" ]; 26 - 27 - meta = { 28 - homepage = http://www.gnu.org/software/make/; 29 - description = "A tool to control the generation of non-source files from sources"; 30 - license = stdenv.lib.licenses.gpl3Plus; 31 - 32 - longDescription = '' 33 - Make is a tool which controls the generation of executables and 34 - other non-source files of a program from the program's source files. 35 - 36 - Make gets its knowledge of how to build your program from a file 37 - called the makefile, which lists each of the non-source files and 38 - how to compute it from other files. When you write a program, you 39 - should write a makefile for it, so that it is possible to use Make 40 - to build and install the program. 41 - ''; 42 - 43 - platforms = stdenv.lib.platforms.all; 44 - }; 45 - }
-34
pkgs/development/tools/build-managers/gnumake/4.1/impure-dirs.patch
··· 1 - diff -rc read.c read.c 2 - *** read.c 2006-03-17 15:24:20.000000000 +0100 3 - --- read.c 2007-05-24 17:16:31.000000000 +0200 4 - *************** 5 - *** 99,107 **** 6 - --- 99,109 ---- 7 - #endif 8 - INCLUDEDIR, 9 - #ifndef _AMIGA 10 - + #if 0 11 - "/usr/gnu/include", 12 - "/usr/local/include", 13 - "/usr/include", 14 - + #endif 15 - #endif 16 - 0 17 - }; 18 - diff -rc reremake.c 19 - *** remake.c 2006-03-20 03:36:37.000000000 +0100 20 - --- remake.c 2007-05-24 17:06:54.000000000 +0200 21 - *************** 22 - *** 1452,1460 **** 23 - --- 1452,1462 ---- 24 - static char *dirs[] = 25 - { 26 - #ifndef _AMIGA 27 - + #if 0 28 - "/lib", 29 - "/usr/lib", 30 - #endif 31 - + #endif 32 - #if defined(WINDOWS32) && !defined(LIBDIR) 33 - /* 34 - * This is completely up to the user at product install time. Just define
-53
pkgs/development/tools/build-managers/gnumake/4.1/no-tty-name.patch
··· 1 - From 292da6f6867b75a5af7ddbb639a1feae022f438f Mon Sep 17 00:00:00 2001 2 - From: Paul Smith <psmith@gnu.org> 3 - Date: Mon, 20 Oct 2014 05:54:56 +0000 4 - Subject: * main.c (main): [SV 43434] Handle NULL returns from ttyname(). 5 - 6 - --- 7 - diff --git main.c main.c 8 - index b2d169c..0cdb8a8 100644 9 - --- main.c 10 - +++ main.c 11 - @@ -1429,13 +1429,18 @@ main (int argc, char **argv, char **envp) 12 - #ifdef HAVE_ISATTY 13 - if (isatty (fileno (stdout))) 14 - if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMOUT"))) 15 - - define_variable_cname ("MAKE_TERMOUT", TTYNAME (fileno (stdout)), 16 - - o_default, 0)->export = v_export; 17 - - 18 - + { 19 - + const char *tty = TTYNAME (fileno (stdout)); 20 - + define_variable_cname ("MAKE_TERMOUT", tty ? tty : DEFAULT_TTYNAME, 21 - + o_default, 0)->export = v_export; 22 - + } 23 - if (isatty (fileno (stderr))) 24 - if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMERR"))) 25 - - define_variable_cname ("MAKE_TERMERR", TTYNAME (fileno (stderr)), 26 - - o_default, 0)->export = v_export; 27 - + { 28 - + const char *tty = TTYNAME (fileno (stderr)); 29 - + define_variable_cname ("MAKE_TERMERR", tty ? tty : DEFAULT_TTYNAME, 30 - + o_default, 0)->export = v_export; 31 - + } 32 - #endif 33 - 34 - /* Reset in case the switches changed our minds. */ 35 - diff --git makeint.h makeint.h 36 - index 6223936..2009f41 100644 37 - --- makeint.h 38 - +++ makeint.h 39 - @@ -436,10 +436,11 @@ extern struct rlimit stack_limit; 40 - /* The number of bytes needed to represent the largest integer as a string. */ 41 - #define INTSTR_LENGTH CSTRLEN ("18446744073709551616") 42 - 43 - +#define DEFAULT_TTYNAME "true" 44 - #ifdef HAVE_TTYNAME 45 - # define TTYNAME(_f) ttyname (_f) 46 - #else 47 - -# define TTYNAME(_f) "true" 48 - +# define TTYNAME(_f) DEFAULT_TTYNAME 49 - #endif 50 - 51 - 52 - -- 53 - cgit v0.9.0.2
-1
pkgs/top-level/all-packages.nix
··· 6893 6893 6894 6894 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { }; 6895 6895 gnumake3 = gnumake382; 6896 - gnumake41 = callPackage ../development/tools/build-managers/gnumake/4.1 { }; 6897 6896 gnumake42 = callPackage ../development/tools/build-managers/gnumake/4.2 { }; 6898 6897 gnumake = gnumake42; 6899 6898