pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpeg_encode DragonFly and FreeBSD have sys_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0533c7281b5e
branches:  trunk
changeset: 505387:0533c7281b5e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 03 14:20:41 2006 +0000

description:
DragonFly and FreeBSD have sys_errlst declared as well. Always use
ernro.h.

diffstat:

 multimedia/mpeg_encode/distinfo         |   5 +++--
 multimedia/mpeg_encode/patches/patch-ac |  16 +++++++---------
 multimedia/mpeg_encode/patches/patch-ao |  24 ++++++++++++++++++++++++
 3 files changed, 34 insertions(+), 11 deletions(-)

diffs (85 lines):

diff -r 61694b6b484f -r 0533c7281b5e multimedia/mpeg_encode/distinfo
--- a/multimedia/mpeg_encode/distinfo   Tue Jan 03 14:10:14 2006 +0000
+++ b/multimedia/mpeg_encode/distinfo   Tue Jan 03 14:20:41 2006 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2005/10/05 11:45:46 salo Exp $
+$NetBSD: distinfo,v 1.5 2006/01/03 14:20:41 joerg Exp $
 
 SHA1 (mpeg_encode-1.5b-src.tar.gz) = 853cd175f73b8064ce28deb256e4b81159a684ed
 RMD160 (mpeg_encode-1.5b-src.tar.gz) = 24c0a1090076630c292936639c5fb275778f6470
 Size (mpeg_encode-1.5b-src.tar.gz) = 2028724 bytes
 SHA1 (patch-aa) = 04221eb3d4cf85b206d27a2f425719ed7c4a5ec1
 SHA1 (patch-ab) = f2cdf02d49b726b4fb7fb210074e7ba53b9b380b
-SHA1 (patch-ac) = 8f89257bd93584cd028b659bb8c3379d713339da
+SHA1 (patch-ac) = 152c0bd7737a307d1aa89ae820e219300c124085
 SHA1 (patch-ad) = 670a244680d09cb9f558a8777ec8f189145342f8
 SHA1 (patch-ae) = 414b8c45c65892b9e161c285c5c0327103f8f474
 SHA1 (patch-ag) = 8cc4ffab9263f33e4a7da6779cdbbb59d010b475
@@ -16,3 +16,4 @@
 SHA1 (patch-al) = be13795b7db10224974f222ce174fb1305d0e582
 SHA1 (patch-am) = 983546e7384fc96f0f182ae23bf5ddd19f7a0008
 SHA1 (patch-an) = 69e70b75b558637b3a2afb612871f7d4a8538c92
+SHA1 (patch-ao) = a771c6445fb792f0ea0fd41710302601d45d81fe
diff -r 61694b6b484f -r 0533c7281b5e multimedia/mpeg_encode/patches/patch-ac
--- a/multimedia/mpeg_encode/patches/patch-ac   Tue Jan 03 14:10:14 2006 +0000
+++ b/multimedia/mpeg_encode/patches/patch-ac   Tue Jan 03 14:20:41 2006 +0000
@@ -1,24 +1,22 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $
+$NetBSD: patch-ac,v 1.2 2006/01/03 14:20:41 joerg Exp $
 
---- libpnmrw.c.orig    Thu Aug 17 00:24:26 1995
+--- libpnmrw.c.orig    1995-08-16 22:24:26.000000000 +0000
 +++ libpnmrw.c
-@@ -28,6 +28,9 @@
+@@ -28,6 +28,7 @@
  #endif
  
  #include <stdio.h>
-+#ifdef __NetBSD__
-+#  include <errno.h>
-+#endif
++#include <errno.h>
  #include "libpnmrw.h"
  
  /* if don't have string.h, try strings.h */
-@@ -126,8 +129,10 @@
+@@ -126,8 +127,9 @@ static void
    pm_perror( reason )
  char* reason;
  {
-+#ifndef __NetBSD__
++#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__)
    extern char* sys_errlist[];
-   extern int errno;
+-  extern int errno;
 +#endif
    char* e;
  
diff -r 61694b6b484f -r 0533c7281b5e multimedia/mpeg_encode/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/patches/patch-ao   Tue Jan 03 14:20:41 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ao,v 1.1 2006/01/03 14:20:41 joerg Exp $
+
+--- headers/libpnmrw.h.orig    2006-01-03 14:15:10.000000000 +0000
++++ headers/libpnmrw.h
+@@ -13,18 +13,7 @@
+ #ifndef _PNMRW_H_
+ #define _PNMRW_H_
+ 
+-/* CONFIGURE: On some systems, malloc.h doesn't declare these, so we have
+-** to do it.  On other systems, for example HP/UX, it declares them
+-** incompatibly.  And some systems, for example Dynix, don't have a
+-** malloc.h at all.  A sad situation.  If you have compilation problems
+-** that point here, feel free to tweak or remove these declarations.
+-*/
+-#include <malloc.h>
+-#if !defined(sco)  &&  !defined(sgi) && !defined(IRIX)
+-extern char* malloc();
+-#endif
+-/* End of configurable definitions. */
+-
++#include <stdlib.h>
+ 
+ /* Definitions to make PBMPLUS work with either ANSI C or C Classic. */
+ 



Home | Main Index | Thread Index | Old Index