diff options
author | toshii <toshii> | 2007-01-13 05:36:35 +0000 |
---|---|---|
committer | toshii <toshii> | 2007-01-13 05:36:35 +0000 |
commit | cac6febbea0df7f1a260d8c5556799d3942f222d (patch) | |
tree | 9e1290ed727e8c71a699127c9b37b2a97d928c6a /x11/xf86-video-nv | |
parent | b793c18cb5db7dd6746e1596aa1123c342ef4313 (diff) | |
download | pkgsrc-cac6febbea0df7f1a260d8c5556799d3942f222d.tar.gz |
Fix two more sed REs to get the correct package version numbers compiled.
Diffstat (limited to 'x11/xf86-video-nv')
-rw-r--r-- | x11/xf86-video-nv/distinfo | 4 | ||||
-rw-r--r-- | x11/xf86-video-nv/patches/patch-aa | 21 |
2 files changed, 19 insertions, 6 deletions
diff --git a/x11/xf86-video-nv/distinfo b/x11/xf86-video-nv/distinfo index af8b84489a5..7a8b04b3694 100644 --- a/x11/xf86-video-nv/distinfo +++ b/x11/xf86-video-nv/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/01/13 05:15:50 toshii Exp $ +$NetBSD: distinfo,v 1.2 2007/01/13 05:36:35 toshii Exp $ SHA1 (xf86-video-nv-1.2.2.tar.bz2) = d71592820f8f4311cf946252feb7e06630bd5780 RMD160 (xf86-video-nv-1.2.2.tar.bz2) = 963f70a6788982204b2309237ecddd6df5662083 Size (xf86-video-nv-1.2.2.tar.bz2) = 297435 bytes -SHA1 (patch-aa) = e668c55685b3b7ce26e659e83a32a09c523baab8 +SHA1 (patch-aa) = de29e063529ec92ee1ccf6b09b306fdccd3ff245 diff --git a/x11/xf86-video-nv/patches/patch-aa b/x11/xf86-video-nv/patches/patch-aa index bf15e156c4f..53d99bee28b 100644 --- a/x11/xf86-video-nv/patches/patch-aa +++ b/x11/xf86-video-nv/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2007/01/13 05:15:50 toshii Exp $ +$NetBSD: patch-aa,v 1.2 2007/01/13 05:36:35 toshii Exp $ ---- configure.orig 2007-01-13 12:47:16.000000000 +0900 +--- configure.orig 2006-12-16 08:48:45.000000000 +0900 +++ configure -@@ -21458,7 +21458,7 @@ echo "$as_me: Building with package name +@@ -21458,10 +21458,10 @@ echo "$as_me: Building with package name fi cat >>confdefs.h <<_ACEOF @@ -10,4 +10,17 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/01/13 05:15:50 toshii Exp $ +#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | sed -ne 's/^\([^\.][^\.]*\).*/\1/p'` _ACEOF - PVM=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\)\.\([^\.]\+\).*/\2/p'` +- PVM=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\)\.\([^\.]\+\).*/\2/p'` ++ PVM=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.][^\.]*\)\.\([^\.][^\.]*\).*/\2/p'` + if test "x$PVM" = "x"; then + PVM="0" + fi +@@ -21470,7 +21470,7 @@ cat >>confdefs.h <<_ACEOF + #define PACKAGE_VERSION_MINOR $PVM + _ACEOF + +- PVP=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\)\.\([^\.]\+\)\.\([^\.]\+\).*/\3/p'` ++ PVP=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.][^\.]*\)\.\([^\.][^\.]*\)\.\([^\.][^\.]*\).*/\3/p'` + if test "x$PVP" = "x"; then + PVP="0" + fi |