pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rdp Stop abusing g++ for compiling C sources.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6705ca88e312
branches:  trunk
changeset: 389299:6705ca88e312
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 15:57:27 2018 +0000

description:
Stop abusing g++ for compiling C sources.

diffstat:

 devel/rdp/distinfo         |   4 ++--
 devel/rdp/patches/patch-aa |  17 +++++++++++++----
 2 files changed, 15 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r d046dc08f907 -r 6705ca88e312 devel/rdp/distinfo
--- a/devel/rdp/distinfo        Thu Dec 27 15:16:53 2018 +0000
+++ b/devel/rdp/distinfo        Thu Dec 27 15:57:27 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 03:29:19 agc Exp $
+$NetBSD: distinfo,v 1.7 2018/12/27 15:57:27 joerg Exp $
 
 SHA1 (rdp1_5.zip) = 05a450d95aa306231a5762ddc292894f8b0c63f8
 RMD160 (rdp1_5.zip) = 723f4860490169aea64a26bf3efaf2c5ff98f97a
 SHA512 (rdp1_5.zip) = 549365ea62fb1ffae2c144f7c62929ff66f3991f0828ce12c1e6bd8ec02cd8e19e27303def25a19f009b40ea29b8f88f39916650c50e14bc00af8ba9a0665b46
 Size (rdp1_5.zip) = 1234919 bytes
-SHA1 (patch-aa) = b424b87f71057c81a9d125cd063568ace051ec30
+SHA1 (patch-aa) = 63ae9329472522a1e609dd01c4bb9275277753b3
 SHA1 (patch-ab) = e4a44c122221196147b9dd16d59fac6da09f2e67
 SHA1 (patch-ac) = 0c9ee2458e999086ef29c1fedb294df31a2e6961
 SHA1 (patch-ad) = 0364b33207f0207876a549fd129e00417eed7769
diff -r d046dc08f907 -r 6705ca88e312 devel/rdp/patches/patch-aa
--- a/devel/rdp/patches/patch-aa        Thu Dec 27 15:16:53 2018 +0000
+++ b/devel/rdp/patches/patch-aa        Thu Dec 27 15:57:27 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:28 agc Exp $
+$NetBSD: patch-aa,v 1.3 2018/12/27 15:57:28 joerg Exp $
 
---- makefile-orig      Sat Dec 20 00:00:00 1997
-+++ makefile   Sun Aug  2 00:16:15 1998
+--- makefile.orig      1997-12-20 00:00:00.000000000 +0000
++++ makefile
 @@ -10,18 +10,18 @@
  ###############################################################################
  
@@ -18,7 +18,7 @@
 -#MATHS   = -lm
 -#HERE    = ./
 -#OBJ_ONLY = -c
-+CC      = g++
++#CC     = g++
 +OBJ     = .o
 +EXE     =
 +DIFF    = diff -s
@@ -64,3 +64,12 @@
  # End of Borland C++ 5.0 under Windows-95 configuration
  
  # Configuration for Borland C 3.1 on MS-DOS
+@@ -217,7 +217,7 @@ mvmasm$(EXE): mvmasm$(OBJ) mvm_aux$(OBJ)
+ 
+ # compile the mvmsim simulator
+ mvmsim$(EXE): mvmsim$(OBJ) $(RDP_SUPP)
+-      $(LINK)mvmsim$(EXE) mvmsim$(OBJ) $(RDP_SUPP)
++      $(LINK)mvmsim$(EXE) mvmsim$(OBJ) $(RDP_SUPP) $(MATHS)
+ 
+ # test the single-pass compiler, assembler and simulator
+ ml_test: miniloop$(EXE) mvmasm$(EXE) mvmsim$(EXE) testloop.m



Home | Main Index | Thread Index | Old Index