diff options
Diffstat (limited to 'sci-libs/dsdp/files')
-rw-r--r-- | sci-libs/dsdp/files/dsdp-5.8-gold.patch | 13 | ||||
-rw-r--r-- | sci-libs/dsdp/files/dsdp-5.8-malloc.patch | 10 | ||||
-rw-r--r-- | sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch | 11 |
3 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/dsdp/files/dsdp-5.8-gold.patch b/sci-libs/dsdp/files/dsdp-5.8-gold.patch new file mode 100644 index 000000000000..ae677820ffc3 --- /dev/null +++ b/sci-libs/dsdp/files/dsdp-5.8-gold.patch @@ -0,0 +1,13 @@ +diff --git a/examples/Makefile b/examples/Makefile +index 8d7d433..11b9c8c 100644 +--- a/examples/Makefile ++++ b/examples/Makefile +@@ -4,7 +4,7 @@ default: + + include ../make.include + +-EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} ++EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} -lm + + dsdp: exinfo clean + ${MEX} -I${DSDPROOT}/include dsdp.c ${DSDPLIB}; diff --git a/sci-libs/dsdp/files/dsdp-5.8-malloc.patch b/sci-libs/dsdp/files/dsdp-5.8-malloc.patch new file mode 100644 index 000000000000..48e067d1d898 --- /dev/null +++ b/sci-libs/dsdp/files/dsdp-5.8-malloc.patch @@ -0,0 +1,10 @@ +--- src/sys/dsdploginfo.c.orig 2012-04-04 09:59:25.212518434 +1200 ++++ src/sys/dsdploginfo.c 2012-04-04 10:00:05.676522161 +1200 +@@ -6,7 +6,6 @@ + #include <stdarg.h> + #include <sys/types.h> + #include <stdlib.h> +-#include <malloc.h> + #include "dsdpsys.h" + #include "dsdpbasictypes.h" + 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; |