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 - rguent...@suse.com
+
+- 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.0 +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 ]])
+AC_CHECK_HEADERS(unistd.h sys/stat.h)
++AC_CHECK_DECLS([getopt], [], [], [[#include ]])
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.0
+0100
nvptx-tools/include/libiberty.h2017-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_TEMPS0x4
@@ -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.c2016-03-10 14:11:40.0 +0100
nvptx-tools/nvptx-as.c 2017-09-05 09:01:13.252598031 +0200
@@ -30,6 +30,9 @@
#include
#include
@@ -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\
-vBe verbose\n\
@@ -227,7 +228,7 @@
--helpPrint 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.0 +0100
nvptx-tools/configure 2017-09-05 09:01:57.637325605 +0200
@@ -168,7