diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 09:02:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 09:02:03 +0000 |
commit | acf34cb86be38d3601273c231058d3fda627e618 (patch) | |
tree | 73d77f0d1f7bec82f0b43678f9aa87f0b359cd91 /x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch | |
parent | 0b0f15411ade2ffeba5d057f14bd8bc7dfdcf440 (diff) |
gentoo auto-resync : 04:12:2022 - 09:02:03
Diffstat (limited to 'x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch')
-rw-r--r-- | x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch b/x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch deleted file mode 100644 index 155200461157..000000000000 --- a/x11-misc/imake/files/imake-1.0.8-no-get-gcc.patch +++ /dev/null @@ -1,37 +0,0 @@ -If /usr/bin/cc exists then get_gcc() is always true on Linux (and many -others), but will fail in the event it's missing (-native-symlinks). - -get_gcc_version does not execute gcc and merely sets defines, so -call it without using get_gcc(). Validity of using NULL should be -verified if there's ever a new version. ---- a/imake.c -+++ b/imake.c -@@ -1341,4 +1341,5 @@ - #endif - -+#if defined CROSSCOMPILE - static boolean - get_gcc(char *cmd) -@@ -1394,5 +1395,4 @@ - } - --#ifdef CROSSCOMPILE - static void - get_gcc_incdir(FILE *inFile, char* name) -@@ -1640,12 +1640,14 @@ - # endif - { -+# if defined CROSSCOMPILE - char name[PATH_MAX]; - if (get_gcc(name)) { - get_gcc_version (inFile,name); --# if defined CROSSCOMPILE - if (sys != emx) - get_gcc_incdir(inFile,name); --# endif - } -+# else -+ get_gcc_version(inFile,NULL); -+# endif - } - # endif |