diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-10 17:51:15 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-10 17:51:15 +0000 |
commit | 8b7b88a2fa462aaec398263bd1fe96e515092890 (patch) | |
tree | 42f6ac7dbe858c492f2ea45901f70a5a5ef3556e /net-wireless/opd/files | |
parent | old (diff) | |
download | gentoo-2-8b7b88a2fa462aaec398263bd1fe96e515092890.tar.gz gentoo-2-8b7b88a2fa462aaec398263bd1fe96e515092890.tar.bz2 gentoo-2-8b7b88a2fa462aaec398263bd1fe96e515092890.zip |
Don't compile in src_unpack wrt #323453 by Michał Górny. Respect CC, CFLAGS, LDFLAGS. Fix building with -D_FORTIFY_SOURCE=2.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/opd/files')
-rw-r--r-- | net-wireless/opd/files/0.2-compile-fix.patch | 4 | ||||
-rw-r--r-- | net-wireless/opd/files/0.2-opd-open-o_creat-mode-fix.patch | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/net-wireless/opd/files/0.2-compile-fix.patch b/net-wireless/opd/files/0.2-compile-fix.patch index d2576a0afc3b..14fecbf2042b 100644 --- a/net-wireless/opd/files/0.2-compile-fix.patch +++ b/net-wireless/opd/files/0.2-compile-fix.patch @@ -1,5 +1,5 @@ ---- orig/obex_handler.c 2003-03-18 16:35:04.000000000 +0100 -+++ fixed/obex_handler.c 2004-12-15 17:29:11.303999448 +0100 +--- obex_handler.c ++++ obex_handler.c @@ -364,7 +364,7 @@ diff --git a/net-wireless/opd/files/0.2-opd-open-o_creat-mode-fix.patch b/net-wireless/opd/files/0.2-opd-open-o_creat-mode-fix.patch new file mode 100644 index 000000000000..1717394e95b3 --- /dev/null +++ b/net-wireless/opd/files/0.2-opd-open-o_creat-mode-fix.patch @@ -0,0 +1,16 @@ +--- main.c ++++ main.c +@@ -562,11 +562,11 @@ + dup2(fd, 0); + close(fd); + +- fd = open("_opd_msgs.txt", O_RDWR | O_CREAT); ++ fd = open("_opd_msgs.txt", O_RDWR | O_CREAT, 0600); + dup2(fd, 1); + close(fd); + +- fd = open("_opd_errs.txt", O_RDWR | O_CREAT); ++ fd = open("_opd_errs.txt", O_RDWR | O_CREAT, 0600); + dup2(fd, 2); + close(fd); + |