diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-02-15 22:13:37 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-15 22:13:37 -0600 |
commit | 70958f8048112de7da9239ae1979d695fdf7e455 (patch) | |
tree | b59793951844c0e4970f7667910a56b742158b23 /main/linux-grsec/setlocalversion.patch | |
parent | be6bd018c02dbbd9be00b295a6266d0cd9f12f76 (diff) | |
download | aports-70958f8048112de7da9239ae1979d695fdf7e455.tar.bz2 aports-70958f8048112de7da9239ae1979d695fdf7e455.tar.xz |
Revert "main/linux-grsec: upgrade to 2.6.37"
This reverts commit d6e368b0b2b8343f8b833daa28ed88f59df31441.
Diffstat (limited to 'main/linux-grsec/setlocalversion.patch')
-rw-r--r-- | main/linux-grsec/setlocalversion.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/linux-grsec/setlocalversion.patch b/main/linux-grsec/setlocalversion.patch new file mode 100644 index 0000000000..d82eb170ab --- /dev/null +++ b/main/linux-grsec/setlocalversion.patch @@ -0,0 +1,11 @@ +--- ./scripts/setlocalversion.orig ++++ ./scripts/setlocalversion +@@ -43,7 +43,7 @@ + fi + + # Check for git and a git repo. +- if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then ++ if [ -d "$srctree"/.git ] && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then + + # If we are at a tagged commit (like "v2.6.30-rc6"), we ignore + # it, because this version is defined in the top level Makefile. |