summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-11 20:38:49 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-11 20:38:49 +0000
commitab22f1eeff17d6127b3171c121b2ca9b0f7c976f (patch)
treed7b80696b587c62f33d7e82919be6101639f85ab /sci-chemistry/coot/files
parentUpdated metadata to reflect taking over maintenance of package. (diff)
downloadgentoo-2-ab22f1eeff17d6127b3171c121b2ca9b0f7c976f.tar.gz
gentoo-2-ab22f1eeff17d6127b3171c121b2ca9b0f7c976f.tar.bz2
gentoo-2-ab22f1eeff17d6127b3171c121b2ca9b0f7c976f.zip
sci-chemistry/coot: Version Bump, fixes compilation with gcc-4.7, #425836
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/coot/files')
-rw-r--r--sci-chemistry/coot/files/coot-0.7_pre4266-clipper-config.patch17
-rw-r--r--sci-chemistry/coot/files/coot-0.7_pre4266-goocanvas.patch25
-rw-r--r--sci-chemistry/coot/files/coot-0.7_pre4266-mmdb-config.patch18
-rw-r--r--sci-chemistry/coot/files/coot-0.7_pre4266-ssm.patch56
4 files changed, 116 insertions, 0 deletions
diff --git a/sci-chemistry/coot/files/coot-0.7_pre4266-clipper-config.patch b/sci-chemistry/coot/files/coot-0.7_pre4266-clipper-config.patch
new file mode 100644
index 000000000000..311b5e88d84e
--- /dev/null
+++ b/sci-chemistry/coot/files/coot-0.7_pre4266-clipper-config.patch
@@ -0,0 +1,17 @@
+ macros/clipper.m4 | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/macros/clipper.m4 b/macros/clipper.m4
+index 0bf087a..d0e8b6b 100644
+--- a/macros/clipper.m4
++++ b/macros/clipper.m4
+@@ -98,6 +98,9 @@ case $ac_cv_build_alias in
+ ;;
+ esac
+
++CLIPPER_CXXFLAGS=`clipper-config --cflags`
++CLIPPER_LDOPTS=`clipper-config --libs`
++
+ AC_MSG_CHECKING([for Clipper])
+
+ LIBS="$save_LIBS $CLIPPER_LDOPTS"
diff --git a/sci-chemistry/coot/files/coot-0.7_pre4266-goocanvas.patch b/sci-chemistry/coot/files/coot-0.7_pre4266-goocanvas.patch
new file mode 100644
index 000000000000..ce0d4a00abba
--- /dev/null
+++ b/sci-chemistry/coot/files/coot-0.7_pre4266-goocanvas.patch
@@ -0,0 +1,25 @@
+Index: macros/goo-canvas.m4
+===================================================================
+--- macros/goo-canvas.m4 (revision 3307)
++++ macros/goo-canvas.m4 (working copy)
+@@ -56,9 +56,9 @@
+ fi
+ fi
+
+-AC_MSG_CHECKING([for Goocanvas])
++PKG_CHECK_MODULES(GOOCANVAS, goocanvas)
+
+-LIBS="$saved_LIBS $GOOCANVAS_LDOPTS $GTK_LIBS"
++LIBS="$saved_LIBS $GOOCANVAS_LIBS $GTK_LIBS"
+ CXXFLAGS="$saved_CXXFLAGS $GOOCANVAS_CFLAGS $GTK_CFLAGS"
+ #
+ # AC_TRY_LINK uses the c compiler (set by AC_LANG), so we will
+@@ -76,7 +76,7 @@
+ if test x$have_goocanvas = xyes; then
+
+ GOOCANVAS_CFLAGS="$GOOCANVAS_CFLAGS"
+- GOOCANVAS_LIBS="$GOOCANVAS_LDOPTS"
++ GOOCANVAS_LIBS="$GOOCANVAS_LIBS"
+
+ ifelse([$1], , :, [$1])
+
diff --git a/sci-chemistry/coot/files/coot-0.7_pre4266-mmdb-config.patch b/sci-chemistry/coot/files/coot-0.7_pre4266-mmdb-config.patch
new file mode 100644
index 000000000000..b3b66ab65786
--- /dev/null
+++ b/sci-chemistry/coot/files/coot-0.7_pre4266-mmdb-config.patch
@@ -0,0 +1,18 @@
+Index: macros/mmdb.m4
+===================================================================
+--- macros/mmdb.m4 (revision 3579)
++++ macros/mmdb.m4 (working copy)
+@@ -86,8 +86,12 @@
+ ac_MMDB_LDOPTS="-lmmdb -lm"
+ fi
+
+-AC_MSG_CHECKING([for MMDB])
++PKG_CHECK_MODULES([MMDB],[mmdb >= 1.2])
++ac_MMDB_LDOPTS="${MMDB_LIBS}"
++ac_MMDB_CXXFLAGS="${MMDB_CFLAGS}"
+
++AC_MSG_CHECKING([for CISPEP in MMDB])
++
+ LIBS="$save_LIBS $ac_MMDB_LDOPTS"
+ CXXFLAGS="$save_CXXFLAGS $ac_MMDB_CXXFLAGS"
+ #
diff --git a/sci-chemistry/coot/files/coot-0.7_pre4266-ssm.patch b/sci-chemistry/coot/files/coot-0.7_pre4266-ssm.patch
new file mode 100644
index 000000000000..c801da72410a
--- /dev/null
+++ b/sci-chemistry/coot/files/coot-0.7_pre4266-ssm.patch
@@ -0,0 +1,56 @@
+ macros/mmdb-ssm.m4 | 42 +-----------------------------------------
+ 1 files changed, 1 insertions(+), 41 deletions(-)
+
+diff --git a/macros/mmdb-ssm.m4 b/macros/mmdb-ssm.m4
+index 1937a16..6ef547c 100644
+--- a/macros/mmdb-ssm.m4
++++ b/macros/mmdb-ssm.m4
+@@ -22,47 +22,7 @@
+ AC_DEFUN([AM_WITH_MMDBSSM],
+ [AC_PROVIDE([AM_USE_MMDBSSM])
+
+-
+-AC_ARG_WITH(ssmlib-prefix,
+- AC_HELP_STRING( [--with-ssmlib-prefix=PFX], [Prefix where SSMLib has been installed] ),
+- [ with_ssmlib_prefix="$withval" ],
+- with_ssmlib_prefix="")
+-
+-AC_MSG_CHECKING([for SSMLib])
+-
+-if test x$with_ssmlib_prefix != x; then
+-
+- MMDBSSM_CXXFLAGS="-DHAVE_SSMLIB"
+- MMDBSSM_LIBS="-L$with_ssmlib_prefix/$acl_libdirstem -lssm"
+-
+-ac_mmdb_dirs='
+-.
+-include
+-include/ssm
+-include/mmdb
+-lib
+-src
+-lib/src
+-lib/src/mmdb'
+-
+- for ac_dir in $ac_mmdb_dirs; do
+- if test -r "$with_ssmlib_prefix/$ac_dir/ssm_superpose.h"; then
+- ac_MMDBSSM_CXXFLAGS="-I$with_ssmlib_prefix/$ac_dir"
+- break
+- fi
+- done
+-
+- MMDBSSM_CXXFLAGS="$MMDBSSM_CXXFLAGS $ac_MMDBSSM_CXXFLAGS"
+-
+-else
+-
+- MMDBSSM_CXXFLAGS=""
+- MMDBSSM_LIBS=""
+- with_ssmlib_prefix=no
+-
+-fi
+-
+-AC_MSG_RESULT([$with_ssmlib_prefix])
++PKG_CHECK_MODULES([MMDBSSM],[ssm])
+
+ AC_SUBST(MMDBSSM_CXXFLAGS)
+ AC_SUBST(MMDBSSM_LIBS)