summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-01 19:14:03 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-01 19:14:03 +0000
commit81348826b6bcdcf921f5b0a79ff4a09bf56ebb60 (patch)
tree651f1aff3b2655d3c33404dd5ce5820eaa01b5ec /sci-libs
parentVersion bump, bug #254678 (diff)
downloadhistorical-81348826b6bcdcf921f5b0a79ff4a09bf56ebb60.tar.gz
historical-81348826b6bcdcf921f5b0a79ff4a09bf56ebb60.tar.bz2
historical-81348826b6bcdcf921f5b0a79ff4a09bf56ebb60.zip
Added fix for _FORTIFY_SOURCE=2, thank loki_val to point to a patch from Fedora folks
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/qfits/ChangeLog9
-rw-r--r--sci-libs/qfits/Manifest15
-rw-r--r--sci-libs/qfits/files/qfits-6.2.0-open.patch12
-rw-r--r--sci-libs/qfits/qfits-6.2.0.ebuild9
4 files changed, 38 insertions, 7 deletions
diff --git a/sci-libs/qfits/ChangeLog b/sci-libs/qfits/ChangeLog
index c148d673a170..e7da2095b0f0 100644
--- a/sci-libs/qfits/ChangeLog
+++ b/sci-libs/qfits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/qfits
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/ChangeLog,v 1.2 2007/05/18 15:17:01 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/ChangeLog,v 1.3 2009/03/01 19:14:03 bicatali Exp $
+
+ 01 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/qfits-6.2.0-open.patch, qfits-6.2.0.ebuild:
+ Added fix for _FORTIFY_SOURCE=2, thank loki_val to point to a patch from
+ Fedora folks
18 May 2007; Sébastien Fabbro <bicatali@gentoo.org> qfits-6.2.0.ebuild:
installs html doc properly
diff --git a/sci-libs/qfits/Manifest b/sci-libs/qfits/Manifest
index ad19abb3e807..6c6cbc8dded7 100644
--- a/sci-libs/qfits/Manifest
+++ b/sci-libs/qfits/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX qfits-6.2.0-open.patch 683 RMD160 ae1523341269e3734f26baf5f28b97798b2c6ddf SHA1 51b70f1addc1a566bae144e96267b32823f41b8a SHA256 2f98aef5de1628af3f827d333a31decdcb626806f1974c703027b9c2fb99a6d1
AUX qfits-6.2.0-ttest.patch 376 RMD160 ffedc2f7d6e801f72393d4e65baa8692ee2815a4 SHA1 dfefd5e7fece6e76b580dc01b197333d5d96fbf5 SHA256 da394f2977ddaec1d33a1389516c84320c420da90d08d743672c426b22b9860c
DIST qfits-6.2.0.tar.gz 475191 RMD160 3072bb4f4d2b3fb73432693075471b19229f1a30 SHA1 c070cd357a924a0a79d752a3e475fafd614e38e9 SHA256 04f628ee966859c2e3c58cd63955544adc31a3b3901bf42c25fbb1feb98f8ed1
-EBUILD qfits-6.2.0.ebuild 760 RMD160 71b7adbeed84f003cfcf84654eb1e0e12bc5928f SHA1 abd83ffc16409eee41d9013c7b926d9bd905db56 SHA256 9d315ae7752d2453e4d4eb3b1521426d5b4e811a3e94fddd16d2689b76108667
-MISC ChangeLog 553 RMD160 21a2aa46e34c06f215d5eca52b80efc8c1eedc44 SHA1 af894ac1dcdcf8c17e19559875aaa4bd03b372e9 SHA256 6696bbfd9131a8789614a6b7785db7e19c1bf60e419f72e6d6a8f187d0e4b7dd
+EBUILD qfits-6.2.0.ebuild 838 RMD160 7a874e1b146f699af9766a1d5512c965eb5f80a3 SHA1 faee97215f17072e305795dba26f3d02bc0cd739 SHA256 4211d5336e913f8c2a36ad7317a0a99d0cf0aadb6460c69ed427ffe7a91eb7f8
+MISC ChangeLog 752 RMD160 00ee20a843e8ecc965d55859cd65b6080e8210a8 SHA1 fb78c44da001dd892c3b853815033221f7146abe SHA256 816d074ae0428baaa3e82f5fa20f5650d245cc5b740ba0a60bbed7dc9d048780
MISC metadata.xml 746 RMD160 0b595cbb759e13feeca7255766ba1fdfc921fd98 SHA1 8ed4680efa245f098856f745f4f60f328be2b29c SHA256 4b4d7a31dc874f6349ec422c3d31178027501517844e026f2774cfc6377b532e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAkmq3okACgkQ1ycZbhPLE2BVNQCgp+cIrhpe/Q6v9xrj+kgwszcx
+yCsAnArg7di9+73Lo0z+Y3DT7VJ6aZMk
+=aeV/
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/qfits/files/qfits-6.2.0-open.patch b/sci-libs/qfits/files/qfits-6.2.0-open.patch
new file mode 100644
index 000000000000..71d2df1a692a
--- /dev/null
+++ b/sci-libs/qfits/files/qfits-6.2.0-open.patch
@@ -0,0 +1,12 @@
+diff -ur qfits-6.2.0/src/qfits_memory.c qfits-6.2.0.new/src/qfits_memory.c
+--- qfits-6.2.0/src/qfits_memory.c 2006-08-24 17:01:56.000000000 +0200
++++ qfits-6.2.0.new/src/qfits_memory.c 2007-09-21 13:43:19.000000000 +0200
+@@ -308,7 +308,7 @@
+ /* Create swap file with rights: rw-rw-rw- */
+ swapfileid = ++ qfits_memory_table.file_reg ;
+ fname = qfits_memory_tmpfilename(swapfileid);
+- swapfd = open(fname, O_RDWR | O_CREAT);
++ swapfd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
+ if (swapfd==-1) {
+ fprintf(stderr, "qfits_mem: cannot create swap file\n");
+ exit(-1);
diff --git a/sci-libs/qfits/qfits-6.2.0.ebuild b/sci-libs/qfits/qfits-6.2.0.ebuild
index b0f8258405d9..5c5f6bdec62e 100644
--- a/sci-libs/qfits/qfits-6.2.0.ebuild
+++ b/sci-libs/qfits/qfits-6.2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/qfits-6.2.0.ebuild,v 1.2 2007/05/18 15:17:01 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/qfits-6.2.0.ebuild,v 1.3 2009/03/01 19:14:03 bicatali Exp $
inherit eutils
@@ -11,13 +11,16 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-DEPEND="virtual/libc"
+DEPEND=""
+RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
# test failed due to a switch between strcpy and strcat.
epatch "${FILESDIR}"/${P}-ttest.patch
+ # for _FORTIFY_SOURCE=2 see bug #260674
+ epatch "${FILESDIR}"/${P}-open.patch
}
src_install() {