summaryrefslogtreecommitdiff
path: root/cad/geda
diff options
context:
space:
mode:
Diffstat (limited to 'cad/geda')
-rw-r--r--cad/geda/Makefile15
-rw-r--r--cad/geda/Makefile.common4
-rw-r--r--cad/geda/PLIST5
-rw-r--r--cad/geda/distinfo7
-rw-r--r--cad/geda/patches/patch-aa30
5 files changed, 47 insertions, 14 deletions
diff --git a/cad/geda/Makefile b/cad/geda/Makefile
index b6d18c89a05..60af6e5d6cd 100644
--- a/cad/geda/Makefile
+++ b/cad/geda/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2004/02/23 13:47:26 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.34 2004/03/05 13:03:47 dmcmahill Exp $
#
DISTNAME= geda-${PKGVERSION}
-PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PKGVERSION}/ \
ftp://ieee.ing.uniroma1.it/pub/geda/devel/${PKGVERSION}/ \
@@ -13,12 +12,12 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.geda.seul.org/
COMMENT= Toolset for automating electronic design
-DEPENDS+= gschem-${PKGVERSION}nb2:../../cad/gschem
-DEPENDS+= gnetlist-${PKGVERSION}nb2:../../cad/gnetlist
-DEPENDS+= gsymcheck-${PKGVERSION}nb2:../../cad/gsymcheck
-DEPENDS+= geda-utils-${PKGVERSION}nb2:../../cad/geda-utils
-DEPENDS+= geda-docs-${PKGVERSION}:../../cad/geda-docs
-DEPENDS+= geda-examples-${PKGVERSION}:../../cad/geda-examples
+DEPENDS+= gschem-${PKGVERSION}{,nb[0-9]+}:../../cad/gschem
+DEPENDS+= gnetlist-${PKGVERSION}{,nb[0-9]+}:../../cad/gnetlist
+DEPENDS+= gsymcheck-${PKGVERSION}{,nb[0-9]+}:../../cad/gsymcheck
+DEPENDS+= geda-utils-${PKGVERSION}{,nb[0-9]+}:../../cad/geda-utils
+DEPENDS+= geda-docs-${PKGVERSION}{,nb[0-9]+}:../../cad/geda-docs
+DEPENDS+= geda-examples-${PKGVERSION}{,nb[0-9]+}:../../cad/geda-examples
.include "Makefile.common"
diff --git a/cad/geda/Makefile.common b/cad/geda/Makefile.common
index ac37780c668..d87b0e0fef1 100644
--- a/cad/geda/Makefile.common
+++ b/cad/geda/Makefile.common
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.1 2004/02/22 20:37:45 dmcmahill Exp $
+# $NetBSD: Makefile.common,v 1.2 2004/03/05 13:03:47 dmcmahill Exp $
#
DIST_SUBDIR= geda
-PKGVERSION= 20030901
+PKGVERSION= 20040111
diff --git a/cad/geda/PLIST b/cad/geda/PLIST
index 3acfb555412..264fb6252bc 100644
--- a/cad/geda/PLIST
+++ b/cad/geda/PLIST
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/07/15 09:23:31 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/03/05 13:03:47 dmcmahill Exp $
bin/geda
+bin/raw2gw
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/geda.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/geda.mo
diff --git a/cad/geda/distinfo b/cad/geda/distinfo
index 16ba5bb938d..636e1f149b5 100644
--- a/cad/geda/distinfo
+++ b/cad/geda/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/09/10 23:43:33 dmcmahill Exp $
+$NetBSD: distinfo,v 1.3 2004/03/05 13:03:47 dmcmahill Exp $
-SHA1 (geda/geda-20030901.tar.gz) = 15f7ba1298ccc712a466f4af870700259e975a3d
-Size (geda/geda-20030901.tar.gz) = 238373 bytes
+SHA1 (geda/geda-20040111.tar.gz) = cfa387e046658c9a39eb976c2792b00663f24ce2
+Size (geda/geda-20040111.tar.gz) = 329653 bytes
+SHA1 (patch-aa) = 27f6766661153845e8333d4f83a1b2fbc42b70d1
diff --git a/cad/geda/patches/patch-aa b/cad/geda/patches/patch-aa
new file mode 100644
index 00000000000..e82bad81ea5
--- /dev/null
+++ b/cad/geda/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.9 2004/03/05 13:03:47 dmcmahill Exp $
+
+--- graphman/raw2gw.c.orig Thu Dec 11 08:15:03 2003
++++ graphman/raw2gw.c
+@@ -27,6 +27,7 @@
+ */
+
+ #include <stdio.h>
++#include <sys/param.h>
+ #include <unistd.h>
+
+
+@@ -34,7 +35,7 @@
+ int main(int iArgn, const char *szArgv[])
+ {
+ FILE *hFile;
+- char *szDir;
++ char szDir[MAXPATHLEN];
+
+ if (iArgn < 2)
+ return 0;
+@@ -47,7 +48,7 @@ int main(int iArgn, const char *szArgv[]
+ return -1;
+ }
+
+- szDir = get_current_dir_name();
++ getcwd(szDir, MAXPATHLEN);
+
+ hFile = fopen(szArgv[2], "w");
+ if (hFile == NULL)