forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnumake: Unconditionally fix build against glibc-2.27
- Loading branch information
Showing
6 changed files
with
35 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
pkgs/development/tools/build-managers/gnumake/4.2/glibc-2.27-glob.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
diff -Naur glob/glob.c glob/glob.c | ||
--- glob/glob.c 2013-10-20 13:14:38.000000000 -0400 | ||
+++ glob/glob.c 2018-03-16 14:32:38.483496170 -0400 | ||
@@ -208,28 +208,9 @@ | ||
#endif /* __GNU_LIBRARY__ || __DJGPP__ */ | ||
|
||
|
||
-#if !defined __alloca && !defined __GNU_LIBRARY__ | ||
- | ||
-# ifdef __GNUC__ | ||
-# undef alloca | ||
-# define alloca(n) __builtin_alloca (n) | ||
-# else /* Not GCC. */ | ||
-# ifdef HAVE_ALLOCA_H | ||
# include <alloca.h> | ||
-# else /* Not HAVE_ALLOCA_H. */ | ||
-# ifndef _AIX | ||
-# ifdef WINDOWS32 | ||
-# include <malloc.h> | ||
-# else | ||
-extern char *alloca (); | ||
-# endif /* WINDOWS32 */ | ||
-# endif /* Not _AIX. */ | ||
-# endif /* sparc or HAVE_ALLOCA_H. */ | ||
-# endif /* GCC. */ | ||
- | ||
# define __alloca alloca | ||
|
||
-#endif | ||
|
||
#ifndef __GNU_LIBRARY__ | ||
# define __stat stat |
24 changes: 0 additions & 24 deletions
24
pkgs/development/tools/build-managers/gnumake/4.2/glibc-2.27.patch
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
pkgs/development/tools/build-managers/gnumake/4.2/head.nix
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
pkgs/development/tools/build-managers/gnumake/4.2/impure-dirs-head.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters