diff options
author | 2011-08-18 21:26:25 +0000 | |
---|---|---|
committer | 2011-08-18 21:26:25 +0000 | |
commit | aceae8686531d5fb989250da38673f209095ba60 (patch) | |
tree | ed8d7e5bc016cd1d0bfb73ac3a337c9d6e9c977c /app-editors/jasspa-microemacs/files | |
parent | Fix use-flag description (diff) | |
download | gentoo-2-aceae8686531d5fb989250da38673f209095ba60.tar.gz gentoo-2-aceae8686531d5fb989250da38673f209095ba60.tar.bz2 gentoo-2-aceae8686531d5fb989250da38673f209095ba60.zip |
Work around build failure on Linux 3.0.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/jasspa-microemacs/files')
-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 |