Debian Codegraph @

debian/patches/01-set-NV_DRIVER_DATE-from-ChangeLog.diff

raw
1 Make sure to set NV_DRIVER_DATE properly, using ChangeLog instead of the
2 output of git log, since most of the time, building won't happen from
3 the git repository.
4 ---
5 configure.ac | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 --- a/configure.ac
9 +++ b/configure.ac
10 @@ -28,7 +28,7 @@ AC_INIT([xf86-video-nouveau],
11 [xf86-video-nouveau])
12
13 AC_DEFINE_UNQUOTED([NV_DRIVER_DATE],
14 - [$(echo -n \";git log |head -3|tail -1|tr -d '\n';echo -n \")],
15 + [$(echo -n \";cat $CURDIR/ChangeLog |head -3|tail -1|tr -d '\n';echo -n \")],
16 [Driver date])
17
18 AC_CONFIG_SRCDIR([Makefile.am])