pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32884: pkg: multimedia/libmpeg3 statvfs support



>Number:         32884
>Category:       pkg
>Synopsis:       NetBSD statvfs changed at 200040000, rather than 299000900
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 20 17:55:00 +0000 2006
>Originator:     Eric Schnoebelen
>Release:        NetBSD 2.0G
>Organization:
None around here.
>Environment:
System: NetBSD thezew.cirr.com 2.0G NetBSD 2.0G (GENERIC) #9: Fri Aug 27 
15:51:57 CDT 2004 
eric%egsner.cirr.com@localhost:/work/eric/NetBSD-current/obj/alpha/sys/arch/alpha/compile/GENERIC
 alpha
Architecture: alpha
Machine: alpha
>Description:
        NetBSD changed from the statfs to statvfs structures at _NetBSD_Version_
        200040000 rather than 299000900.
>How-To-Repeat:
        (login into NetBSD 2.0G system)
        cd $PKGSRC/multimedia/libmpeg3
        make
        Watch errors about statfs not defined in mpeg3io.c
>Fix:
#   the following small change allows it to build on NetBSD 2.0G.
#   (yes, I know I should upgrade.)
cvs diff: Diffing .
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libmpeg3/distinfo,v
retrieving revision 1.8
diff -b -u -w -r1.8 distinfo
--- distinfo    6 Dec 2005 17:47:56 -0000       1.8
+++ distinfo    20 Feb 2006 17:49:45 -0000
@@ -7,7 +7,7 @@
 SHA1 (patch-ab) = 3223b9f7d81dd73eec6767f9e1bb2cb26b4bcd80
 SHA1 (patch-ac) = 68576efb30a0d6f4cfe23fd543a04c4f3ada8936
 SHA1 (patch-ad) = 86edf9af264370bf89050b02e956b5bacc86881e
-SHA1 (patch-ae) = 5418e29f4f5c30f235cfb075d99c0022d0ad2394
+SHA1 (patch-ae) = 836e8dff769319fe7b419295a330353b6be1cffe
 SHA1 (patch-af) = 7e62a236ee0a7398c1b1a3e994261ebb9be50bae
 SHA1 (patch-ag) = bf321ac689b82889ca1a2bb8a96cb6e387280f32
 SHA1 (patch-ah) = 58ffda3df9be3b089de362451ddf249a74fac5be
cvs diff: Diffing patches
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libmpeg3/patches/patch-ae,v
retrieving revision 1.6
diff -b -u -w -r1.6 patch-ae
--- patches/patch-ae    6 Dec 2005 17:47:56 -0000       1.6
+++ patches/patch-ae    20 Feb 2006 17:49:45 -0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.6 2005/12/06 17:47:56 joerg Exp $
+$NetBSD$
 
---- mpeg3io.c.orig     2001-05-20 13:05:26.000000000 +1000
+--- mpeg3io.c.orig     2001-05-19 22:05:26.000000000 -0500
 +++ mpeg3io.c
 @@ -1,8 +1,21 @@
  #include "mpeg3private.h"
@@ -12,7 +12,7 @@
 +# include <sys/param.h>
 +# include <sys/mount.h>
 +
-+# if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900   /* 2.99.9 */
++# if defined(__NetBSD__) && __NetBSD_Version__ >= 200040000   /* 2.99.9 */
 +#  define statfs statvfs
 +# endif
 +




Home | Main Index | Thread Index | Old Index