diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-12 04:41:16 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-12 04:41:38 -0600 |
commit | 68d3758eaa1d21de0b83304ecdef74546d7af594 (patch) | |
tree | c58bd460a1463ea21729624fdd66a24c8c83c483 /user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch | |
parent | b51b3fb97a304930e9a236f11d7defc376300aba (diff) | |
download | packages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.gz packages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.bz2 packages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.xz packages-68d3758eaa1d21de0b83304ecdef74546d7af594.zip |
user/heirloom-devtools: tonight we're gonna party like it's 1988
Diffstat (limited to 'user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch')
-rw-r--r-- | user/heirloom-devtools/heirloom-devtools-070527-64-bit.patch | 39 |
1 files changed, 39 insertions, 0 deletions
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 <avo/intl.h> /* 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; + |