pkgsrc-WIP-changes archive

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

ti99sim: Use -lstdc++fs on Linux



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Mon Oct 7 13:17:14 2024 -0500
Changeset:	4ccab432556cc1fa058b9a931df511cc8f658a4b

Modified Files:
	ti99sim/distinfo
	ti99sim/patches/patch-rules.mak

Log Message:
ti99sim: Use -lstdc++fs on Linux

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ccab432556cc1fa058b9a931df511cc8f658a4b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ti99sim/distinfo                |  2 +-
 ti99sim/patches/patch-rules.mak | 13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs:
diff --git a/ti99sim/distinfo b/ti99sim/distinfo
index 3d6c531af7..1fc7775994 100644
--- a/ti99sim/distinfo
+++ b/ti99sim/distinfo
@@ -6,6 +6,6 @@ Size (ti99sim-0.16.0.src.tar.xz) = 193760 bytes
 SHA1 (patch-Makefile.linux) = 246b6a6c750bdd1cdc760d9e5e1faa336f913f76
 SHA1 (patch-include_common.hpp) = 6a0e63c88eb988b8c8f52ca3bfa435179c206ed4
 SHA1 (patch-include_platform.hpp) = 2b01ea7439d915095a36ea01921c2266fd77094b
-SHA1 (patch-rules.mak) = 0df5cdfefbff13fc2bf7042609157858c7c204a5
+SHA1 (patch-rules.mak) = 2454d30b3440edc679591b961ca879f2855e5819
 SHA1 (patch-src_core_device-support.cpp) = c685db3bd50d8ee1d320971a3b759e06459c15be
 SHA1 (patch-src_core_stateobject.cpp) = 9ee81d2897741d5d881dd35a83fd622a360ff9ce
diff --git a/ti99sim/patches/patch-rules.mak b/ti99sim/patches/patch-rules.mak
index b477598d38..f848f109aa 100644
--- a/ti99sim/patches/patch-rules.mak
+++ b/ti99sim/patches/patch-rules.mak
@@ -1,10 +1,10 @@
 $NetBSD$
 
-# Add NetBSD support
+# Portability
 
 --- rules.mak.orig	2020-05-25 20:52:22.000000000 +0000
 +++ rules.mak
-@@ -12,23 +12,20 @@ ifndef CXX
+@@ -12,23 +12,22 @@ ifndef CXX
  CXX      := g++
  endif
  
@@ -21,8 +21,9 @@ $NetBSD$
  LFLAGS   += -Wl,--gc-sections
  LFLAGS   += -rdynamic
  
--XLIBS    += -lstdc++fs
-+# XLIBS    += -lstdc++fs
++ifeq ($(OS),OS_LINUX)
+ XLIBS    += -lstdc++fs
++endif
  
  WARNINGS := -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
  WARNINGS += -Wno-implicit-fallthrough
@@ -31,7 +32,7 @@ $NetBSD$
  WARNINGS += -Wcast-qual
  
  INCLUDES := -I../../include
-@@ -41,10 +38,6 @@ ifeq ($(CFG),Debug)
+@@ -41,10 +40,6 @@ ifeq ($(CFG),Debug)
  DEBUG    := 1
  endif
  
@@ -42,7 +43,7 @@ $NetBSD$
  ifdef LTO
  CFLAGS   += -flto
  LFLAGS   += -flto
-@@ -80,6 +73,10 @@ ifeq ($(OSTYPE),FreeBSD)
+@@ -80,6 +75,10 @@ ifeq ($(OSTYPE),FreeBSD)
  OS       := OS_LINUX
  endif
  


Home | Main Index | Thread Index | Old Index