summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-physics/mpb/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-physics/mpb/files')
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-autotools.patch262
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-guile18.patch12
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-headers.patch11
3 files changed, 285 insertions, 0 deletions
diff --git a/sci-physics/mpb/files/mpb-1.4.2-autotools.patch b/sci-physics/mpb/files/mpb-1.4.2-autotools.patch
new file mode 100644
index 000000000000..b6faf07d2bcf
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-autotools.patch
@@ -0,0 +1,262 @@
+diff -Nur mpb-1.4.2.orig/configure.ac mpb-1.4.2/configure.ac
+--- mpb-1.4.2.orig/configure.ac 2003-03-04 02:38:41.000000000 +0000
++++ mpb-1.4.2/configure.ac 2008-11-25 17:31:12.000000000 +0000
+@@ -6,15 +6,8 @@
+ MPB_VERSION=1.4.2
+ AC_SUBST(MPB_VERSION)
+
+-AC_MSG_CHECKING([for vendor f77 to be used instead of g77])
+-AC_MSG_RESULT()
+-AC_CHECK_PROGS(F77, f77 xlf77 cf77 fort77 f90 xlf90)
+ AC_PROG_F77
+-
+-# Get C compiler.
+-AC_MSG_CHECKING([for vendor cc to be used instead of gcc])
+-AC_MSG_RESULT()
+-AC_CHECK_PROGS(CC, cc xlc) # prefer vendor cc, to stay in sync with Fortran
++AC_F77_WRAPPERS
+ AC_PROG_CC
+
+ # Checks for programs.
+@@ -79,12 +72,6 @@
+ echo "*********************** HERMITIAN EPS. ***********************"
+ fi
+
+-# Add lots of compiler warnings to check for if we are using gcc:
+-# (The variable $GCC is set to "yes" by AC_PROG_CC if we are using gcc.)
+-if test "$GCC" = "yes"; then
+- CFLAGS="$CFLAGS -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
+-fi
+-
+ ##############################################################################
+ # Checks for libraries:
+ ##############################################################################
+@@ -203,6 +190,10 @@
+ # how to run mpb-mpi in general
+ fi
+
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS(unistd.h getopt.h)
++
+ ##############################################################################
+ # Check for HDF5 library
+ AC_ARG_WITH(hdf5, [AC_HELP_STRING([--without-hdf5],[do not use HDF5 output])], ok=$withval, ok=yes)
+@@ -349,9 +340,7 @@
+ ]], [AC_MSG_RESULT(ok)], [AC_MSG_ERROR([libctl version ${LIBCTL_MAJOR}.${LIBCTL_MINOR}.${LIBCTL_BUGFIX} or later is required])])
+
+ ##############################################################################
+-# Checks for header files.
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS(unistd.h getopt.h)
++
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+diff -Nur mpb-1.4.2.orig/Makefile.in mpb-1.4.2/Makefile.in
+--- mpb-1.4.2.orig/Makefile.in 2002-01-18 22:52:41.000000000 +0000
++++ mpb-1.4.2/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,6 +2,9 @@
+
+ SHELL = @SHELL@
+
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
+ CC = @CC@
+ CFLAGS = @CFLAGS@
+ CPPFLAGS = @CPPFLAGS@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/Makefile.in mpb-1.4.2/mpb-ctl/Makefile.in
+--- mpb-1.4.2.orig/mpb-ctl/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/mpb-ctl/Makefile.in 2008-11-25 18:23:20.000000000 +0000
+@@ -13,6 +13,12 @@
+
+ SHELL = @SHELL@
+
++mandir = @mandir@
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
+ ##############################################################################
+
+ # Makefile.in for programs using libctl (assumes that autoconf is
+@@ -37,8 +43,8 @@
+ ../src/util/util.a
+
+ MY_LDFLAGS = # extra -L flags go here
+-MY_CPPFLAGS = -I. -I../src/util -I../src/matrices -I../src/matrixio \
+- -I../src/maxwell
++MY_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio \
++ -I$(top_srcdir)/src/maxwell
+ MY_DEFS = -DHAVE_CTL_HOOKS=1 -DHAVE_CTL_EXPORT_HOOK=1
+
+ # The following variables should be detected and set by autoconf:
+@@ -134,11 +140,11 @@
+
+ install-mpb: $(PROGRAM_NAME)
+ $(INSTALL) -d $(prefix)/bin
+- $(INSTALL) -m 0755 -s .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'`
++ $(INSTALL) -m 0755 .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'`
+ $(INSTALL) -d $(prefix)/share/libctl/specs
+ $(INSTALL) -m 0644 $(SPECIFICATION_FILE) $(prefix)/share/libctl/specs
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 $(PROGRAM_NAME).1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/$(PROGRAM_NAME).1 $(mandir)/man1
+
+ mpb-split-tmp:
+ rm -f mpb-split-tmp
+@@ -149,7 +155,7 @@
+ mpb_name=`echo mpb | sed '$(transform)'`; \
+ $(INSTALL) -m 0755 mpb-split-tmp $(prefix)/bin/$${mpb_name}-split
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 mpb-split.1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/mpb-split.1 $(mandir)/man1
+
+ clean:
+ rm -f $(ALL_OBJECTS) ctl-io.c ctl-io.h main.c geom.c \
+diff -Nur mpb-1.4.2.orig/src/matrices/Makefile.in mpb-1.4.2/src/matrices/Makefile.in
+--- mpb-1.4.2.orig/src/matrices/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/matrices/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/matrixio/Makefile.in mpb-1.4.2/src/matrixio/Makefile.in
+--- mpb-1.4.2.orig/src/matrixio/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/matrixio/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I../matrices -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/maxwell/Makefile.in mpb-1.4.2/src/maxwell/Makefile.in
+--- mpb-1.4.2.orig/src/maxwell/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/maxwell/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I../matrices @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/util/Makefile.in mpb-1.4.2/src/util/Makefile.in
+--- mpb-1.4.2.orig/src/util/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/util/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/tests/Makefile.in mpb-1.4.2/tests/Makefile.in
+--- mpb-1.4.2.orig/tests/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/tests/Makefile.in 2008-11-25 17:31:58.000000000 +0000
+@@ -2,12 +2,14 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../src/util -I../src/matrices -I../src/maxwell @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/maxwell -I. @CPPFLAGS@
+ DEFS = @DEFS@
+-LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++LDFLAGS = @LDFLAGS@
+ RANLIB = @RANLIB@
+ @SET_MAKE@
+
+@@ -15,11 +17,11 @@
+ ../src/matrices/matrices.a \
+ ../src/util/util.a
+
+-all: blastest eigs_test maxwell_test malloctest normal_vectors
++all:
+
+ libs:
+
+-check: all
++check: blastest eigs_test maxwell_test malloctest normal_vectors
+ rm -f blastest.out.test
+ ./blastest | sed 's/\-0\.000\([ ,)]\)/ 0.000\1/g' | sed 's/\-0\.000$$/ 0.000/g' > blastest.out.test
+ diff blastest.@SCALAR_TYPE@.out blastest.out.test
+diff -Nur mpb-1.4.2.orig/utils/Makefile.in mpb-1.4.2/utils/Makefile.in
+--- mpb-1.4.2.orig/utils/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/utils/Makefile.in 2008-11-25 18:23:46.000000000 +0000
+@@ -1,13 +1,16 @@
+ # Variables substituted by the autoconf configure script:
+
+ SHELL = @SHELL@
++mandir = @mandir@
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../src/util -I../src/matrices -I../src/matrixio @CPPFLAGS@
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio -I. @CPPFLAGS@
+ DEFS = @DEFS@ -DMPB_VERSION='"'"@MPB_VERSION@"'"'
+-LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++LDFLAGS=@LDFLAGS@
+ RANLIB = @RANLIB@
+ @SET_MAKE@
+
+@@ -36,9 +39,9 @@
+
+ install-mpb-data: mpb-data
+ $(INSTALL) -d $(prefix)/bin
+- $(INSTALL) -m 0755 -s mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'`
++ $(INSTALL) -m 0755 mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'`
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 mpb-data.1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/mpb-data.1 $(mandir)/man1
+
+ clean:
+ rm -f mpb-data mpb-data.o core
diff --git a/sci-physics/mpb/files/mpb-1.4.2-guile18.patch b/sci-physics/mpb/files/mpb-1.4.2-guile18.patch
new file mode 100644
index 000000000000..9cb73a099b8b
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-guile18.patch
@@ -0,0 +1,12 @@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/field-smob.c mpb-1.4.2/mpb-ctl/field-smob.c
+--- mpb-1.4.2.orig/mpb-ctl/field-smob.c 2012-08-07 20:56:24.538452994 -0700
++++ mpb-1.4.2/mpb-ctl/field-smob.c 2012-08-07 20:56:43.713557380 -0700
+@@ -157,7 +157,7 @@
+ boolean cur_fieldp(SCM obj)
+ {
+ if (SCM_NIMP(obj) && SCM_SYMBOLP(obj)) {
+- char *s = gh_symbol2newstr(obj, NULL);
++ char *s = gh_symbol2newstr(obj);
+ int ret = !strcmp(s, "cur-field");
+ free(s);
+ return ret;
diff --git a/sci-physics/mpb/files/mpb-1.4.2-headers.patch b/sci-physics/mpb/files/mpb-1.4.2-headers.patch
new file mode 100644
index 000000000000..937e5fc373d4
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-headers.patch
@@ -0,0 +1,11 @@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/matrix-smob.c mpb-1.4.2/mpb-ctl/matrix-smob.c
+--- mpb-1.4.2.orig/mpb-ctl/matrix-smob.c 2002-09-13 19:27:35.000000000 +0100
++++ mpb-1.4.2/mpb-ctl/matrix-smob.c 2008-11-25 18:20:11.000000000 +0000
+@@ -17,6 +17,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <math.h>
+
+ #include "../src/config.h"
+