summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-30 18:57:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-31 09:41:46 +0100
commit2c46583b34dfe86c828562fb17a00d9fa7e5ffc0 (patch)
tree3b428b4d1da63d487484161bbc5296acaa90c2e9 /sci-chemistry/viewmol
parentsci-chemistry/tinker: remove unused patches (diff)
downloadgentoo-2c46583b34dfe86c828562fb17a00d9fa7e5ffc0.tar.gz
gentoo-2c46583b34dfe86c828562fb17a00d9fa7e5ffc0.tar.bz2
gentoo-2c46583b34dfe86c828562fb17a00d9fa7e5ffc0.zip
sci-chemistry/viewmol: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3730
Diffstat (limited to 'sci-chemistry/viewmol')
-rw-r--r--sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch11
-rw-r--r--sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch20
-rw-r--r--sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch20
3 files changed, 0 insertions, 51 deletions
diff --git a/sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch b/sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch
deleted file mode 100644
index e5e22ffee893..000000000000
--- a/sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- viewmol-2.4.1.orig/source/getrc.c 2004-10-20 05:54:35.000000000 -0700
-+++ viewmol-2.4.1/source/getrc.c 2005-12-02 11:38:32.000000000 -0800
-@@ -87,7 +87,7 @@
-
- static char viewmolpath[MAXLENLINE];
-
--#define DEFAULTPATH "/usr/local/lib/viewmol"
-+#define DEFAULTPATH "/usr/lib/viewmol"
-
- int getrc(void)
- {
diff --git a/sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch b/sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch
deleted file mode 100644
index 4f981a0fd1cb..000000000000
--- a/sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- viewmol-2.4.1.orig/source/getmachine 2004-08-29 08:04:09.000000000 -0700
-+++ viewmol-2.4.1/source/getmachine 2005-12-02 11:19:36.000000000 -0800
-@@ -156,7 +158,7 @@
- echo "PNGINCLUDE = $pnginclude" >> .config.$os
-
- # Python
-- list=`find /usr -name Python.h -print 2> /dev/null`
-+ list=`find /usr/include -name Python.h -print 2> /dev/null`
- version=`(for i in $list
- do
- dir=\`dirname $i\`
-@@ -179,7 +181,7 @@
- echo "PYTHONINCLUDE = $pythoninclude" >> .config.$os
- if [ "$version" != "" ]
- then
-- pythonlib=`dirname \`find /usr -name "lib${version}*.a" -print 2> /dev/null | grep "$version/"\``
-+ pythonlib=`dirname \`find /usr/lib -name "lib${version}*.a" -print 2> /dev/null | grep "$version/"\``
- else
- givehint
- echo -n "Please enter the name of the directory where the Python library can be found: "
diff --git a/sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch b/sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch
deleted file mode 100644
index c04da305c144..000000000000
--- a/sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- viewmol-2.4.1.orig/source/install 2004-10-09 08:38:31.000000000 -0700
-+++ viewmol-2.4.1/source/install 2005-12-02 11:34:35.000000000 -0800
-@@ -71,7 +71,7 @@
- find $ROOT/lib/viewmol -type d -exec chmod a+rx {} \;
- sed 's/\/source//g' viewmolrc > $ROOT/lib/viewmol/viewmolrc
- chmod -R 644 $ROOT/lib/viewmol/viewmolrc
--if [ -d /usr/X11R6/lib/X11/app-defaults ]
-+if [ -d $ROOT/X11R6/lib/X11/app-defaults ]
- then
- locale=`echo $LANG | cut -c1-2`
- if [ "$locale" = "en" ]
-@@ -82,6 +82,6 @@
- # The C locale is defined by default for rpm builds, overwrite it
- locale="en_US"
- fi
-- cp locale/${locale}/Viewmol /usr/X11R6/lib/X11/app-defaults
-- chmod a+r /usr/X11R6/lib/X11/app-defaults/Viewmol
-+ cp locale/${locale}/Viewmol $ROOT/X11R6/lib/X11/app-defaults
-+ chmod a+r $ROOT/X11R6/lib/X11/app-defaults/Viewmol
- fi