diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 19:03:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 19:03:29 +0000 |
commit | 79a20cfe96a4f277f8cbbaa7f8867cb181202847 (patch) | |
tree | 6999831cfa940a644ce0e513b04ea3989bc7a7c8 /sys-devel/dev86/files | |
parent | Mask old version to be able to move to new versioning schema (diff) | |
download | gentoo-2-79a20cfe96a4f277f8cbbaa7f8867cb181202847.tar.gz gentoo-2-79a20cfe96a4f277f8cbbaa7f8867cb181202847.tar.bz2 gentoo-2-79a20cfe96a4f277f8cbbaa7f8867cb181202847.zip |
Version bump. Include fix from Debian for ncc #354351 by Joerg Neikes. Fix stripping errors #413275 by Michele Ciacci. Also fix up libdir handling as bcc had /usr/lib/gcc/ hardcoded.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-devel/dev86/files')
-rw-r--r-- | sys-devel/dev86/files/dev86-0.16.19-fortify.patch | 23 | ||||
-rw-r--r-- | sys-devel/dev86/files/dev86-0.16.19-memmove.patch | 17 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-devel/dev86/files/dev86-0.16.19-fortify.patch b/sys-devel/dev86/files/dev86-0.16.19-fortify.patch new file mode 100644 index 000000000000..366808c96d20 --- /dev/null +++ b/sys-devel/dev86/files/dev86-0.16.19-fortify.patch @@ -0,0 +1,23 @@ +--- dev86-0.16.19/bcc/bcc.c ++++ dev86-0.16.19/bcc/bcc.c +@@ -596,12 +597,17 @@ + } + } + +-void +-command_reset() +-{ + #ifndef MAXPATHLEN ++#ifdef PATH_MAX ++#define MAXPATHLEN PATH_MAX ++#else + #define MAXPATHLEN 1024 + #endif ++#endif ++ ++void ++command_reset() ++{ + char buf[MAXPATHLEN]; + char ** prefix; + char * saved_cmd; diff --git a/sys-devel/dev86/files/dev86-0.16.19-memmove.patch b/sys-devel/dev86/files/dev86-0.16.19-memmove.patch new file mode 100644 index 000000000000..12df3f672624 --- /dev/null +++ b/sys-devel/dev86/files/dev86-0.16.19-memmove.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/354351 + +fix sniped from Debian: +* Fix "FTBFS: ncc: illegal label": apply patch by dai that replaces strcpy + by memmove (closes: #591133). + +--- copt/copt.c ++++ copt/copt.c +@@ -174,7 +174,7 @@ + /* Delete leading white spaces */ + for (cp = buf; *cp && isspace(*cp); cp++) ; + if (cp != buf && *cp) +- strcpy(buf, cp); ++ memmove(buf, cp, strlen(cp) + 1); + + return(buf); + } |