summaryrefslogtreecommitdiff
path: root/print/transfig
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-09-07 14:10:56 +0000
committeradam <adam@pkgsrc.org>2005-09-07 14:10:56 +0000
commit82148fd90e171ef7ae701e6524bd005c77b51a80 (patch)
tree62918c74ec2f40cf80443b6d95de7ef548696285 /print/transfig
parent5801e049c85eb2ad1f37c1ad871df808732c852a (diff)
downloadpkgsrc-82148fd90e171ef7ae701e6524bd005c77b51a80.tar.gz
Fix building on DragonflyBSD and FreeBSD; courtesy of Steve O'Hara-Smith
Diffstat (limited to 'print/transfig')
-rw-r--r--print/transfig/Makefile20
-rw-r--r--print/transfig/distinfo4
-rw-r--r--print/transfig/patches/patch-ae18
3 files changed, 24 insertions, 18 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile
index 7817ecea6c2..2514271101c 100644
--- a/print/transfig/Makefile
+++ b/print/transfig/Makefile
@@ -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
-COMMENT= TeX document creation tool utilizing portable graphics
+MAINTAINER= root@garbled.net
+COMMENT= TeX document creation tool utilizing portable graphics
-USE_IMAKE= YES
+USE_IMAKE= yes
.include "../../mk/bsd.prefs.mk"
@@ -26,5 +25,4 @@ USE_TOOLS+= gmake
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff --git a/print/transfig/distinfo b/print/transfig/distinfo
index 5f93aa53594..c001aa04fbb 100644
--- a/print/transfig/distinfo
+++ b/print/transfig/distinfo
@@ -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-aa) = efc4eb298f4c5871432569c041226127ee0527c1
SHA1 (patch-ab) = f1193557969ca7f6cc9d507710348d38dbfb7bf6
SHA1 (patch-ac) = ac0823470d4de6df7bd5e3ff0f87decf8b4c44b8
SHA1 (patch-ad) = b3a0d55eca4defbec4276f9aa4ce8f1352c3f1fb
-SHA1 (patch-ae) = 55f6db3bd8fa02a47d759ff77fa2b6de1f554149
+SHA1 (patch-ae) = 6afb961c66ce594ac9044fb74364998219669d3f
diff --git a/print/transfig/patches/patch-ae b/print/transfig/patches/patch-ae
index 1db5fe47b43..5032eaef109 100644
--- a/print/transfig/patches/patch-ae
+++ b/print/transfig/patches/patch-ae
@@ -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 @@ $NetBSD: patch-ae,v 1.2 2004/05/20 21:04:17 wiz Exp $
#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
+