]> git.pld-linux.org Git - packages/nginx.git/blob - nginx-uname.patch
- up to 0.7.64 version
[packages/nginx.git] / nginx-uname.patch
1 --- nginx-0.7.61/auto/os/linux.old      2009-06-28 16:31:31.000000000 +0200
2 +++ nginx-0.7.61/auto/os/linux  2009-06-28 16:32:08.000000000 +0200
3 @@ -18,7 +18,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURC
4  # Linux kernel version
5  
6  version=$((`uname -r \
7 -         | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^.-]*\).*/\1*256*256+\2*256+\3/'`))
8 +         | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^._]*\).*/\1*256*256+\2*256+\3/'`))
9  
10  version=${version:-0}
11  
This page took 0.023554 seconds and 3 git commands to generate.