pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/transfig Fix building on DragonflyBSD and FreeBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23fa429ad8a5
branches:  trunk
changeset: 499011:23fa429ad8a5
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 07 14:10:56 2005 +0000

description:
Fix building on DragonflyBSD and FreeBSD; courtesy of Steve O'Hara-Smith

diffstat:

 print/transfig/Makefile         |  20 +++++++++-----------
 print/transfig/distinfo         |   4 ++--
 print/transfig/patches/patch-ae |  18 +++++++++++++-----
 3 files changed, 24 insertions(+), 18 deletions(-)

diffs (87 lines):

diff -r 3e6147f21662 -r 23fa429ad8a5 print/transfig/Makefile
--- a/print/transfig/Makefile   Wed Sep 07 14:10:16 2005 +0000
+++ b/print/transfig/Makefile   Wed Sep 07 14:10:56 2005 +0000
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile,v 1.27 2005/05/22 20:08:29 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.28 2005/09/07 14:10:56 adam Exp $
 
-DISTNAME=              transfig.3.2.4
-PKGNAME=               transfig-3.2.4
-PKGREVISION=           2
-CATEGORIES=            graphics print
-MASTER_SITES=          ftp://epb.lbl.gov/xfig/
+DISTNAME=      transfig.3.2.4
+PKGNAME=       transfig-3.2.4
+PKGREVISION=   2
+CATEGORIES=    graphics print
+MASTER_SITES=  ftp://epb.lbl.gov/xfig/
 
-MAINTAINER=            root%garbled.net@localhost
-COMMENT=               TeX document creation tool utilizing portable graphics
+MAINTAINER=    root%garbled.net@localhost
+COMMENT=       TeX document creation tool utilizing portable graphics
 
-USE_IMAKE=             YES
+USE_IMAKE=             yes
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -26,5 +25,4 @@
 
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/xpm/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"
diff -r 3e6147f21662 -r 23fa429ad8a5 print/transfig/distinfo
--- a/print/transfig/distinfo   Wed Sep 07 14:10:16 2005 +0000
+++ b/print/transfig/distinfo   Wed Sep 07 14:10:56 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/02/24 12:51:45 agc Exp $
+$NetBSD: distinfo,v 1.11 2005/09/07 14:10:56 adam Exp $
 
 SHA1 (transfig.3.2.4.tar.gz) = edfec1865dbfe9e7a06ae8be016f1a489b3d307d
 RMD160 (transfig.3.2.4.tar.gz) = 7b1238f3d36c6dc30033dca43348e3c7d3116610
@@ -7,4 +7,4 @@
 SHA1 (patch-ab) = f1193557969ca7f6cc9d507710348d38dbfb7bf6
 SHA1 (patch-ac) = ac0823470d4de6df7bd5e3ff0f87decf8b4c44b8
 SHA1 (patch-ad) = b3a0d55eca4defbec4276f9aa4ce8f1352c3f1fb
-SHA1 (patch-ae) = 55f6db3bd8fa02a47d759ff77fa2b6de1f554149
+SHA1 (patch-ae) = 6afb961c66ce594ac9044fb74364998219669d3f
diff -r 3e6147f21662 -r 23fa429ad8a5 print/transfig/patches/patch-ae
--- a/print/transfig/patches/patch-ae   Wed Sep 07 14:10:16 2005 +0000
+++ b/print/transfig/patches/patch-ae   Wed Sep 07 14:10:56 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.2 2004/05/20 21:04:17 wiz Exp $
+$NetBSD: patch-ae,v 1.3 2005/09/07 14:10:57 adam Exp $
 
---- fig2dev/fig2dev.h.orig     Wed Dec 18 22:45:28 2002
-+++ fig2dev/fig2dev.h
+--- fig2dev/fig2dev.h.orig     2002-12-18 22:45:28.000000000 +0000
++++ fig2dev/fig2dev.h  2005-09-02 14:20:02.000000000 +0100
 @@ -22,7 +22,6 @@
  #include <sys/file.h>
  #include <signal.h>
@@ -10,12 +10,20 @@
  #include <pwd.h>
  #include <errno.h>
  #include <time.h>
-@@ -210,7 +209,7 @@ struct Cmap {
+@@ -210,13 +209,14 @@
  #endif /* MAXPATHLEN */
  #endif /* PATH_MAX */
  
 -#if ( !defined(__NetBSD__) && !defined(__DARWIN__))
-+#if ( !defined(__NetBSD__) && !defined(__DARWIN__) && !defined(__FreeBSD__))
++#if ( !defined(__NetBSD__) && !defined(__DARWIN__) && !defined(__FreeBSD__) &&!defined(__DragonFly__))
  extern int            sys_nerr, errno;
  #endif
  
+ #if ( !(defined(BSD) && (BSD >= 199306)) && !defined(__NetBSD__) && \
+       !defined(__GNU_LIBRARY__) && !defined(__FreeBSD__) && \
+-      !defined(__GLIBC__) && !defined(__CYGWIN__) && !defined(__DARWIN__))
++      !defined(__GLIBC__) && !defined(__CYGWIN__) && \
++      !defined(__DARWIN__) && !defined(__DragonFly__))
+           extern char *sys_errlist[];
+ #endif
+ 



Home | Main Index | Thread Index | Old Index