From 2c46583b34dfe86c828562fb17a00d9fa7e5ffc0 Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Mon, 30 Jan 2017 18:57:27 +0100 Subject: sci-chemistry/viewmol: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/3730 --- .../files/2.4.1-change-default-path-to-usr.patch | 11 ----------- .../files/2.4.1-look-for-python-in-right-place.patch | 20 -------------------- .../files/2.4.1-use-root-for-app-defaults.patch | 20 -------------------- 3 files changed, 51 deletions(-) delete mode 100644 sci-chemistry/viewmol/files/2.4.1-change-default-path-to-usr.patch delete mode 100644 sci-chemistry/viewmol/files/2.4.1-look-for-python-in-right-place.patch delete mode 100644 sci-chemistry/viewmol/files/2.4.1-use-root-for-app-defaults.patch (limited to 'sci-chemistry') 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 -- cgit v1.2.3-65-gdbad