From 68d3758eaa1d21de0b83304ecdef74546d7af594 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 12 Dec 2017 04:41:16 -0600 Subject: user/heirloom-devtools: tonight we're gonna party like it's 1988 --- .../heirloom-devtools-070527-64-bit.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch (limited to 'user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch') diff --git a/user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch b/user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch new file mode 100644 index 000000000..d6c3cd7a5 --- /dev/null +++ b/user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch @@ -0,0 +1,39 @@ +--- a/make/vroot/lock.cc 2007/01/18 15:06:32 1.1 ++++ b/make/vroot/lock.cc 2007/10/01 11:44:26 1.2 +@@ -31,7 +31,7 @@ + /* + * Portions Copyright (c) 2007 Gunnar Ritter, Freiburg i. Br., Germany + * +- * Sccsid @(#)lock.cc 1.4 (gritter) 01/13/07 ++ * Sccsid @(#)lock.cc 1.5 (gritter) 10/1/07 + */ + + #include /* for NOCATGETS */ +@@ -53,7 +53,7 @@ + extern int sys_nerr; + #endif + +-static void file_lock_error(char *msg, char *file, char *str, int arg1, int arg2); ++static void file_lock_error(char *msg, char *file, char *str, const char *arg1, const char *arg2); + + #define BLOCK_INTERUPTS sigfillset(&newset) ; \ + sigprocmask(SIG_SETMASK, &newset, &oldset) +@@ -123,7 +123,7 @@ + + if (errno != EEXIST) { + file_lock_error(msg, name, NOCATGETS("symlink(%s, %s)"), +- (int) name, (int) lockname); ++ name, lockname); + fprintf(stderr, "%s", msg); + return errno; + } +@@ -171,7 +171,8 @@ + * Format a message telling why the lock could not be created. + */ + static void +-file_lock_error(char *msg, char *file, char *str, int arg1, int arg2) ++file_lock_error(char *msg, char *file, char *str, ++ const char *arg1, const char *arg2) + { + int len; + -- cgit v1.2.3-60-g2f50