summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-05-20 07:37:46 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-05-20 07:37:46 +0000
commit8c856f85d1291e2eb37a7d0bd4a569462f71bbe1 (patch)
treed3db24a264fe4b2bb28b03a70e0b72127ce3859a /x11-misc/imake/files
parentBump. Incorporates 0128_all_4.2.0-imake-tmpdir-v2.patch, finally -- years aft... (diff)
downloadgentoo-2-8c856f85d1291e2eb37a7d0bd4a569462f71bbe1.tar.gz
gentoo-2-8c856f85d1291e2eb37a7d0bd4a569462f71bbe1.tar.bz2
gentoo-2-8c856f85d1291e2eb37a7d0bd4a569462f71bbe1.zip
Bump. Incorporates 0128_all_4.2.0-imake-tmpdir-v2.patch, finally -- years after azarah wrote it.
(Portage version: 2.1_rc1-r2) (Unsigned Manifest commit)
Diffstat (limited to 'x11-misc/imake/files')
-rw-r--r--x11-misc/imake/files/0128_all_4.2.0-imake-tmpdir-v2.patch37
-rw-r--r--x11-misc/imake/files/digest-imake-1.0.11
-rw-r--r--x11-misc/imake/files/digest-imake-1.0.1-r11
3 files changed, 0 insertions, 39 deletions
diff --git a/x11-misc/imake/files/0128_all_4.2.0-imake-tmpdir-v2.patch b/x11-misc/imake/files/0128_all_4.2.0-imake-tmpdir-v2.patch
deleted file mode 100644
index 209cb15bf543..000000000000
--- a/x11-misc/imake/files/0128_all_4.2.0-imake-tmpdir-v2.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- xc/config/imake/imake.c.orig 2001-12-14 20:53:18.000000000 +0100
-+++ xc/config/imake/imake.c 2003-09-12 15:00:10.000000000 +0200
-@@ -985,13 +985,23 @@
- static void
- get_libc_version(FILE *inFile)
- {
-- char aout[] = "/tmp/imakeXXXXXX";
-+ char aout[4096], *tmpdir;
- FILE *fp;
- const char *format = "%s -o %s -x c -";
- char *cc;
- int len;
- char *command;
-
-+ /* If $TMPDIR is defined and has an acceptable length,
-+ * use that as tmp dir, else use /tmp. That fixes
-+ * problems with /tmp mounted "noexec".
-+ */
-+ if((tmpdir = getenv("TMPDIR")) != NULL && strlen(tmpdir) < (4096-13))
-+ strcpy(aout, tmpdir);
-+ else
-+ strcpy(aout, "/tmp");
-+ strcat(aout, "/imakeXXXXXX");
-+
- /* Pre-create temp file safely */
- {
- /* Linux + ELF has mkstemp() */
-@@ -1007,7 +1017,8 @@
- cc = "gcc";
- len = strlen (aout) + strlen (format) + strlen (cc);
- if (len < 128) len = 128;
-- command = alloca (len);
-+ if((command = alloca (len)) == NULL)
-+ abort();
-
- if (snprintf (command , len, format, cc, aout) == len)
- abort ();
diff --git a/x11-misc/imake/files/digest-imake-1.0.1 b/x11-misc/imake/files/digest-imake-1.0.1
deleted file mode 100644
index 5dc088a8258f..000000000000
--- a/x11-misc/imake/files/digest-imake-1.0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8c859fdddd57e91132ceab1344bfe728 imake-1.0.1.tar.bz2 108642
diff --git a/x11-misc/imake/files/digest-imake-1.0.1-r1 b/x11-misc/imake/files/digest-imake-1.0.1-r1
deleted file mode 100644
index 5dc088a8258f..000000000000
--- a/x11-misc/imake/files/digest-imake-1.0.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8c859fdddd57e91132ceab1344bfe728 imake-1.0.1.tar.bz2 108642