Hello community,

here is the log from the commit of package gdbm for openSUSE:Factory checked in 
at 2020-01-25 13:23:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdbm (Old)
 and      /work/SRC/openSUSE:Factory/.gdbm.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdbm"

Sat Jan 25 13:23:05 2020 rev:38 rq:766024 version:1.18.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes        2019-02-08 
12:03:24.633698010 +0100
+++ /work/SRC/openSUSE:Factory/.gdbm.new.26092/gdbm.changes     2020-01-25 
13:23:23.136016191 +0100
@@ -1,0 +2,7 @@
+Mon Jan 20 16:59:59 UTC 2020 - [email protected]
+
+- added patches
+  Build with -no-common, [bsc#1160872]
+  + gdbm-no-common.patch
+
+-------------------------------------------------------------------

New:
----
  gdbm-no-common.patch

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

Other differences:
------------------
++++++ gdbm.spec ++++++
--- /var/tmp/diff_new_pack.1hCLit/_old  2020-01-25 13:23:24.408016749 +0100
+++ /var/tmp/diff_new_pack.1hCLit/_new  2020-01-25 13:23:24.412016751 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdbm
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 Source4:        %{name}.keyring
 # PATCH-FIX-SUSE: remove the build date from src/version.c
 Patch4:         gdbm-no-build-date.patch
+# Build with -no-common, [bsc#1160872] (mail to [email protected])
+Patch5:         gdbm-no-common.patch
 BuildRequires:  libtool
 BuildRequires:  makeinfo
 BuildRequires:  readline-devel
@@ -105,6 +107,7 @@
 %prep
 %setup -q
 %patch4 -p1
+%patch5 -p1
 
 %build
 


++++++ gdbm-no-common.patch ++++++
Index: gdbm-1.18.1/src/gdbm_dump.c
===================================================================
--- gdbm-1.18.1.orig/src/gdbm_dump.c    2018-05-30 11:39:15.000000000 +0200
+++ gdbm-1.18.1/src/gdbm_dump.c 2020-01-20 17:48:28.838317331 +0100
@@ -19,8 +19,6 @@
 # include "gdbmapp.h"
 # include "gdbmdefs.h"
 
-char *parseopt_program_doc = "dump a GDBM database to a file";
-char *parseopt_program_args = "DB_FILE [FILE]";
 struct gdbm_option optab[] = {
   { 'H', "format", "binary|ascii|0|1", N_("select dump format") },
   { 0 }
@@ -43,6 +41,8 @@ main (int argc, char **argv)
   textdomain (PACKAGE);
 
   set_progname (argv[0]);
+  parseopt_program_doc = "dump a GDBM database to a file";
+  parseopt_program_args = "DB_FILE [FILE]";
 
   for (opt = parseopt_first (argc, argv, optab);
        opt != EOF;
Index: gdbm-1.18.1/src/gdbm_load.c
===================================================================
--- gdbm-1.18.1.orig/src/gdbm_load.c    2018-05-30 11:39:15.000000000 +0200
+++ gdbm-1.18.1/src/gdbm_load.c 2020-01-20 17:49:03.454509733 +0100
@@ -29,8 +29,6 @@ int mode;
 uid_t owner_uid;
 gid_t owner_gid;
 
-char *parseopt_program_doc = "load a GDBM database from a file";
-char *parseopt_program_args = "FILE [DB_FILE]";
 struct gdbm_option optab[] = {
   { 'r', "replace", NULL, N_("replace records in the existing database") },
   { 'm', "mode", N_("MODE"), N_("set file mode") },
@@ -107,6 +105,8 @@ main (int argc, char **argv)
   textdomain (PACKAGE);
 
   set_progname (argv[0]);
+  parseopt_program_doc = "load a GDBM database from a file";
+  parseopt_program_args = "FILE [DB_FILE]";
 
   for (opt = parseopt_first (argc, argv, optab);
        opt != EOF;
Index: gdbm-1.18.1/src/gdbmtool.c
===================================================================
--- gdbm-1.18.1.orig/src/gdbmtool.c     2018-10-18 14:48:12.000000000 +0200
+++ gdbm-1.18.1/src/gdbmtool.c  2020-01-20 17:50:08.118869170 +0100
@@ -1535,8 +1535,6 @@ command_lookup (const char *str, struct
   return found->tok;
 }
 
-char *parseopt_program_doc = N_("examine and/or modify a GDBM database");
-char *parseopt_program_args = N_("DBFILE [COMMAND [ARG ...]]");
 
 enum {
   OPT_LEX_TRACE = 256,
@@ -2054,6 +2052,8 @@ main (int argc, char *argv[])
   instream_t input = NULL;
   
   set_progname (argv[0]);
+  parseopt_program_doc = N_("examine and/or modify a GDBM database");
+  parseopt_program_args = N_("DBFILE [COMMAND [ARG ...]]");
 #if GDBM_DEBUG_ENABLE
   gdbm_debug_printer = debug_printer;
 #endif


Reply via email to