View | Details | Raw Unified | Return to bug 197420
Collapse All | Expand All

(-)devel/gpsim/Makefile (-3 / +3 lines)
Lines 2-10 Link Here
2
# $FreeBSD: head/devel/gpsim/Makefile 363520 2014-07-30 21:51:14Z marino $
2
# $FreeBSD: head/devel/gpsim/Makefile 363520 2014-07-30 21:51:14Z marino $
3
3
4
PORTNAME=	gpsim
4
PORTNAME=	gpsim
5
PORTVERSION=	0.27.0
5
PORTVERSION=	0.28.1
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	SF
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.0
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Software simulator for Microchip PIC microcontrollers
10
COMMENT=	Software simulator for Microchip PIC microcontrollers
Lines 16-22 Link Here
16
LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt
16
LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt
17
RUN_DEPENDS=	gpasm:${PORTSDIR}/devel/gputils
17
RUN_DEPENDS=	gpasm:${PORTSDIR}/devel/gputils
18
18
19
USES=		libtool pathfix pkgconfig
19
USES=		gmake libtool pathfix pkgconfig readline
20
USE_GNOME=	glib20
20
USE_GNOME=	glib20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
(-)devel/gpsim/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gpsim-0.27.0.tar.gz) = 204ed2a8aaf1b3021617544330997f4a508b811afce71fb9628b94406d5e59a2
1
SHA256 (gpsim-0.28.1.tar.gz) = d8d41fb530630e6df31db89a0ca630038395aed4d07c48859655468ed25658ed
2
SIZE (gpsim-0.27.0.tar.gz) = 2465642
2
SIZE (gpsim-0.28.1.tar.gz) = 3206451
(-)devel/gpsim/files/patch-modules__stimuli.cc (-33 lines)
Lines 1-33 Link Here
1
--- modules/stimuli.cc.orig
2
+++ modules/stimuli.cc
3
@@ -216,7 +216,7 @@
4
   //----------------------------------------------------------------------
5
   //----------------------------------------------------------------------
6
 
7
-  PulseGen::PulseGen(const char *_name=0)
8
+  PulseGen::PulseGen(const char *_name)
9
     : StimulusBase(_name, "\
10
 Pulse Generator\n\
11
  Attributes:\n\
12
@@ -402,13 +402,20 @@
13
     setBreak(m_start_cycle + (*si).time, si);
14
 
15
   }
16
+
17
+  static bool compare_data_point(const ValueStimulusData &data_point1,
18
+                                 const ValueStimulusData &data_point2)
19
+  {
20
+    return (data_point1.time < data_point2.time);
21
+  }
22
+
23
   void PulseGen::put_data(ValueStimulusData &data_point)
24
   {
25
     list<ValueStimulusData>::iterator si;
26
     si = find(samples.begin(), samples.end(), data_point);
27
     if (si == samples.end()) {
28
       samples.push_back(data_point);
29
-      samples.sort();
30
+      samples.sort(compare_data_point);
31
     } else {
32
       delete (*si).v;
33
       (*si).v = data_point.v;
(-)devel/gpsim/files/patch-modules__switch.cc (-11 lines)
Lines 1-11 Link Here
1
--- modules/switch.cc.orig
2
+++ modules/switch.cc
3
@@ -582,7 +582,7 @@
4
 
5
   //========================================================================
6
 
7
-  Switch::Switch(const char *_new_name=0)
8
+  Switch::Switch(const char *_new_name)
9
     : SwitchBase(_new_name, "\
10
 Two port switch\n\
11
  Attributes:\n\
(-)devel/gpsim/pkg-plist (-1 / +6 lines)
Lines 44-50 Link Here
44
include/gpsim/lxt_write.h
44
include/gpsim/lxt_write.h
45
include/gpsim/modules.h
45
include/gpsim/modules.h
46
include/gpsim/operator.h
46
include/gpsim/operator.h
47
include/gpsim/p12f182x.h
48
include/gpsim/p12f6xx.h
47
include/gpsim/p12f6xx.h
49
include/gpsim/p12x.h
48
include/gpsim/p12x.h
50
include/gpsim/p16f62x.h
49
include/gpsim/p16f62x.h
Lines 57-62 Link Here
57
include/gpsim/p16x8x.h
56
include/gpsim/p16x8x.h
58
include/gpsim/p17c75x.h
57
include/gpsim/p17c75x.h
59
include/gpsim/p18x.h
58
include/gpsim/p18x.h
59
include/gpsim/p1xf1xxx.h
60
include/gpsim/packages.h
60
include/gpsim/packages.h
61
include/gpsim/pic-instructions.h
61
include/gpsim/pic-instructions.h
62
include/gpsim/pic-ioports.h
62
include/gpsim/pic-ioports.h
Lines 75-80 Link Here
75
include/gpsim/rcon.h
75
include/gpsim/rcon.h
76
include/gpsim/registers.h
76
include/gpsim/registers.h
77
include/gpsim/sim_context.h
77
include/gpsim/sim_context.h
78
include/gpsim/spp.h
78
include/gpsim/ssp.h
79
include/gpsim/ssp.h
79
include/gpsim/stimuli.h
80
include/gpsim/stimuli.h
80
include/gpsim/symbol.h
81
include/gpsim/symbol.h
Lines 91-96 Link Here
91
lib/libgpsim.so
92
lib/libgpsim.so
92
lib/libgpsim.so.0
93
lib/libgpsim.so.0
93
lib/libgpsim.so.0.0.0
94
lib/libgpsim.so.0.0.0
95
lib/libgpsim_dht11.a
96
lib/libgpsim_dht11.so
97
lib/libgpsim_dht11.so.0
98
lib/libgpsim_dht11.so.0.0.0
94
lib/libgpsim_ds1307.a
99
lib/libgpsim_ds1307.a
95
lib/libgpsim_ds1307.so
100
lib/libgpsim_ds1307.so
96
lib/libgpsim_ds1307.so.0
101
lib/libgpsim_ds1307.so.0

Return to bug 197420