]> git.pld-linux.org Git - packages/nginx.git/blame - nginx-uname.patch
- this patch is needed to build nginx with gcc 4.6
[packages/nginx.git] / nginx-uname.patch
CommitLineData
0a427de7 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.05432 seconds and 4 git commands to generate.