From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 23 17:50:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A68D16A49E for ; Fri, 23 Jun 2006 17:50:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2ADC43D45 for ; Fri, 23 Jun 2006 17:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5NHoMk8077465 for ; Fri, 23 Jun 2006 17:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5NHoMUv077464; Fri, 23 Jun 2006 17:50:22 GMT (envelope-from gnats) Resent-Date: Fri, 23 Jun 2006 17:50:22 GMT Resent-Message-Id: <200606231750.k5NHoMUv077464@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stanislav Sedov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90C5C16A492 for ; Fri, 23 Jun 2006 17:43:43 +0000 (UTC) (envelope-from stas@310.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9067943D4C for ; Fri, 23 Jun 2006 17:43:39 +0000 (GMT) (envelope-from stas@310.ru) Received: from [213.87.86.30] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1FtpfQ-0005gp-PH; Fri, 23 Jun 2006 21:42:10 +0400 Received: from fonon.realnet (localhost [127.0.0.1]) by fonon.realnet (8.13.6/8.13.6) with ESMTP id k5NHgeFv078757; Fri, 23 Jun 2006 21:42:47 +0400 (MSD) (envelope-from stas@fonon.realnet) Received: (from stas@localhost) by fonon.realnet (8.13.6/8.13.6/Submit) id k5NHgax3078756; Fri, 23 Jun 2006 21:42:36 +0400 (MSD) (envelope-from stas) Message-Id: <200606231742.k5NHgax3078756@fonon.realnet> Date: Fri, 23 Jun 2006 21:42:36 +0400 (MSD) From: Stanislav Sedov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: dmlb@dmlb.org Subject: ports/99386: gwave doesn't build on > 5.X X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stanislav Sedov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 17:50:23 -0000 >Number: 99386 >Category: ports >Synopsis: gwave doesn't build on > 5.X >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 23 17:50:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 root@fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386 >Description: gwave is broken on > 5.X Also update version. Some options added. >How-To-Repeat: >Fix: --- gwave.diff begins here --- diff -ruN gwave.orig/Makefile gwave/Makefile --- gwave.orig/Makefile Fri Jun 23 21:39:16 2006 +++ gwave/Makefile Fri Jun 23 21:35:09 2006 @@ -6,8 +6,7 @@ # PORTNAME= gwave -PORTVERSION= 20030804 -PORTREVISION= 3 +PORTVERSION= 20051222 CATEGORIES= cad MASTER_SITES= http://www.cs.unc.edu/~tell/dist/ \ http://geda.seul.org/dist/ @@ -15,21 +14,65 @@ MAINTAINER= dmlb@dmlb.org COMMENT= Waveform viewer for analogue electronic simulation tools -RUN_DEPENDS= graph:${PORTSDIR}/graphics/plotutils +#RUN_DEPENDS= graph:${PORTSDIR}/graphics/plotutils LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \ guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk -USE_AUTOTOOLS= autoconf:253 USE_GNOME= gtk12 -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" - -MAN1= sp2sp.1 +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/X11R6/include" \ + LIBS="-L${LOCALBASE}/lib -I/usr/X11R6/lib" + +OPTIONS= PLOTUTILS "Use GNU plotutils for plotting" off \ + GNUPLOT "Use gnuplot for plotting" on \ + DOCS "Install documentation" on \ + EXAMPLES "Install example spice files" off + +DOCFILES= Guile.notes \ + gwave-concepts.txt \ + gwave-hooks.txt \ + gwave-procedures.txt \ + gwave-variables.txt \ + hspice-output.txt \ + hspice.txt \ + spice3.txt .include -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" +.if defined(WITH_PLOTUTILS) +RUN_DEPENDS+= graph:${PORTSDIR}/graphics/plotutils +.endif + +.if defined(WITH_GNUPLOT) +RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot +.endif + +.if defined(WITH_DOCS) +PLIST_SUB+= DOCS="" +.else +PLIST_SUB+= DOCS="@comment " +.endif + +.if defined(WITH_EXAMPLES) +PLIST_SUB+= EXAMPLES="" +.else +PLIST_SUB+= EXAMPLES="@comment " +.endif + +post-install: +.if defined(WITH_DOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCFILES} + @${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR} +.endfor .endif + +.if defined(WITH_EXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +MAN1= sp2sp.1 .include diff -ruN gwave.orig/distinfo gwave/distinfo --- gwave.orig/distinfo Fri Jun 23 21:39:16 2006 +++ gwave/distinfo Fri Jun 23 20:52:47 2006 @@ -1,3 +1,3 @@ -MD5 (gwave-20030804.tar.gz) = 4b8ae59dd4bd80520e64df43bc13f7ce -SHA256 (gwave-20030804.tar.gz) = 4c1f162b01d2745607e68238d6ea75108225526cbe1fa4b65d025e6f306ed97b -SIZE (gwave-20030804.tar.gz) = 437860 +MD5 (gwave-20051222.tar.gz) = 5defce2525247300dcd432ad12bbf173 +SHA256 (gwave-20051222.tar.gz) = 32c9d78f702f0620101a208efc3704c10c9c23be38868463a2db96a49c9344e3 +SIZE (gwave-20051222.tar.gz) = 479477 diff -ruN gwave.orig/files/patch-wavefile.c gwave/files/patch-wavefile.c --- gwave.orig/files/patch-wavefile.c Fri Jun 23 21:39:16 2006 +++ gwave/files/patch-wavefile.c Thu Jan 1 03:00:00 1970 @@ -1,10 +0,0 @@ ---- spicefile/wavefile.c~ Sun Jun 16 12:16:05 2002 -+++ spicefile/wavefile.c Sun Jun 16 12:01:26 2002 -@@ -32,6 +32,7 @@ - - - #ifdef HAVE_POSIX_REGEXP -+#include - #include - #define REGEXP_T regex_t - #define regexp_test(c,s) (regexec((c), (s), 0, NULL, 0) == 0) diff -ruN gwave.orig/pkg-plist gwave/pkg-plist --- gwave.orig/pkg-plist Fri Jun 23 21:39:16 2006 +++ gwave/pkg-plist Fri Jun 23 21:37:11 2006 @@ -1,22 +1,67 @@ -bin/sp2sp bin/gwave bin/gwave-exec bin/gwaverepl +bin/sp2sp +bin/sweepsplit share/guile/app/gwave/system.gwaverc share/guile/app/gwave/cmds.scm share/guile/app/gwave/dynlink.scm +share/guile/app/gwave/export-gnugraph.scm +share/guile/app/gwave/export-gnuplot.scm +share/guile/app/gwave/export.scm +share/guile/app/gwave/extra-menus.scm share/guile/app/gwave/globals.scm +share/guile/app/gwave/gtk-helpers.scm +share/guile/app/gwave/gwave-config.scm +share/guile/app/gwave/gwave-startup.scm share/guile/app/gwave/minimal.scm share/guile/app/gwave/std-args.scm share/guile/app/gwave/std-menus.scm share/guile/app/gwave/std-toolbar.scm -share/guile/app/gwave/extra-menus.scm -share/guile/app/gwave/visiblewave-ops.scm -share/guile/app/gwave/gwave-startup.scm -share/guile/app/gwave/export-gnugraph.scm -share/guile/app/gwave/export-gnuplot.scm -share/guile/app/gwave/export.scm -share/guile/app/gwave/gtk-helpers.scm share/guile/app/gwave/utils.scm +share/guile/app/gwave/visiblewave-ops.scm +%%DOCS%%share/doc/gwave/Guile.notes +%%DOCS%%share/doc/gwave/gwave-concepts.txt +%%DOCS%%share/doc/gwave/gwave-hooks.txt +%%DOCS%%share/doc/gwave/gwave-procedures.txt +%%DOCS%%share/doc/gwave/gwave-variables.txt +%%DOCS%%share/doc/gwave/hspice-output.txt +%%DOCS%%share/doc/gwave/hspice.txt +%%DOCS%%share/doc/gwave/spice3.txt +%%EXAMPLES%%share/examples/gwave/Readme +%%EXAMPLES%%share/examples/gwave/aoi.W +%%EXAMPLES%%share/examples/gwave/aoi.W.gw +%%EXAMPLES%%share/examples/gwave/aoi.W.tr0 +%%EXAMPLES%%share/examples/gwave/aoi.W.tr0.gw +%%EXAMPLES%%share/examples/gwave/aoi.W1 +%%EXAMPLES%%share/examples/gwave/diffpair.braw +%%EXAMPLES%%share/examples/gwave/diffpair.sp +%%EXAMPLES%%share/examples/gwave/gw +%%EXAMPLES%%share/examples/gwave/gwave.gw +%%EXAMPLES%%share/examples/gwave/gwplot.dat +%%EXAMPLES%%share/examples/gwave/gwplot.dat.0 +%%EXAMPLES%%share/examples/gwave/gwplot.dat.1 +%%EXAMPLES%%share/examples/gwave/gwplot.dat.gnuplot +%%EXAMPLES%%share/examples/gwave/lpf.ac0 +%%EXAMPLES%%share/examples/gwave/lpf.sp +%%EXAMPLES%%share/examples/gwave/nand.N.tr0 +%%EXAMPLES%%share/examples/gwave/nfet.N.sw0 +%%EXAMPLES%%share/examples/gwave/nfet.N.sw0.binary +%%EXAMPLES%%share/examples/gwave/nisrc.N.sw0 +%%EXAMPLES%%share/examples/gwave/pd1.N.tr0 +%%EXAMPLES%%share/examples/gwave/pd2.N +%%EXAMPLES%%share/examples/gwave/pd2.N.gw +%%EXAMPLES%%share/examples/gwave/pd2long.N +%%EXAMPLES%%share/examples/gwave/quickAC.ac0 +%%EXAMPLES%%share/examples/gwave/quickINV.tr0 +%%EXAMPLES%%share/examples/gwave/quickTRAN.tr0 +%%EXAMPLES%%share/examples/gwave/rcsq.raw +%%EXAMPLES%%share/examples/gwave/rcsq.sp +%%EXAMPLES%%share/examples/gwave/test1.tr0.binary +%%EXAMPLES%%share/examples/gwave/tlong.tr0.9601 +%%EXAMPLES%%share/examples/gwave/tpwl.acs +%%EXAMPLES%%share/examples/gwave/tscript @dirrm share/guile/app/gwave +@dirrm share/examples/gwave +@dirrm share/doc/gwave @dirrmtry share/guile/app --- gwave.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: