summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci/singular/files/singular-2.0.4-gentoo.diff')
-rw-r--r--app-sci/singular/files/singular-2.0.4-gentoo.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-sci/singular/files/singular-2.0.4-gentoo.diff b/app-sci/singular/files/singular-2.0.4-gentoo.diff
index 3f990c729127..b63d075e930a 100644
--- a/app-sci/singular/files/singular-2.0.4-gentoo.diff
+++ b/app-sci/singular/files/singular-2.0.4-gentoo.diff
@@ -68,3 +68,24 @@
#include <dlfcn.h>
static void* kernel_handle = NULL;
+--- singuname.sh 2003-08-07 12:48:09.000000000 +0200
++++ singuname.sh.new 2003-08-07 12:50:14.000000000 +0200
+@@ -180,6 +180,18 @@
+ echo ${prefix}-Unknown
+ exit 1
+ fi
++# PowerPC Linux ########################################################
++elif (echo $uname_a | $egrep " ppc " > $devnull)
++then
++ prefix=ppc
++ if (echo $uname_a | $egrep "Linux" > $devnull)
++ then
++ echo ${prefix}-Linux
++ exit 0
++ else
++ echo ${prefix}-Unknown
++ exit 1
++ fi
+ else # Unknown ########################################################
+ echo Unknown
+ exit 2