pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libmpeg3 Improve patch for DragonFlyBSD -- ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8424ceba0152
branches:  trunk
changeset: 555021:8424ceba0152
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 23 13:24:30 2009 +0000

description:
Improve patch for DragonFlyBSD -- fixes compilation.
No change for other platforms, so no PKGREVISION bump.

Patch from Steve O'Hara-Smith on pkgsrc-users.

diffstat:

 multimedia/libmpeg3/distinfo         |   4 ++--
 multimedia/libmpeg3/patches/patch-ae |  11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r 920b9e9036c9 -r 8424ceba0152 multimedia/libmpeg3/distinfo
--- a/multimedia/libmpeg3/distinfo      Mon Feb 23 12:58:44 2009 +0000
+++ b/multimedia/libmpeg3/distinfo      Mon Feb 23 13:24:30 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2009/01/29 17:53:49 abs Exp $
+$NetBSD: distinfo,v 1.19 2009/02/23 13:24:30 wiz Exp $
 
 SHA1 (libmpeg3-1.8-src.tar.bz2) = dae3fc1d68533e71cb9f77adf124bfbfb4e13ae6
 RMD160 (libmpeg3-1.8-src.tar.bz2) = bc01d72b1e1b3e91ff206bae7a314b939c44b192
@@ -7,7 +7,7 @@
 SHA1 (patch-ab) = 4ca251c445658ad2844b7202ae3a4e1690573f18
 SHA1 (patch-ac) = cfee202be3b9ec53e597a53dc8a6708506c053ad
 SHA1 (patch-ad) = e7d5164de3303346b2e92994fc25858323d455b5
-SHA1 (patch-ae) = 740c7ced0043c5476bb7fd1f2d21605cb332984b
+SHA1 (patch-ae) = 1ede8f615f703eb43b074465cc1bed86fccedfff
 SHA1 (patch-ag) = bf321ac689b82889ca1a2bb8a96cb6e387280f32
 SHA1 (patch-ah) = fd039c1d2fdde4ea0e6f7b95cbf18027000fa015
 SHA1 (patch-ai) = 859735f677cb469b782e27da2a14bacd3fd02003
diff -r 920b9e9036c9 -r 8424ceba0152 multimedia/libmpeg3/patches/patch-ae
--- a/multimedia/libmpeg3/patches/patch-ae      Mon Feb 23 12:58:44 2009 +0000
+++ b/multimedia/libmpeg3/patches/patch-ae      Mon Feb 23 13:24:30 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.13 2009/01/29 17:53:49 abs Exp $
+$NetBSD: patch-ae,v 1.14 2009/02/23 13:24:31 wiz Exp $
 
---- mpeg3io.c.orig     2008-07-05 01:47:42.000000000 +0100
+--- mpeg3io.c.orig     2008-07-05 00:47:42 +0000
 +++ mpeg3io.c
-@@ -1,10 +1,42 @@
+@@ -1,10 +1,43 @@
  #include "mpeg3private.h"
  #include "mpeg3protos.h"
  
@@ -28,6 +28,7 @@
 +# include <sys/types.h>
 +# define fopen64 fopen
 +# define fseeko64 fseek
++# define stat64 stat
 +
 +#elif defined(__APPLE__) && defined(__MACH__)
 +
@@ -46,7 +47,7 @@
  #include <sys/stat.h>
  
  mpeg3_fs_t* mpeg3_new_fs(char *path)
-@@ -215,16 +247,26 @@ void mpeg3io_complete_path(char *complet
+@@ -215,16 +248,26 @@ void mpeg3io_complete_path(char *complet
  
  int mpeg3io_device(char *path, char *device)
  {
@@ -73,7 +74,7 @@
        fp = setmntent(MOUNTED, "r");
      while(fp && (mnt = getmntent(fp)))
        {
-@@ -236,6 +278,7 @@ int mpeg3io_device(char *path, char *dev
+@@ -236,6 +279,7 @@ int mpeg3io_device(char *path, char *dev
                }
        }
        endmntent(fp);



Home | Main Index | Thread Index | Old Index