Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cvs: fix cross.
@ 2020-12-29 10:40 fosslinux
  2020-12-29 10:40 ` [PR PATCH] [Updated] " fosslinux
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fosslinux @ 2020-12-29 10:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages cvs-cross
https://github.com/void-linux/void-packages/pull/27528

cvs: fix cross.
The check evaluates to null anyway.

A patch file from https://github.com/void-linux/void-packages/pull/27528.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cvs-cross-27528.patch --]
[-- Type: text/x-diff, Size: 2747 bytes --]

From d02da718a83f9538c14ef977847abb845aba5573 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Tue, 29 Dec 2020 21:37:39 +1100
Subject: [PATCH] cvs: fix cross.

---
 srcpkgs/cvs/patches/cross.patch | 74 +++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
 create mode 100644 srcpkgs/cvs/patches/cross.patch

diff --git a/srcpkgs/cvs/patches/cross.patch b/srcpkgs/cvs/patches/cross.patch
new file mode 100644
index 00000000000..4d467d7e430
--- /dev/null
+++ b/srcpkgs/cvs/patches/cross.patch
@@ -0,0 +1,74 @@
+--- configure.bak	2020-12-28 15:47:57.495364388 +1100
++++ configure	2020-12-28 15:48:45.881677930 +1100
+@@ -36944,71 +36944,6 @@
+ fi
+ 
+ 
+-echo "$as_me:$LINENO: checking whether printf supports %p" >&5
+-echo $ECHO_N "checking whether printf supports %p... $ECHO_C" >&6
+-if test "${cvs_cv_func_printf_ptr+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&5
+-echo "$as_me: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&2;}
+-   { (exit 1); exit 1; }; }
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-#include <stdio.h>
+-/* If printf supports %p, exit 0. */
+-int
+-main ()
+-{
+-  void *p1, *p2;
+-  char buf[256];
+-  p1 = &p1; p2 = &p2;
+-  sprintf(buf, "%p", p1);
+-  exit(sscanf(buf, "%p", &p2) != 1 || p2 != p1);
+-}
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  cvs_cv_func_printf_ptr=yes
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-( exit $ac_status )
+-cvs_cv_func_printf_ptr=no
+-fi
+-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-rm -f core core.* *.core
+-fi
+-echo "$as_me:$LINENO: result: $cvs_cv_func_printf_ptr" >&5
+-echo "${ECHO_T}$cvs_cv_func_printf_ptr" >&6
+-if test $cvs_cv_func_printf_ptr = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_PRINTF_PTR 1
+-_ACEOF
+-
+-fi
+-
+-
+ # Try to find connect and gethostbyname.
+ 
+ echo "$as_me:$LINENO: checking for main in -lnsl" >&5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-29 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29 10:40 [PR PATCH] cvs: fix cross fosslinux
2020-12-29 10:40 ` [PR PATCH] [Updated] " fosslinux
2020-12-29 10:43 ` fosslinux
2020-12-29 14:03 ` sgn
2020-12-29 14:04 ` [PR PATCH] [Closed]: " sgn
2020-12-29 21:37 ` fosslinux
2020-12-29 23:21 ` sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).