pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/hercules4sdl-telnet/patches net/hercules4sdl-telne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34a0901c0638
branches:  trunk
changeset: 372107:34a0901c0638
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Wed Jan 19 20:15:10 2022 +0000

description:
net/hercules4sdl-telnet: add missing patch file.

diffstat:

 net/hercules4sdl-telnet/patches/patch-cflags.txt |  33 ++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r eafa4889c953 -r 34a0901c0638 net/hercules4sdl-telnet/patches/patch-cflags.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/patches/patch-cflags.txt  Wed Jan 19 20:15:10 2022 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-cflags.txt,v 1.1 2022/01/19 20:15:10 rhialto Exp $
+
+We just want do do a native-wordsize build.
+Do not depend on the object directory name to set the wordsize.
+
+--- cflags.txt.orig    2020-11-13 09:38:36.000000000 +0000
++++ cflags.txt
+@@ -32,25 +32,8 @@ set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMA
+ 
+ if( NOT WIN32 )
+ 
+-  set( TEMP_CMAKE_REQUIRED_FLAGS  "${CMAKE_REQUIRED_FLAGS}" )
+-  set( CMAKE_REQUIRED_FLAGS  "-m32" )
+-  Check_C_Compiler_Flag( -m32  OK )
+-
+-  if( OK )
+-    set( m32 "-m32" )
+-  else()
+     set( m32   ""   )
+-  endif()
+-
+-  set( CMAKE_REQUIRED_FLAGS  "-m64" )
+-  Check_C_Compiler_Flag( -m64  OK )
+-  set( CMAKE_REQUIRED_FLAGS  "${TEMP_CMAKE_REQUIRED_FLAGS}" )
+-
+-  if( OK )
+-    set( m64 "-m64" )
+-  else()
+     set( m64   ""   )
+-  endif()
+ 
+ endif()
+ 



Home | Main Index | Thread Index | Old Index