You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/jasspa-microemacs/files/20091011-linux3.patch

24 lines
723 B

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