summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-03-14 17:22:50 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-03-14 17:22:50 +0000
commit3e85a9072fddf93e5d04fc0f60ed41d00823374e (patch)
tree950ae7fa305477317562dd1464b71573e7d82c39 /sci-libs/dsdp
parentRemoved this one for now. Patch failed to apply (diff)
downloadhistorical-3e85a9072fddf93e5d04fc0f60ed41d00823374e.tar.gz
historical-3e85a9072fddf93e5d04fc0f60ed41d00823374e.tar.bz2
historical-3e85a9072fddf93e5d04fc0f60ed41d00823374e.zip
Fixed leak in one of the examples
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/dsdp')
-rw-r--r--sci-libs/dsdp/ChangeLog6
-rw-r--r--sci-libs/dsdp/Manifest11
-rw-r--r--sci-libs/dsdp/dsdp-5.8.ebuild3
-rw-r--r--sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch11
4 files changed, 24 insertions, 7 deletions
diff --git a/sci-libs/dsdp/ChangeLog b/sci-libs/dsdp/ChangeLog
index 70e69f3a195f..00add285fd8a 100644
--- a/sci-libs/dsdp/ChangeLog
+++ b/sci-libs/dsdp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/dsdp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/ChangeLog,v 1.1 2011/03/07 05:33:34 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/ChangeLog,v 1.2 2011/03/14 17:22:50 bicatali Exp $
+
+ 14 Mar 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> dsdp-5.8.ebuild,
+ +files/dsdp-5.8-readsdpa.patch:
+ Fixed leak in one of the examples
*dsdp-5.8 (07 Mar 2011)
diff --git a/sci-libs/dsdp/Manifest b/sci-libs/dsdp/Manifest
index c7f5f07f1224..a0ab64839ed7 100644
--- a/sci-libs/dsdp/Manifest
+++ b/sci-libs/dsdp/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX dsdp-5.8-readsdpa.patch 568 RMD160 a3af05a29548ac712478ab27b82826304f3608fa SHA1 a17112567017687d3a83eb2338c0d5b3ce4d6c20 SHA256 9a7382fe5644305365c4a938435c239bc7e29ea24337079fc210898fb164c01c
DIST DSDP5.8.tar.gz 2608518 RMD160 fb5fa1d701800f34774e75715c1e115bc6539238 SHA1 b2be496b0cda2d35c3af69a7a82cee88a8742e64 SHA256 26aa624525a636de272c0b329e2dfd01a0d5b7827f1c1c76f393d71e37dead70
-EBUILD dsdp-5.8.ebuild 1832 RMD160 f2d1ec9df6c691048416cbc4b39702748ead2f34 SHA1 a1b8ad974250f8ee84b25569e68c589a0e5e67ca SHA256 e18ca2cf7ed5609f6c7ab76e8e018e2558679f259b675aacc0bd7b1f50fab4e0
-MISC ChangeLog 334 RMD160 5c0ed2701e358d49acd26c44240231ec6a19344c SHA1 7772284a80868a67427a55528a63f7926177ca6d SHA256 62060568bd09ee7ccd27076286e53c33f596d186a6a79d87a20c4032b21b4f62
+EBUILD dsdp-5.8.ebuild 1874 RMD160 92c71aab311f856a1c98977f84477ac21158fb88 SHA1 546930f1d2b4f014f5904d7ff5773737ef7b3223 SHA256 af5c2b888a7d24ac5ef3c3a7f0ef6cebb86b8ddcbe174e61cc4a8c7e2ab067e1
+MISC ChangeLog 477 RMD160 fe1ee26baf4fbd2600a0266611bec8ed458ec082 SHA1 c69f568c4e863f9bf41bdf87b98e8d102272c93c SHA256 d6527a517ec4dedce573c4e423bcb265723476ce54f81801259700b8934c3afc
MISC metadata.xml 1139 RMD160 6c919f3f1a96cd3ab5cbbf499238c093ce414f8d SHA1 7fa65f34ae4e175ee88f6897b6ba423db045526a SHA256 3db43025b10ad9d1bb8b109f4ab2bdac456520be5e81dd92cb5a92bab76a816f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk10bjcACgkQ1ycZbhPLE2AFewCglz5YrAMcpSpfdTp0bbvbdRXv
-4kwAn0TIGzFANoPjLvAVA/7ZCkAFKqoT
-=/8Us
+iEYEARECAAYFAk1+TvkACgkQ1ycZbhPLE2C7rQCgo24qiW+C/qO52c8tj+xlWtqC
+jfAAoJbns/psCaNJCbm4Prlb/pOBGqDu
+=XWsl
-----END PGP SIGNATURE-----
diff --git a/sci-libs/dsdp/dsdp-5.8.ebuild b/sci-libs/dsdp/dsdp-5.8.ebuild
index 5c8b8e42d2b5..fc29c136458b 100644
--- a/sci-libs/dsdp/dsdp-5.8.ebuild
+++ b/sci-libs/dsdp/dsdp-5.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/dsdp-5.8.ebuild,v 1.1 2011/03/07 05:33:34 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/dsdp-5.8.ebuild,v 1.2 2011/03/14 17:22:50 bicatali Exp $
EAPI="4"
inherit eutils toolchain-funcs versionator
@@ -31,6 +31,7 @@ make_shared_lib() {
}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-readsdpa.patch
# to do proper parallel compilation
find . -name Makefile -exec \
sed -i -e 's:make :$(MAKE) :g' '{}' \;
diff --git a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch
new file mode 100644
index 000000000000..f555e50ba0ce
--- /dev/null
+++ b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch
@@ -0,0 +1,11 @@
+--- examples/readsdpa.c.orig 2011-03-14 16:49:10.000000000 +0000
++++ examples/readsdpa.c 2011-03-14 17:05:52.000000000 +0000
+@@ -87,7 +87,7 @@
+ double ddobj,ppobj,scl,dpot;
+ char problemname[100],thisline[100], filename[300],savefile[100];
+ char directory[100]="/home/benson/sdpexamples/sdplib/";
+- char outputfile[50]="",suffix[20]=".dat-s", tablename[20]="results-dsdp-5.8";
++ char outputfile[50]="",suffix[20]=".dat-s", tablename[100]="results-dsdp-5.8";
+ char success='s',sformat;
+ FILE *fp1=0,*fp2=0,*fout;
+ DSDPData dddd;