Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C85561A923A for ; Wed, 19 Jan 2022 20:15:12 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 04B5584D54; Wed, 19 Jan 2022 20:15:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3FF6384D38 for ; Wed, 19 Jan 2022 20:15:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EA-gfpqw6rS5 for ; Wed, 19 Jan 2022 20:15:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 927C784CFD for ; Wed, 19 Jan 2022 20:15:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8DCD9FB24; Wed, 19 Jan 2022 20:15:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1642623310116800" MIME-Version: 1.0 Date: Wed, 19 Jan 2022 20:15:10 +0000 From: "Olaf Seibert" Subject: CVS commit: pkgsrc/net/hercules4sdl-telnet/patches To: pkgsrc-changes@NetBSD.org Reply-To: rhialto@netbsd.org X-Mailer: log_accum Message-Id: <20220119201510.8DCD9FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1642623310116800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rhialto Date: Wed Jan 19 20:15:10 UTC 2022 Added Files: pkgsrc/net/hercules4sdl-telnet/patches: patch-cflags.txt Log Message: net/hercules4sdl-telnet: add missing patch file. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ pkgsrc/net/hercules4sdl-telnet/patches/patch-cflags.txt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1642623310116800 Content-Disposition: inline Content-Length: 1113 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/net/hercules4sdl-telnet/patches/patch-cflags.txt diff -u /dev/null pkgsrc/net/hercules4sdl-telnet/patches/patch-cflags.txt:1.1 --- /dev/null Wed Jan 19 20:15:10 2022 +++ pkgsrc/net/hercules4sdl-telnet/patches/patch-cflags.txt Wed Jan 19 20:15:10 2022 @@ -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() + --_----------=_1642623310116800--