pkgsrc-WIP-changes archive

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

sdl-hercules-*: defang building for 32/64 bits specifically.



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Sat Dec 5 18:13:36 2020 +0100
Changeset:	3392b935a2e182b5590e1ef949819e10804c5f15

Modified Files:
	sdl-hercules-crypto/distinfo
	sdl-hercules-decnumber/distinfo
	sdl-hercules-softfloat/distinfo
	sdl-hercules-telnet/distinfo
Added Files:
	sdl-hercules-crypto/patches/patch-cflags.txt
	sdl-hercules-decnumber/patches/patch-cflags.txt
	sdl-hercules-softfloat/patches/patch-cflags.txt
	sdl-hercules-telnet/patches/patch-cflags.txt

Log Message:
sdl-hercules-*: defang building for 32/64 bits specifically.

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

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

diffstat:
 sdl-hercules-crypto/distinfo                    |  1 +
 sdl-hercules-crypto/patches/patch-cflags.txt    | 33 +++++++++++++++++++++++++
 sdl-hercules-decnumber/distinfo                 |  1 +
 sdl-hercules-decnumber/patches/patch-cflags.txt | 33 +++++++++++++++++++++++++
 sdl-hercules-softfloat/distinfo                 |  1 +
 sdl-hercules-softfloat/patches/patch-cflags.txt | 33 +++++++++++++++++++++++++
 sdl-hercules-telnet/distinfo                    |  1 +
 sdl-hercules-telnet/patches/patch-cflags.txt    | 33 +++++++++++++++++++++++++
 8 files changed, 136 insertions(+)

diffs:
diff --git a/sdl-hercules-crypto/distinfo b/sdl-hercules-crypto/distinfo
index e1dedfb50e..17b4761aae 100644
--- a/sdl-hercules-crypto/distinfo
+++ b/sdl-hercules-crypto/distinfo
@@ -4,3 +4,4 @@ SHA1 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz)
 RMD160 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 802f8e56d36fa99e6b6b897ee60cb9674ae8d979
 SHA512 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 708f54adf7a0d6c5552c50d4d53506b06c688d74f2e4c38fb987bcc6475055e138fadffe9c285cfbe01887bd9b3cc77b5def02abfd5621a2c74d6d87c30d2c36
 Size (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 80752 bytes
+SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26
diff --git a/sdl-hercules-crypto/patches/patch-cflags.txt b/sdl-hercules-crypto/patches/patch-cflags.txt
new file mode 100644
index 0000000000..dbc1910d99
--- /dev/null
+++ b/sdl-hercules-crypto/patches/patch-cflags.txt
@@ -0,0 +1,33 @@
+$NetBSD$
+
+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
+@@ -38,25 +38,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()
+ 
diff --git a/sdl-hercules-decnumber/distinfo b/sdl-hercules-decnumber/distinfo
index e21e7fbe1f..b983862958 100644
--- a/sdl-hercules-decnumber/distinfo
+++ b/sdl-hercules-decnumber/distinfo
@@ -4,3 +4,4 @@ SHA1 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar
 RMD160 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = d4c17f1443ce581dc9e54a668a192df04639e889
 SHA512 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = 93c22f278a48f4b121e64947a38da1af82a4c0a580faad13539a253ace1f7f571c143679e9d7b5bd9379a38439a121d61c1616283df160ca449eb4e7baf387f6
 Size (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = 785533 bytes
+SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26
diff --git a/sdl-hercules-decnumber/patches/patch-cflags.txt b/sdl-hercules-decnumber/patches/patch-cflags.txt
new file mode 100644
index 0000000000..dbc1910d99
--- /dev/null
+++ b/sdl-hercules-decnumber/patches/patch-cflags.txt
@@ -0,0 +1,33 @@
+$NetBSD$
+
+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
+@@ -38,25 +38,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()
+ 
diff --git a/sdl-hercules-softfloat/distinfo b/sdl-hercules-softfloat/distinfo
index 9cb05b990f..55aaf1693a 100644
--- a/sdl-hercules-softfloat/distinfo
+++ b/sdl-hercules-softfloat/distinfo
@@ -4,3 +4,4 @@ SHA1 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.
 RMD160 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 372ab17bf4872f8be75239ccc698959f8f505914
 SHA512 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 79db6b140f9d44ee11047bb7580143e8099264e043e7a3e1fede7f634a10046036649d5876d9a2ce0c4e1c76f7f6e5c88b955447cb6f9842243a665783e164cd
 Size (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 237069 bytes
+SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26
diff --git a/sdl-hercules-softfloat/patches/patch-cflags.txt b/sdl-hercules-softfloat/patches/patch-cflags.txt
new file mode 100644
index 0000000000..dbc1910d99
--- /dev/null
+++ b/sdl-hercules-softfloat/patches/patch-cflags.txt
@@ -0,0 +1,33 @@
+$NetBSD$
+
+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
+@@ -38,25 +38,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()
+ 
diff --git a/sdl-hercules-telnet/distinfo b/sdl-hercules-telnet/distinfo
index 6e0f64c9d2..10b73adae6 100644
--- a/sdl-hercules-telnet/distinfo
+++ b/sdl-hercules-telnet/distinfo
@@ -4,3 +4,4 @@ SHA1 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz)
 RMD160 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = 8684fc95fc22dc1c61efc52d39ffb183ecdd2fb2
 SHA512 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = ef28f8f833eabe7491183ae60bc6a1be5b117e9f6e9f86b99543262f04a1c78faee0e0313e3647674cc7e314696775334b86d93950ff2b54bdab7ef3c4a32148
 Size (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = 67098 bytes
+SHA1 (patch-cflags.txt) = ed18a2aaa1da2a7f63c94e5fc061eb9fc0e0f02f
diff --git a/sdl-hercules-telnet/patches/patch-cflags.txt b/sdl-hercules-telnet/patches/patch-cflags.txt
new file mode 100644
index 0000000000..071ca6bd27
--- /dev/null
+++ b/sdl-hercules-telnet/patches/patch-cflags.txt
@@ -0,0 +1,33 @@
+$NetBSD$
+
+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