diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-01-21 14:02:45 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-01-21 14:02:45 +0000 |
commit | 539906edd2ea654b26f01385ce6eeb7a2e3f1c46 (patch) | |
tree | 72ee290d10e92543e571eb6aaed82cf42fe83380 /misc | |
parent | be09d344576efe6a616ac57b1ef542d116d4e53e (diff) | |
download | pkgsrc-539906edd2ea654b26f01385ce6eeb7a2e3f1c46.tar.gz |
fix format string. Fixes recently noted build problem on alpha.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/libdvdread/distinfo | 3 | ||||
-rw-r--r-- | misc/libdvdread/patches/patch-aa | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/misc/libdvdread/distinfo b/misc/libdvdread/distinfo index c0afe40d737..67ca55f4007 100644 --- a/misc/libdvdread/distinfo +++ b/misc/libdvdread/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/12/10 20:26:38 veego Exp $ +$NetBSD: distinfo,v 1.2 2002/01/21 14:02:45 dmcmahill Exp $ SHA1 (libdvdread-0.9.2.tar.gz) = 68fbd4a583b82b052f8a766c918f7814e805ae28 Size (libdvdread-0.9.2.tar.gz) = 195657 bytes +SHA1 (patch-aa) = 9955a59f0776214df8d234ad11abc7a4deb53898 diff --git a/misc/libdvdread/patches/patch-aa b/misc/libdvdread/patches/patch-aa new file mode 100644 index 00000000000..18a28fb5419 --- /dev/null +++ b/misc/libdvdread/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1 2002/01/21 14:02:46 dmcmahill Exp $ + +fix format string for LP64 machines. + +--- dvdread/dvd_reader.c.orig Tue Oct 9 16:07:40 2001 ++++ dvdread/dvd_reader.c Sun Jan 20 10:10:50 2002 +@@ -862,6 +862,6 @@ + offset * (int64_t) DVD_VIDEO_LB_LEN, SEEK_SET ); + if( off != ( offset * (int64_t) DVD_VIDEO_LB_LEN ) ) { +- fprintf( stderr, "libdvdread: Can't seek to block %d\n", +- offset ); ++ fprintf( stderr, "libdvdread: Can't seek to block %lld\n", ++ (long long) offset ); + return 0; + } +@@ -879,6 +879,6 @@ + offset * (int64_t) DVD_VIDEO_LB_LEN, SEEK_SET ); + if( off != ( offset * (int64_t) DVD_VIDEO_LB_LEN ) ) { +- fprintf( stderr, "libdvdread: Can't seek to block %d\n", +- offset ); ++ fprintf( stderr, "libdvdread: Can't seek to block %lld\n", ++ (long long) offset ); + return 0; + } |