mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
devel/gpsim: update 0.27.0 -> 0.28.1
- Delete obsolete patches PR: 197420 Submitted by: Kato Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
da8394e59b
commit
9828f5a663
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381382
@ -2,9 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gpsim
|
||||
PORTVERSION= 0.27.0
|
||||
PORTVERSION= 0.28.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.0
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Software simulator for Microchip PIC microcontrollers
|
||||
@ -16,7 +16,7 @@ BUILD_DEPENDS= gpasm:${PORTSDIR}/devel/gputils
|
||||
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
|
||||
RUN_DEPENDS= gpasm:${PORTSDIR}/devel/gputils
|
||||
|
||||
USES= libtool pathfix pkgconfig
|
||||
USES= gmake libtool pathfix pkgconfig readline
|
||||
USE_GNOME= glib20
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gpsim-0.27.0.tar.gz) = 204ed2a8aaf1b3021617544330997f4a508b811afce71fb9628b94406d5e59a2
|
||||
SIZE (gpsim-0.27.0.tar.gz) = 2465642
|
||||
SHA256 (gpsim-0.28.1.tar.gz) = d8d41fb530630e6df31db89a0ca630038395aed4d07c48859655468ed25658ed
|
||||
SIZE (gpsim-0.28.1.tar.gz) = 3206451
|
||||
|
@ -1,33 +0,0 @@
|
||||
--- modules/stimuli.cc.orig
|
||||
+++ modules/stimuli.cc
|
||||
@@ -216,7 +216,7 @@
|
||||
//----------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
- PulseGen::PulseGen(const char *_name=0)
|
||||
+ PulseGen::PulseGen(const char *_name)
|
||||
: StimulusBase(_name, "\
|
||||
Pulse Generator\n\
|
||||
Attributes:\n\
|
||||
@@ -402,13 +402,20 @@
|
||||
setBreak(m_start_cycle + (*si).time, si);
|
||||
|
||||
}
|
||||
+
|
||||
+ static bool compare_data_point(const ValueStimulusData &data_point1,
|
||||
+ const ValueStimulusData &data_point2)
|
||||
+ {
|
||||
+ return (data_point1.time < data_point2.time);
|
||||
+ }
|
||||
+
|
||||
void PulseGen::put_data(ValueStimulusData &data_point)
|
||||
{
|
||||
list<ValueStimulusData>::iterator si;
|
||||
si = find(samples.begin(), samples.end(), data_point);
|
||||
if (si == samples.end()) {
|
||||
samples.push_back(data_point);
|
||||
- samples.sort();
|
||||
+ samples.sort(compare_data_point);
|
||||
} else {
|
||||
delete (*si).v;
|
||||
(*si).v = data_point.v;
|
@ -1,11 +0,0 @@
|
||||
--- modules/switch.cc.orig
|
||||
+++ modules/switch.cc
|
||||
@@ -582,7 +582,7 @@
|
||||
|
||||
//========================================================================
|
||||
|
||||
- Switch::Switch(const char *_new_name=0)
|
||||
+ Switch::Switch(const char *_new_name)
|
||||
: SwitchBase(_new_name, "\
|
||||
Two port switch\n\
|
||||
Attributes:\n\
|
@ -44,7 +44,6 @@ include/gpsim/ioports.h
|
||||
include/gpsim/lxt_write.h
|
||||
include/gpsim/modules.h
|
||||
include/gpsim/operator.h
|
||||
include/gpsim/p12f182x.h
|
||||
include/gpsim/p12f6xx.h
|
||||
include/gpsim/p12x.h
|
||||
include/gpsim/p16f62x.h
|
||||
@ -57,6 +56,7 @@ include/gpsim/p16x7x.h
|
||||
include/gpsim/p16x8x.h
|
||||
include/gpsim/p17c75x.h
|
||||
include/gpsim/p18x.h
|
||||
include/gpsim/p1xf1xxx.h
|
||||
include/gpsim/packages.h
|
||||
include/gpsim/pic-instructions.h
|
||||
include/gpsim/pic-ioports.h
|
||||
@ -75,6 +75,7 @@ include/gpsim/pthread-wrap.h
|
||||
include/gpsim/rcon.h
|
||||
include/gpsim/registers.h
|
||||
include/gpsim/sim_context.h
|
||||
include/gpsim/spp.h
|
||||
include/gpsim/ssp.h
|
||||
include/gpsim/stimuli.h
|
||||
include/gpsim/symbol.h
|
||||
@ -91,6 +92,10 @@ lib/libgpsim.a
|
||||
lib/libgpsim.so
|
||||
lib/libgpsim.so.0
|
||||
lib/libgpsim.so.0.0.0
|
||||
lib/libgpsim_dht11.a
|
||||
lib/libgpsim_dht11.so
|
||||
lib/libgpsim_dht11.so.0
|
||||
lib/libgpsim_dht11.so.0.0.0
|
||||
lib/libgpsim_ds1307.a
|
||||
lib/libgpsim_ds1307.so
|
||||
lib/libgpsim_ds1307.so.0
|
||||
|
Loading…
Reference in New Issue
Block a user