Hello community,

here is the log from the commit of package nvptx-tools for openSUSE:Factory 
checked in at 2017-09-05 15:19:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvptx-tools (Old)
 and      /work/SRC/openSUSE:Factory/.nvptx-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvptx-tools"

Tue Sep  5 15:19:23 2017 rev:2 rq:520987 version:1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nvptx-tools/nvptx-tools.changes  2017-02-18 
03:18:41.439812741 +0100
+++ /work/SRC/openSUSE:Factory/.nvptx-tools.new/nvptx-tools.changes     
2017-09-05 15:19:30.189115408 +0200
@@ -1,0 +2,6 @@
+Tue Sep  5 07:03:59 UTC 2017 - [email protected]
+
+- Update nvptx-tools.patch to check for getopt to avoid providing
+  an incompatible declaration.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nvptx-tools.spec ++++++
--- /var/tmp/diff_new_pack.vVj1Ju/_old  2017-09-05 15:19:31.656909089 +0200
+++ /var/tmp/diff_new_pack.vVj1Ju/_new  2017-09-05 15:19:31.660908527 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nvptx-tools
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ nvptx-tools.patch ++++++
--- /var/tmp/diff_new_pack.vVj1Ju/_old  2017-09-05 15:19:31.680905716 +0200
+++ /var/tmp/diff_new_pack.vVj1Ju/_new  2017-09-05 15:19:31.684905154 +0200
@@ -1,19 +1,20 @@
-diff --git a/configure.ac b/configure.ac
-index ecc02c4..7bf8a3f 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -51,6 +51,7 @@ LIBS="$LIBS -lcuda"
+Index: nvptx-tools/configure.ac
+===================================================================
+--- nvptx-tools.orig/configure.ac      2016-03-10 14:11:40.000000000 +0100
++++ nvptx-tools/configure.ac   2017-09-05 09:01:50.853212501 +0200
+@@ -51,6 +51,8 @@ LIBS="$LIBS -lcuda"
  AC_CHECK_FUNCS([[cuGetErrorName] [cuGetErrorString]])
  AC_CHECK_DECLS([[cuGetErrorName], [cuGetErrorString]],
    [], [], [[#include <cuda.h>]])
 +AC_CHECK_HEADERS(unistd.h sys/stat.h)
++AC_CHECK_DECLS([getopt], [], [], [[#include <unistd.h>]])
  
  AC_MSG_CHECKING([for extra programs to build requiring -lcuda])
  NVPTX_RUN=
-diff --git a/include/libiberty.h b/include/libiberty.h
-index cacde80..29ceafe 100644
---- a/include/libiberty.h
-+++ b/include/libiberty.h
+Index: nvptx-tools/include/libiberty.h
+===================================================================
+--- nvptx-tools.orig/include/libiberty.h       2016-03-10 14:11:40.000000000 
+0100
++++ nvptx-tools/include/libiberty.h    2017-09-05 09:01:13.252598031 +0200
 @@ -390,6 +390,17 @@ extern void hex_init (void);
  /* Save files used for communication between processes.  */
  #define PEX_SAVE_TEMPS                0x4
@@ -32,10 +33,10 @@
  /* Prepare to execute one or more programs, with standard output of
     each program fed to standard input of the next.
     FLAGS      As above.
-diff --git a/nvptx-as.c b/nvptx-as.c
-index 53331af..1ad6699 100644
---- a/nvptx-as.c
-+++ b/nvptx-as.c
+Index: nvptx-tools/nvptx-as.c
+===================================================================
+--- nvptx-tools.orig/nvptx-as.c        2016-03-10 14:11:40.000000000 +0100
++++ nvptx-tools/nvptx-as.c     2017-09-05 09:01:13.252598031 +0200
 @@ -30,6 +30,9 @@
  #include <string.h>
  #include <wait.h>
@@ -113,7 +114,7 @@
    do
      tok = parse_file (tok);
    while (tok->kind);
-@@ -897,9 +944,83 @@ fork_execute (const char *prog, char *const *argv)
+@@ -897,9 +944,83 @@ fork_execute (const char *prog, char *co
    do_wait (prog, pex);
  }
  
@@ -217,7 +218,7 @@
          break;
        case 'v':
          verbose = true;
-@@ -948,7 +1071,9 @@ Usage: nvptx-none-as [option...] [asmfile]\n\
+@@ -948,7 +1071,9 @@ Usage: nvptx-none-as [option...] [asmfil
  Options:\n\
    -o FILE               Write output to FILE\n\
    -v                    Be verbose\n\
@@ -227,7 +228,7 @@
    --help                Print this help and exit\n\
    --version             Print version number and exit\n\
  \n\
-@@ -983,11 +1108,17 @@ This program has absolutely no warranty.\n",
+@@ -983,11 +1108,17 @@ This program has absolutely no warranty.
    if (!in)
      fatal_error ("cannot open input ptx file");
  
@@ -248,10 +249,10 @@
      {
        struct obstack argv_obstack;
        obstack_init (&argv_obstack);
-diff --git a/configure b/configure
-index 9a0794a..4289569 100755
---- a/configure
-+++ b/configure
+Index: nvptx-tools/configure
+===================================================================
+--- nvptx-tools.orig/configure 2016-03-10 14:11:40.000000000 +0100
++++ nvptx-tools/configure      2017-09-05 09:01:57.637325605 +0200
 @@ -168,7 +168,8 @@ test x\$exitcode = x0 || exit 1"
    as_suggested="  
as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" 
as_lineno_1a=\$LINENO
    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" 
as_lineno_2a=\$LINENO
@@ -535,7 +536,7 @@
  cat >config.log <<_ACEOF
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.
-@@ -3284,6 +3523,418 @@ cat >>confdefs.h <<_ACEOF
+@@ -3284,6 +3523,430 @@ cat >>confdefs.h <<_ACEOF
  #define HAVE_DECL_CUGETERRORSTRING $ac_have_decl
  _ACEOF
  
@@ -951,6 +952,18 @@
 +
 +done
 +
++ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "#include 
<unistd.h>
++"
++if test "x$ac_cv_have_decl_getopt" = x""yes; then :
++  ac_have_decl=1
++else
++  ac_have_decl=0
++fi
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_DECL_GETOPT $ac_have_decl
++_ACEOF
++
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra programs to build 
requiring -lcuda" >&5
  $as_echo_n "checking for extra programs to build requiring -lcuda... " >&6; }


Reply via email to