Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv20380
Added Files:
iverilog.info iverilog.patch
Log Message:
iverilog-0.9.4-2: patch for compiling under Lion with clang
Credit: Iztok Jeras <[email protected]>
Reference:
https://sourceforge.net/tracker/?func=detail&aid=3412792&group_id=149850&atid=775997
--- NEW FILE: iverilog.info ---
Package: iverilog
# Remember to fix Source line when upgrading past 0.9:
Version: 0.9.4
Revision: 2
Source: ftp://ftp.icarus.com/pub/eda/verilog/v0.9/verilog-%v.tar.gz
Source-MD5: 013f1397338fd984ec711250408e43a6
PatchFile: %n.patch
PatchFile-MD5: abd811b5675e4bfedb3c4e858cf5a905
Depends: readline5-shlibs, bzip2-shlibs
Provides: verilog
Conflicts: iverilog-snapshot
Replaces: iverilog-snapshot
# bison from Xcode 1.5+Nov2004 (ver. 1.2.8) works, but some versions from
# Fink (1.875 and later, but not including 2.0) break the build.
#
# Ghostscript is needed for ps2pdf (which isn't being used?)
BuildDepends: fink (>= 0.30.0), gperf, readline5, libncurses5, bison (>= 2.0),
bzip2-dev
# Bug list:
#
# Needs testing/patch:
# * math.c shift overflow
DocFiles: <<
BUGS.txt COPYING QUICK_START.txt README.txt
attributes.txt cadpli/cadpli.txt glossary.txt ieee1364-notes.txt
ivl_target.txt ivlpp/ivlpp.txt lpm.txt macosx.txt
netlist.txt swift.txt t-dll.txt
tgt-fpga/fpga.txt tgt-vvp/README.txt:README.tgt-vvp.txt va_math.txt vpi.txt
vvp/README.txt:README.vvp.txt vvp/debug.txt vvp/opcodes.txt
vvp/vpi.txt:vpi-within-vvp.txt vvp/vthread.txt
xilinx-hint.txt
<<
# DocFiles found with: 'find . -name "*.txt"'
# Additional DocFiles: COPYING
# Ignored DocFiles: INSTALL cygwin.txt mingw.txt solaris/*
ConfigureParams: --mandir=%p/share/man --disable-visibility
GCC: 4.2
CompileScript: <<
#! /bin/sh -ev
### For G3/G4:
PPC_OPT="-O3 -mcpu=750 -mtune=7400"
### For G4:
# PPC_OPT="-O3 -mcpu=7400"
### For G5: (untested)
# PPC_OPT="-O3 -mcpu=G5"
DFLT_OPT="-O3"
case "%m" in
powerpc) CFLAGS="$CFLAGS $PPC_OPT" CXXFLAGS="$CXXFLAGS $PPC_OPT"
./configure %c ;;
*) CFLAGS="$CFLAGS $DFLT_OPT" CXXFLAGS="$CXXFLAGS $DFLT_OPT"
./configure %c ;;
esac
gcc --version
g++ --version
make
<<
InstallScript: <<
make install prefix=%i mandir=%i/share/man
install -d -m 755 %i/share/doc/%n/examples/vvp
install -c -p -m 644 examples/* %i/share/doc/%n/examples
install -c -p -m 644 vvp/examples/* %i/share/doc/%n/examples/vvp
ranlib %i/lib/lib*.a
<<
Description: Icarus Verilog
DescDetail: <<
Icarus Verilog is a Verilog compiler that generates a variety of
engineering formats, including XNF and EDIF netlists for synthesis,
and waveform files from simulation. It strives to be true to the
IEEE-1364 standard.
A testbench is available at http://sourceforge.net/projects/ivtest
This package provides the latest stable release. If you need synthesis, you may
want to stick with the 0.8.x series in the 'iverilog08' package.
You may have both this package and iverilog08 installed at the same time.
<<
DescPort: <<
Instructions from macos.txt were followed, adapting them for the
Fink way of doing things.
<<
DescPackaging: <<
SetCXXFLAGS is used because CPPFLAGS does not appear to be honored (this
problem manifests itself as an inability to find readline/readline.h).
<<
License: GPL
Homepage: http://www.icarus.com/eda/verilog/
Maintainer: Charles Lepple <[email protected]>
--- NEW FILE: iverilog.patch ---
diff -urN -x'*~' verilog-0.9.4-orig/libveriuser/getsimtime.c
verilog-0.9.4/libveriuser/getsimtime.c
--- verilog-0.9.4-orig/libveriuser/getsimtime.c 2011-03-17 20:26:38.000000000
+0100
+++ verilog-0.9.4/libveriuser/getsimtime.c 2011-09-24 21:09:31.000000000
+0200
@@ -85,7 +85,10 @@
/* Alias for commercial simulators */
PLI_INT32 tf_getlongsimtime(PLI_INT32 *high) \
- __attribute__ ((weak, alias ("tf_getlongtime")));
+{
+ return tf_igetlongtime(high, 0);
+}
+// __attribute ((weak, alias ("tf_getlongtime")));
void tf_scale_longdelay(void*obj, PLI_INT32 low, PLI_INT32 high,
PLI_INT32 *alow, PLI_INT32 *ahigh)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs