Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package autocutsel for openSUSE:Factory 
checked in at 2021-06-04 00:34:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autocutsel (Old)
 and      /work/SRC/openSUSE:Factory/.autocutsel.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autocutsel"

Fri Jun  4 00:34:07 2021 rev:13 rq:897260 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/autocutsel/autocutsel.changes    2014-12-30 
00:51:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.autocutsel.new.1898/autocutsel.changes  
2021-06-04 00:34:25.925019747 +0200
@@ -1,0 +2,6 @@
+Thu Jun  3 16:26:16 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 0.10.1
+  + fixed allocation error
+
+-------------------------------------------------------------------

Old:
----
  autocutsel-0.10.0.tar.gz

New:
----
  autocutsel-0.10.1.tar.gz

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

Other differences:
------------------
++++++ autocutsel.spec ++++++
--- /var/tmp/diff_new_pack.MMP0v5/_old  2021-06-04 00:34:26.305020158 +0200
+++ /var/tmp/diff_new_pack.MMP0v5/_new  2021-06-04 00:34:26.309020163 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package autocutsel
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           autocutsel
-Url:            http://www.nongnu.org/autocutsel/
+URL:            https://www.nongnu.org/autocutsel/
 BuildRequires:  pkgconfig(xaw7)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xmu)
 BuildRequires:  pkgconfig(xt)
-Version:        0.10.0
+Version:        0.10.1
 Release:        0
 Summary:        Clipboard / Cutbuffer management helper
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/X11/Utilities
 Source:         
https://github.com/sigmike/autocutsel/releases/download/%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 X servers use two schemes to copy text between applications. The first one
@@ -56,16 +55,15 @@
 
 %build
 %configure
-make %{?_smp_mflags}
+%make_build
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
+%make_install
 
 %files
-%defattr(-,root,root)
 %doc COPYING
-/usr/bin/cutsel
-/usr/bin/autocutsel
+%{_bindir}/cutsel
+%{_bindir}/autocutsel
 %doc README
 
 %changelog

++++++ autocutsel-0.10.0.tar.gz -> autocutsel-0.10.1.tar.gz ++++++
++++ 18893 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/ChangeLog new/autocutsel-0.10.1/ChangeLog
--- old/autocutsel-0.10.0/ChangeLog     2014-05-04 20:19:34.000000000 +0200
+++ new/autocutsel-0.10.1/ChangeLog     2021-03-03 12:18:54.000000000 +0100
@@ -1,3 +1,7 @@
+v0.10.1: 2021-03-03
+  - fixed allocation error (Jeremie Courreges-Anglas)
+       - updated configure scripts
+
 v0.10.0: 2014-05-04
   - set WM_NAME, _NET_WM_NAME, and _NET_WM_PID (Michael Stapelberg)
   - support for UTF-8 strings
@@ -38,13 +42,13 @@
   - added a cutsel tools to change/retreive the cutbuffer
     or the selection
   - fixed minor bugs
-               
+
 v0.6.1: 2002-06-02
   - uses the length of values instead of '\0' at the end
 
 v0.6: 2002-05-27
   - fixed a memory leak
-               
+
 v0.5: 2002-05-26
   - fixed a bug the prevented selection to be owned when
     the cutbuffer was modified
@@ -58,7 +62,7 @@
   - improved debug messages
   - memory leak fixed?
   - minor bugfixes
-       
+
 v0.3:
   - applied a patch from Mark Warburton to ignore the cutbuffer
     value if it's empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/README new/autocutsel-0.10.1/README
--- old/autocutsel-0.10.0/README        2014-05-04 18:25:47.000000000 +0200
+++ new/autocutsel-0.10.1/README        2021-03-03 12:23:02.000000000 +0100
@@ -1,7 +1,7 @@
 autocutsel
 http://www.nongnu.org/autocutsel/
 https://github.com/sigmike/autocutsel
-Copyright (c) 2001-2006 - Michael Witrant
+Copyright (c) 2001-2021 - Michael Witrant
 
 X servers use two schemes to copy text between applications. The first one
 (old and deprecated) is the cutbuffer. It is a simple buffer in which any
@@ -36,7 +36,7 @@
  ./configure
  make
 
-If you downloaded autocutsel from CVS, you first have to run ./autogen.sh to
+If you downloaded autocutsel from git you first have to run ./bootstrap to
 build the configure script.
 
 If configure fails because it can't find X or Xaw libraries, you may have to
@@ -65,7 +65,7 @@
 
 Michael Witrant <mike at lepton.fr>
 
-       
+
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/autocutsel.c new/autocutsel-0.10.1/autocutsel.c
--- old/autocutsel-0.10.0/autocutsel.c  2014-05-04 18:42:18.000000000 +0200
+++ new/autocutsel-0.10.1/autocutsel.c  2021-03-03 12:22:27.000000000 +0100
@@ -1,16 +1,16 @@
 /*
  * autocutsel by Michael Witrant <mike @ lepton . fr>
  * Synchronizes the cutbuffer and the selection
- * Copyright (c) 2001-2006 Michael Witrant.
- * 
+ * Copyright (c) 2001-2021 Michael Witrant.
+ *
  * Most code taken from:
  * * clear-cut-buffers.c by "E. Jay Berkenbilt" <ejb @ ql . org>
  *   in this messages:
  *     http://boudicca.tux.org/mhonarc/ma-linux/2001-Feb/msg00824.html
- * 
+ *
  * * xcutsel.c by Ralph Swick, DEC/Project Athena
  *   from the XFree86 project: http://www.xfree86.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -27,7 +27,7 @@
  *
  * This program is distributed under the terms
  * of the GNU General Public License (read the COPYING file)
- * 
+ *
  */
 
 #include "common.h"
@@ -55,7 +55,7 @@
 {
   fprintf (stderr,
     "usage:  %s [-selection <name>] [-cutbuffer <number>]"
-    " [-pause <milliseconds>] [-debug] [-verbose] [-fork] [-buttonup]\n", 
+    " [-pause <milliseconds>] [-debug] [-verbose] [-fork] [-buttonup]\n",
     call);
   exit (1);
 }
@@ -91,7 +91,7 @@
     close (fd);
 }
 
-static RETSIGTYPE Terminate(int caught)
+static void Terminate(int caught)
 {
   exit (0);
 }
@@ -156,21 +156,21 @@
                                   unsigned long *received_length, int *format)
 {
   int length = *received_length;
-  
-  if (*type == 0 || 
-      *type == XT_CONVERT_FAIL || 
-      length == 0 || 
+
+  if (*type == 0 ||
+      *type == XT_CONVERT_FAIL ||
+      length == 0 ||
       ValueDiffers(value, length)) {
     if (options.debug)
       printf("Selection is out of date. Owning it\n");
-    
+
     if (options.verbose)
     {
       printf("cut -> sel: ");
       PrintValue(options.value, options.length);
       printf("\n");
     }
-    
+
     if (XtOwnSelection(box, options.selection,
         0, //XtLastTimestampProcessed(dpy),
         ConvertSelection, LoseSelection, NULL) == True) {
@@ -189,16 +189,16 @@
 {
   char *value;
   int length;
-  
+
   value = XFetchBuffer(dpy, &length, buffer);
-  
+
   if (length > 0 && ValueDiffers(value, length)) {
     if (options.debug) {
       printf("Buffer changed: ");
       PrintValue(value, length);
       printf("\n");
     }
-    
+
     ChangeValue(value, length);
     XtGetSelectionValue(box, selection, XInternAtom(dpy, "UTF8_STRING", False),
       OwnSelectionIfDiffers, NULL,
@@ -214,7 +214,7 @@
                               unsigned long *received_length, int *format)
 {
   int length = *received_length;
-  
+
   if (*type != 0 && *type != XT_CONVERT_FAIL) {
     if (length > 0 && ValueDiffers(value, length)) {
       if (options.debug) {
@@ -222,7 +222,7 @@
         PrintValue((char*)value, length);
         printf("\n");
       }
-    
+
       ChangeValue((char*)value, length);
       if (options.verbose) {
         printf("sel -> cut: ");
@@ -231,18 +231,18 @@
       }
       if (options.debug)
         printf("Updating buffer\n");
-      
+
       XStoreBuffer(XtDisplay(w),
              (char*)options.value,
              (int)(options.length),
              buffer );
-      
+
       XtFree(value);
       return;
     }
   }
   XtFree(value);
-  
+
   // Unless a new selection value is found, check the buffer value
   CheckBuffer();
 }
@@ -269,7 +269,7 @@
         SelectionReceived, NULL,
         CurrentTime);
   }
-  
+
   XtAppAddTimeOut(context, options.pause, timeout, 0);
 }
 
@@ -293,20 +293,20 @@
     options.debug = 1;
   else
     options.debug = 0;
-  
+
   if (strcmp(options.verbose_option, "on") == 0)
     options.verbose = 1;
   else
     options.verbose = 0;
-  
+
   if (options.debug || options.verbose)
     printf("autocutsel v%s\n", VERSION);
-   
+
   if (strcmp(options.buttonup_option, "on") == 0)
     options.buttonup = 1;
   else
     options.buttonup = 0;
-  
+
   if (strcmp(options.fork_option, "on") == 0) {
     options.fork = 1;
     options.verbose = 0;
@@ -342,14 +342,14 @@
   options.length = 0;
 
   options.own_selection = 0;
-   
+
   box = XtCreateManagedWidget("box", boxWidgetClass, top, NULL, 0);
   dpy = XtDisplay(top);
 
   selection = XInternAtom(dpy, options.selection_name, 0);
   options.selection = selection;
   buffer = 0;
-   
+
   options.value = XFetchBuffer(dpy, &options.length, buffer);
 
   XtAppAddTimeOut(context, options.pause, timeout, 0);
@@ -385,6 +385,6 @@
   XChangeProperty(dpy, XtWindow(top), atoms[_NET_WM_PID], atoms[CARDINAL], 32, 
PropModeReplace, (const unsigned char*)&pid, 1);
 
   XtAppMainLoop(context);
-  
+
   return 0;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/common.c new/autocutsel-0.10.1/common.c
--- old/autocutsel-0.10.0/common.c      2014-05-04 18:41:32.000000000 +0200
+++ new/autocutsel-0.10.1/common.c      2021-03-03 12:22:20.000000000 +0100
@@ -1,8 +1,8 @@
 /*
  * autocutsel by Michael Witrant <mike @ lepton . fr>
  * Manipulates the cutbuffer and the selection
- * Copyright (c) 2001-2006 Michael Witrant.
- * 
+ * Copyright (c) 2001-2021 Michael Witrant.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -19,9 +19,9 @@
  *
  * This program is distributed under the terms
  * of the GNU General Public License (read the COPYING file)
- * 
+ *
  */
- 
+
 #include "common.h"
 
 Widget box;
@@ -35,7 +35,7 @@
 {
   unsigned char c;
   int len = 0;
-  
+
   putc('"', stdout);
   for (; length > 0; length--, value++) {
     c = (unsigned char)*value;
@@ -63,7 +63,7 @@
   }
   putc('"', stdout);
 }
-  
+
 
 
 // called when someone requests the selection value
@@ -75,23 +75,23 @@
   XSelectionRequestEvent* req =
     XtGetSelectionRequest(w, *selection, (XtRequestId)NULL);
   Atom utf8_string = XInternAtom(d, "UTF8_STRING", False);
-  
+
   if (options.debug) {
     printf("Window 0x%lx requested %s of selection %s.\n",
       req->requestor,
       XGetAtomName(d, *target),
       XGetAtomName(d, *selection));
   }
-  
+
   if (*target == XA_TARGETS(d)) {
     Atom *targetP, *atoms;
     XPointer std_targets;
     unsigned long std_length;
     int i;
-    
+
     XmuConvertStandardSelection(w, req->time, selection, target, type,
         &std_targets, &std_length, format);
-    *value = XtMalloc(sizeof(Atom)*(std_length + 4));
+    *value = XtMalloc(sizeof(Atom)*(std_length + 5));
     targetP = *(Atom**)value;
     atoms = targetP;
     *length = std_length + 5;
@@ -104,7 +104,7 @@
     XtFree((char*)std_targets);
     *type = XA_ATOM;
     *format = 32;
-    
+
     if (options.debug) {
       printf("Targets are: ");
       for (i=0; i<*length; i++)
@@ -114,7 +114,7 @@
 
     return True;
   }
-  
+
   if (*target == utf8_string || *target == XA_STRING || *target == XA_TEXT(d)) 
{
     *type = *target;
     *value = XtMalloc((Cardinal) options.length);
@@ -127,10 +127,10 @@
       PrintValue((char*)*value, *length);
       printf("\n");
     }
-   
+
     return True;
   }
-  
+
   if (*target == XA_LIST_LENGTH(d)) {
     CARD32 *temp = (CARD32 *) XtMalloc(sizeof(CARD32));
     *temp = 1L;
@@ -144,7 +144,7 @@
 
     return True;
   }
-  
+
   if (*target == XA_LENGTH(d)) {
     CARD32 *temp = (CARD32 *) XtMalloc(sizeof(CARD32));
     *temp = options.length;
@@ -158,13 +158,13 @@
 
     return True;
   }
-  
+
   if (XmuConvertStandardSelection(w, req->time, selection, target, type,
           (XPointer *)value, length, format)) {
     printf("Returning conversion of standard selection\n");
     return True;
   }
-   
+
   /* else */
   if (options.debug)
     printf("Target not supported\n");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/common.h new/autocutsel-0.10.1/common.h
--- old/autocutsel-0.10.0/common.h      2014-05-04 18:25:47.000000000 +0200
+++ new/autocutsel-0.10.1/common.h      2021-03-03 12:22:16.000000000 +0100
@@ -1,8 +1,8 @@
 /*
  * autocutsel by Michael Witrant <mike @ lepton . fr>
  * Manipulates the cutbuffer and the selection
- * Copyright (c) 2001-2006 Michael Witrant.
- * 
+ * Copyright (c) 2001-2021 Michael Witrant.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
  *
  * This program is distributed under the terms
  * of the GNU General Public License (read the COPYING file)
- * 
+ *
  */
 
 #include "config.h"
@@ -54,8 +54,8 @@
   String  buttonup_option;
   String  kill;
   int     pause;
-  int     debug; 
-  int     verbose; 
+  int     debug;
+  int     verbose;
   int     fork;
   Atom    selection;
   char*   value;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/compile new/autocutsel-0.10.1/compile
--- old/autocutsel-0.10.0/compile       2013-12-25 10:24:06.000000000 +0100
+++ new/autocutsel-0.10.1/compile       2020-11-28 15:08:30.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 # Written by Tom Tromey <tro...@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -53,7 +53,7 @@
          MINGW*)
            file_conv=mingw
            ;;
-         CYGWIN*)
+         CYGWIN* | MSYS*)
            file_conv=cygwin
            ;;
          *)
@@ -67,7 +67,7 @@
        mingw/*)
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
-       cygwin/*)
+       cygwin/* | msys/*)
          file=`cygpath -m "$file" || echo "$file"`
          ;;
        wine/*)
@@ -255,7 +255,8 @@
     echo "compile $scriptversion"
     exit $?
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
 esac
@@ -339,9 +340,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/config.h.in new/autocutsel-0.10.1/config.h.in
--- old/autocutsel-0.10.0/config.h.in   2014-05-04 20:25:07.000000000 +0200
+++ new/autocutsel-0.10.1/config.h.in   2021-03-03 12:24:55.000000000 +0100
@@ -6,12 +6,12 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
 /* Define to 1 if you have the <stdint.h> header file. */
 #undef HAVE_STDINT_H
 
+/* Define to 1 if you have the <stdio.h> header file. */
+#undef HAVE_STDIO_H
+
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
@@ -54,13 +54,12 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
-/* Define to 1 if the `setpgrp' function takes no argument. */
+/* Define to 1 if the `setpgrp' function requires zero arguments. */
 #undef SETPGRP_VOID
 
-/* Define to 1 if you have the ANSI C header files. */
+/* Define to 1 if all of the C90 standard headers exist (not just the ones
+   required in a freestanding environment). This macro is provided for
+   backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
 
 /* Version number of package */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/configure.ac new/autocutsel-0.10.1/configure.ac
--- old/autocutsel-0.10.0/configure.ac  2014-05-04 20:17:28.000000000 +0200
+++ new/autocutsel-0.10.1/configure.ac  2021-03-03 12:19:23.000000000 +0100
@@ -1,15 +1,15 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([autocutsel], [0.10.0])
+AC_INIT([autocutsel],[0.10.1])
 AC_CONFIG_SRCDIR([autocutsel.c])
 AM_INIT_AUTOMAKE
 
 AC_CONFIG_MACRO_DIRS([m4])
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 dnl Checks for programs.
 AC_PROG_CC
-AC_PROG_LIBTOOL
+LT_INIT
 AC_PATH_XTRA
 if test "$no_x" = "yes"
 then
@@ -19,7 +19,7 @@
 
 LIBS="$X_PRE_LIBS $X_LIBS $LIBS -lX11 $X_EXTRA_LIBS"
 
-AC_CHECK_LIB(Xaw, main, 
+AC_CHECK_LIB(Xaw, main,
   LIBS="$LIBS -lXaw",
   AC_MSG_ERROR(Unable to find Xaw library),
   $LIBS)
@@ -34,23 +34,17 @@
   AC_MSG_ERROR(Unable to find Xmu library),
   $LIBS)
 
-dnl Checks for libraries.
-
-dnl Checks for header files.
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_TYPE_SIGNAL
-
 dnl Checks for library functions.
 AC_FUNC_SETPGRP
 
 dnl Warnings
 AC_MSG_CHECKING([whether to enable -Wall])
-if test -n "$GCC"; then 
+if test -n "$GCC"; then
   AC_MSG_RESULT(adding -Wall to CFLAGS.)
   CFLAGS="$CFLAGS -Wall"
 else
   AC_MSG_RESULT(no)
 fi
 
-AC_OUTPUT(Makefile)
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/cutsel.c new/autocutsel-0.10.1/cutsel.c
--- old/autocutsel-0.10.0/cutsel.c      2014-05-04 18:25:47.000000000 +0200
+++ new/autocutsel-0.10.1/cutsel.c      2021-03-03 12:22:07.000000000 +0100
@@ -1,8 +1,8 @@
 /*
  * autocutsel by Michael Witrant <mike @ lepton . fr>
  * Manipulates the cutbuffer and the selection
- * Copyright (c) 2001-2006 Michael Witrant.
- * 
+ * Copyright (c) 2001-2021 Michael Witrant.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
  *
  * This program is distributed under the terms
  * of the GNU General Public License (read the COPYING file)
- * 
+ *
  */
 
 
@@ -81,7 +81,7 @@
                            unsigned long *received_length, int *format)
 {
   Display* d = XtDisplay(w);
-  
+
   if (*type == 0)
     printf("Nobody owns the selection\n");
   else if (*type == XA_STRING)
@@ -100,7 +100,7 @@
   Display* d = XtDisplay(w);
   int i;
   Atom *atoms;
-  
+
   if (*type == 0)
     printf("No target received\n");
   else if (*type == XA_ATOM) {
@@ -120,7 +120,7 @@
                            unsigned long *received_length, int *format)
 {
   Display* d = XtDisplay(w);
-  
+
   if (*type == 0)
     printf("No length received\n");
   else if (*type == XA_INTEGER) {
@@ -191,7 +191,7 @@
     options.debug = 1;
   else
     options.debug = 0;
-   
+
   if (strcmp(options.verbose_option, "on") == 0)
     options.verbose = 1;
   else
@@ -199,13 +199,13 @@
 
   if (options.debug || options.verbose)
     printf("cutsel v%s\n", VERSION);
-   
+
   options.value = NULL;
   options.length = 0;
 
   box = XtCreateManagedWidget("box", boxWidgetClass, top, NULL, 0);
   dpy = XtDisplay(top);
-   
+
   selection = XInternAtom(dpy, options.selection_name, 0);
   options.selection = selection;
   buffer = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/m4/ltversion.m4 new/autocutsel-0.10.1/m4/ltversion.m4
--- old/autocutsel-0.10.0/m4/ltversion.m4       2013-11-19 20:24:54.000000000 
+0100
+++ new/autocutsel-0.10.1/m4/ltversion.m4       2020-08-09 17:24:16.000000000 
+0200
@@ -1,6 +1,6 @@
 # ltversion.m4 -- version numbers                      -*- Autoconf -*-
 #
-#   Copyright (C) 2004, 2011-2013 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2011-2018 Free Software Foundation, Inc.
 #   Written by Scott James Remnant, 2004
 #
 # This file is free software; the Free Software Foundation gives
@@ -9,15 +9,15 @@
 
 # @configure_input@
 
-# serial 4038 ltversion.m4
+# serial 4221 ltversion.m4
 # This file is part of GNU Libtool
 
-m4_define([LT_PACKAGE_VERSION], [2.4.2.418])
-m4_define([LT_PACKAGE_REVISION], [2.4.2.418])
+m4_define([LT_PACKAGE_VERSION], [2.4.6.42-b88ce-dirty])
+m4_define([LT_PACKAGE_REVISION], [2.4.6.42])
 
 AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.4.2.418'
-macro_revision='2.4.2.418'
+[macro_version='2.4.6.42-b88ce-dirty'
+macro_revision='2.4.6.42'
 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 _LT_DECL(, macro_revision, 0)
 ])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/missing new/autocutsel-0.10.1/missing
--- old/autocutsel-0.10.0/missing       2013-12-25 10:24:06.000000000 +0100
+++ new/autocutsel-0.10.1/missing       2020-11-28 15:08:30.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,9 +207,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/autocutsel-0.10.0/test_autocutsel.rb 
new/autocutsel-0.10.1/test_autocutsel.rb
--- old/autocutsel-0.10.0/test_autocutsel.rb    2013-11-19 20:58:04.000000000 
+0100
+++ new/autocutsel-0.10.1/test_autocutsel.rb    2021-03-03 12:22:52.000000000 
+0100
@@ -1,8 +1,8 @@
 =begin
  * autocutsel by Michael Witrant <mike @ lepton . fr>
  * Manipulates the cutbuffer and the selection
- * Copyright (c) 2001-2006 Michael Witrant.
- * 
+ * Copyright (c) 2001-2021 Michael Witrant.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
  *
  * This program is distributed under the terms
  * of the GNU General Public License (read the COPYING file)
- * 
+ *
 =end
 
 require 'test/unit'
@@ -32,15 +32,15 @@
     result = nil if result == "Nobody owns the selection"
     result
   end
-  
+
   def get_buffer
     %x(./cutsel cut).chomp
   end
-  
+
   def set_buffer value
     system "./cutsel", "cut", value
   end
-  
+
   def set_selection value, selection = nil
     command = ["./cutsel", "sel", value]
     command += ["-s", selection] if selection
@@ -57,7 +57,7 @@
       Process.waitpid pid
     end
   end
-  
+
   def run_autocutsel options = {}
     command = ["./autocutsel", "-pause", "1"]
     command += ["-s", options[:selection]] if options[:selection]
@@ -85,7 +85,7 @@
       end
     end
   end
-  
+
   def get_targets
     %x(./cutsel targets).split("\n")[1..-1]
   end
@@ -95,14 +95,14 @@
     set_buffer "cutbuffer value"
     assert_equal "cutbuffer value", get_buffer
   end
-  
+
   def test_cutsel_owns_selection
     set_selection "selection value" do
       assert_equal "selection value", get_selection
     end
     assert_nil get_selection
   end
-  
+
   def test_autocutsel_changes_buffer
     set_buffer "foo"
     run_autocutsel do
@@ -114,13 +114,13 @@
     assert_equal "bar", get_buffer
     assert_nil get_selection
   end
-  
+
   def test_autocutsel_owns_selection
     run_autocutsel_and_make_it_own_selection "my value" do
       assert_equal "my value", get_selection
     end
   end
-  
+
   def test_autocutsel_targets
     run_autocutsel_and_make_it_own_selection do
       targets = get_targets
@@ -129,14 +129,14 @@
       end
     end
   end
-  
+
   def test_default_selection
     run_autocutsel_and_make_it_own_selection __method__.to_s do
       assert_equal __method__.to_s, get_selection("CLIPBOARD")
       assert_nil get_selection("my_selection")
     end
   end
-  
+
   def test_primary_selection
     clipboard_value = get_selection("CLIPBOARD")
     run_autocutsel_and_make_it_own_selection __method__.to_s, "PRIMARY" do

Reply via email to