sci-chemistry/viewmol: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Mon, 30 Jan 2017 17:57:27 +0000 (18:57 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 31 Jan 2017 08:41:46 +0000 (09:41 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3730

sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch [deleted file]
sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch [deleted file]
sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch [deleted file]

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 (file)
index e5e22ff..0000000
+++ /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 (file)
index 4f981a0..0000000
+++ /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 (file)
index c04da30..0000000
+++ /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