summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-11 18:18:41 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-11 18:18:41 +0000
commitd10dbc591c96f86516077eb77aabc7c6fb6624cd (patch)
tree7894b733ce783b5b03b4cf550838244eeb6b7a61 /x11-libs/openmotif/files
parentchangelog (diff)
downloadgentoo-2-d10dbc591c96f86516077eb77aabc7c6fb6624cd.tar.gz
gentoo-2-d10dbc591c96f86516077eb77aabc7c6fb6624cd.tar.bz2
gentoo-2-d10dbc591c96f86516077eb77aabc7c6fb6624cd.zip
changelog
Diffstat (limited to 'x11-libs/openmotif/files')
-rw-r--r--x11-libs/openmotif/files/digest-openmotif-2.1.30-r21
-rw-r--r--x11-libs/openmotif/files/digest-openmotif-2.2.2-r31
-rw-r--r--x11-libs/openmotif/files/openmotif-2.1.30-imake-tmpdir.patch43
3 files changed, 45 insertions, 0 deletions
diff --git a/x11-libs/openmotif/files/digest-openmotif-2.1.30-r2 b/x11-libs/openmotif/files/digest-openmotif-2.1.30-r2
new file mode 100644
index 000000000000..ead704e865e9
--- /dev/null
+++ b/x11-libs/openmotif/files/digest-openmotif-2.1.30-r2
@@ -0,0 +1 @@
+MD5 950f0d409e0ce508fa3995790c1106c7 openmotif-2.1.30-4_MLI.src.tar.gz 8645792
diff --git a/x11-libs/openmotif/files/digest-openmotif-2.2.2-r3 b/x11-libs/openmotif/files/digest-openmotif-2.2.2-r3
new file mode 100644
index 000000000000..e91e220e3840
--- /dev/null
+++ b/x11-libs/openmotif/files/digest-openmotif-2.2.2-r3
@@ -0,0 +1 @@
+MD5 19cb43c657876624026a9e77c435a71e openMotif-2.2.2.tar.gz 5133178
diff --git a/x11-libs/openmotif/files/openmotif-2.1.30-imake-tmpdir.patch b/x11-libs/openmotif/files/openmotif-2.1.30-imake-tmpdir.patch
new file mode 100644
index 000000000000..b1b2804ab394
--- /dev/null
+++ b/x11-libs/openmotif/files/openmotif-2.1.30-imake-tmpdir.patch
@@ -0,0 +1,43 @@
+--- config/imake/imake.c~ 2000-06-04 00:34:05.000000000 +0200
++++ config/imake/imake.c 2003-09-17 03:41:46.000000000 +0200
+@@ -961,23 +961,38 @@
+ static void get_libc_version(inFile)
+ FILE* inFile;
+ {
+- char *aout = tmpnam (NULL);
++ char aout[PATH_MAX];
+ FILE *fp;
+ const char *format = "%s -o %s -x c -";
+ char *cc;
+ int len;
+ char *command;
++ char *tmpdir;
++ int tmpfd;
++
++ if((tmpdir = getenv("TMPDIR")) != NULL && strlen(tmpdir) < (PATH_MAX-13))
++ strcpy(aout, tmpdir);
++ else
++ strcpy(aout, "/tmp");
++ strcat(aout, "/imakeXXXXXX");
++
++ if((tmpfd = mkstemp(aout)) == -1) {
++ perror("mkstemp");
++ abort();
++ }
+
+ cc = getenv ("CC");
+ if (cc == NULL)
+ 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 ();
+
++ close(tmpfd);
+ fp = popen (command, "w");
+ if (fp == NULL || fprintf (fp, "%s\n", libc_c) < 0
+ || pclose (fp) != 0)