diff options
author | 2011-08-18 21:26:25 +0000 | |
---|---|---|
committer | 2011-08-18 21:26:25 +0000 | |
commit | a619eb14f6f7e001e54e92c0203cfa20cd642d20 (patch) | |
tree | f0966a31a2a5fbe0e8a7188e45f11aa9c6c38a07 /app-editors/jasspa-microemacs/files/20091011-linux3.patch | |
parent | Fix use-flag description (diff) | |
download | historical-a619eb14f6f7e001e54e92c0203cfa20cd642d20.tar.gz historical-a619eb14f6f7e001e54e92c0203cfa20cd642d20.tar.bz2 historical-a619eb14f6f7e001e54e92c0203cfa20cd642d20.zip |
Work around build failure on Linux 3.0.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'app-editors/jasspa-microemacs/files/20091011-linux3.patch')
-rw-r--r-- | app-editors/jasspa-microemacs/files/20091011-linux3.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-editors/jasspa-microemacs/files/20091011-linux3.patch b/app-editors/jasspa-microemacs/files/20091011-linux3.patch new file mode 100644 index 000000000000..35a5b22a1dce --- /dev/null +++ b/app-editors/jasspa-microemacs/files/20091011-linux3.patch @@ -0,0 +1,23 @@ +Work around build failure on Linux 3.0. + +--- me091011-orig/src/build ++++ me091011/src/build +@@ -130,17 +130,7 @@ + MAKEBAS=irix6 + fi + elif [ $PLATFORM = "Linux" ] ; then +- MACHINE=`uname -m | cut -c 1-3` +- if [ $MACHINE = "arm" ] ; then +- MAKEBAS=zaurus +- else +- KERNEL_MAJOR=`uname -r | cut -c 1-1` +- KERNEL_MINOR=`uname -r | cut -c 3-3` +- MAKEBAS="linux$KERNEL_MAJOR$KERNEL_MINOR" +- if [ ! -r $MAKEBAS.gmk ] ; then +- MAKEBAS="linux2" +- fi +- fi ++ MAKEBAS=linux26 + X11_MAKELIB=/usr/X11R6/lib + elif [ $PLATFORM = "OpenBSD" ] ; then + MAKEBAS=openbsd |