Projects
openEuler:Mainline
libXfixes
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
_service:tar_scm:libXfixes.spec
Changed
@@ -1,12 +1,12 @@ %bcond_without static Name: libXfixes -Version: 6.0.0 -Release: 2 +Version: 6.0.1 +Release: 1 Summary: X11 miscellaneous "fixes" extension library License: MIT URL: https://xorg.freedesktop.org/ -Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 +Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz BuildRequires: automake libtool xorg-x11-proto-devel libXext-devel Requires: libX11 @@ -61,6 +61,9 @@ %{_mandir}/man3/Xfixes.3.gz %changelog +* Thu Jul 20 2023 zhangpan <zhangpan103@h-partners.com> - 6.0.1-1 +- update to 6.0.1 + * Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 6.0.0-2 - disable static library by default
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/COPYING -> _service:tar_scm:libXfixes-6.0.1.tar.gz/COPYING
Changed
@@ -19,7 +19,7 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2006, Oracle and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/ChangeLog -> _service:tar_scm:libXfixes-6.0.1.tar.gz/ChangeLog
Changed
@@ -1,3 +1,175 @@ +commit c1cab28e27dd1c5a81394965248b57e490ccf2ca +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sun Apr 9 13:27:07 2023 -0700 + + libXfixes 6.0.1 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 1f908b1f27723a9a8f532ab4cc58429c2f174224 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Feb 25 09:24:30 2023 -0800 + + Remove "All rights reserved" from Oracle copyright notices + + Oracle no longer includes this term in our copyright & license notices. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit ad22c5ade8789cdb606b244336106a713473318c +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Mon Feb 13 15:12:32 2023 -0800 + + Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL + + AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, + so it's time to rely on it. + + Clears autoconf warnings: + + configure.ac:44: warning: The macro `AC_PROG_LIBTOOL' is obsolete. + configure.ac:44: You should run autoupdate. + aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... + configure.ac:44: the top level + + libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS(m4)' to configure.ac, + libtoolize: and rerunning libtoolize and aclocal. + libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 332394278b7110a774b5277bb3cfc58c42cd888c +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 12:09:43 2022 -0800 + + XFixesCloseDisplay: Mark codes as unused + + Quiets clang warning: + Xfixes.c:206:46: warning: unused parameter 'codes' -Wunused-parameter + XFixesCloseDisplay (Display *dpy, XExtCodes *codes) + ^ + + Raises minimum required version of xproto to 7.0.22 (released June 2011) + for the definition of _X_UNUSED + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 64fc7592fd27bbee300085773247dd1737a5af1b +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 12:05:59 2022 -0800 + + Handle 6 of 9 -Wsign-conversion warnings from clang + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 80ea445ff6865f9a04c4522c6d8b6cf940b10397 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 11:28:19 2022 -0800 + + Handle 60 of 60 -Wimplicit-int-conversion warnings from clang + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 26cd44cc3d2b5db5caa42d9203a866f12c039980 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 11:18:11 2022 -0800 + + Handle 63 of 63 -Wshorten-64-to-32 warnings from clang + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 2047abb224051d578a6a320b776a7e8a969a980c +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 10:52:50 2022 -0800 + + Resolve 36 of 40 -Wextra-semi-stmt warnings from clang + + Wrap XFixesCheckExtension() & XFixesSimpleCheckExtension() macro + bodies in do { ... } while(0) so that they use the semicolon + provided by callers instead of letting it dangle as another statement. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 5129fc91b8483ec3a11e18280eac00857311edfa +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 10:47:24 2022 -0800 + + Quiet -Wconditional-uninitialized warnings from clang + + I believe these were false positives, as the variables were initialized + unless the image = NULL -> if (!image) return NULL code path was followed, + but this makes clang stop warning. + + Cursor.c:144:8: warning: variable 'nbytes' may be uninitialized when used here + -Wconditional-uninitialized + if(nbytes > nread) + ^~~~~~ + Cursor.c:80:21: note: initialize the variable 'nbytes' to silence this warning + size_t nbytes , nread ; + ^ + = 0 + Cursor.c:144:17: warning: variable 'nread' may be uninitialized when used here + -Wconditional-uninitialized + if(nbytes > nread) + ^~~~~ + Cursor.c:80:29: note: initialize the variable 'nread' to silence this warning + size_t nbytes , nread ; + ^ + = 0 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit aba73d85ce4a2fc1a5fb0ec27b15415eed21ebae +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 10:40:43 2022 -0800 + + Mark two dpy parameters const as suggested by cppcheck + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 82662a3129c59d5950b52ff4daf2e47c7a87327b +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 10:36:54 2022 -0800 + + Variable scope reduction as recommended by cppcheck + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit e56e1003ab225d383cda67eb61737bc14e92332c +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Nov 19 10:29:07 2022 -0800 + + Remove unnecessary casts from malloc & free calls + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit d10ec36c81a6b488d1f700a28c5bff4714287b78 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sun Jul 17 13:11:17 2022 -0700 + + gitlab CI: add a basic build test + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit a38941111da1fe9661fc3b9b505e0ba326d82d72 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sun Jul 17 13:10:06 2022 -0700 + + Fix spelling/wording issues + + Found by using: + codespell --builtin clear,rare,usage,informal,code,names + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit c454dac2c64dbf87551e957f4b0558b116621889 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sun Jul 17 13:09:32 2022 -0700 + + Build xz tarballs instead of bzip2 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + commit 6fe3bd64dd82f704ed91478acb4c99ab5c00be16 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed May 12 09:34:39 2021 +1000 @@ -718,32 +890,32 @@ Require automake 1.7 in AM_INIT_AUTOMAKE commit 1406e1cbe2cf76e6e056377af831f9fdf710e487 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue May 17 17:02:24 2005 +0000 Conditionally include config.h in xc/lib/Xdamage and xc/lib/Xfixes commit 03d31637787906378bc2809758b6dbfe79ea55ad -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue May 17 16:11:26 2005 +0000 Remove rest of half-removed if statement remove irrelevant entries commit 7d85687a6d8319ac1a48e0294228632ffbefdc8a -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue May 17 15:22:23 2005 +0000 And here
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/Makefile.am -> _service:tar_scm:libXfixes-6.0.1.tar.gz/Makefile.am
Changed
@@ -37,3 +37,4 @@ dist-hook: ChangeLog INSTALL EXTRA_DIST = README.md +ACLOCAL_AMFLAGS = -I m4
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/Makefile.in -> _service:tar_scm:libXfixes-6.0.1.tar.gz/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -111,7 +111,10 @@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ @@ -204,13 +207,11 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/xfixes.pc.in AUTHORS COPYING ChangeLog INSTALL \ - compile config.guess config.sub install-sh ltmain.sh missing + README.md compile config.guess config.sub install-sh ltmain.sh \ + missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -246,9 +247,11 @@ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz GZIP_ENV = --best -DIST_TARGETS = dist-bzip2 dist-gzip +DIST_TARGETS = dist-xz dist-gzip +# Exists only to be overridden by the user if desired. +AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' @@ -270,8 +273,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -285,8 +289,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FIXESEXT_CFLAGS = @FIXESEXT_CFLAGS@ @@ -399,6 +405,7 @@ pkgconfig_DATA = xfixes.pc MAINTAINERCLEANFILES = ChangeLog INSTALL EXTRA_DIST = README.md +ACLOCAL_AMFLAGS = -I m4 all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -589,7 +596,6 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am @@ -663,6 +669,7 @@ dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) + dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) @@ -670,7 +677,6 @@ dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) - dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) @@ -738,7 +744,7 @@ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/README.md -> _service:tar_scm:libXfixes-6.0.1.tar.gz/README.md
Changed
@@ -6,7 +6,7 @@ https://lists.x.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: https://gitlab.freedesktop.org/xorg/lib/libXfixes
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/aclocal.m4 -> _service:tar_scm:libXfixes-6.0.1.tar.gz/aclocal.m4
Changed
@@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.2 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,9389 +14,13 @@ m4_ifndef(AC_CONFIG_MACRO_DIRS, m4_defun(_AM_CONFIG_MACRO_DIRS, )m4_defun(AC_CONFIG_MACRO_DIRS, _AM_CONFIG_MACRO_DIRS($@))) m4_ifndef(AC_AUTOCONF_VERSION, m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl -m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.69,, -m4_warning(this file was generated for autoconf 2.69. +m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.71,, +m4_warning(this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.)) -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define(_LT_COPYING, dnl -# Copyright (C) 2014 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool 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 of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program or library that is built -# using GNU Libtool, you may include this file under the same -# distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# 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/>. -) - -# serial 58 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun(LT_PREREQ, -m4_if(m4_version_compare(m4_defn(LT_PACKAGE_VERSION), $1), -1, - m4_default($3, - m4_fatal(Libtool version $1 or higher is required, - 63)), - $2)) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun(_LT_CHECK_BUILDDIR, -case `pwd` in - *\ * | *\ *) - AC_MSG_WARN(Libtool does not cope well with whitespace in `pwd`) ;; -esac -) - - -# LT_INIT(OPTIONS) -# ------------------ -AC_DEFUN(LT_INIT, -AC_PREREQ(2.62)dnl We use AC_PATH_PROGS_FEATURE_CHECK -AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl -AC_BEFORE($0, LT_LANG)dnl -AC_BEFORE($0, LT_OUTPUT)dnl -AC_BEFORE($0, LTDL_INIT)dnl -m4_require(_LT_CHECK_BUILDDIR)dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid(^_?LT_A-Z_+$)dnl -m4_pattern_allow(^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$)dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE(LTOPTIONS_VERSION)dnl -AC_REQUIRE(LTSUGAR_VERSION)dnl -AC_REQUIRE(LTVERSION_VERSION)dnl -AC_REQUIRE(LTOBSOLETE_VERSION)dnl -m4_require(_LT_PROG_LTMAIN)dnl - -_LT_SHELL_INIT(SHELL=${CONFIG_SHELL-/bin/sh}) - -dnl Parse OPTIONS -_LT_SET_OPTIONS($0, $1) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS=$ltmain - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define(LT_INIT) -)# LT_INIT - -# Old names: -AU_ALIAS(AC_PROG_LIBTOOL, LT_INIT) -AU_ALIAS(AM_PROG_LIBTOOL, LT_INIT) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN(AC_PROG_LIBTOOL, ) -dnl AC_DEFUN(AM_PROG_LIBTOOL, ) - - -# _LT_PREPARE_CC_BASENAME -# ----------------------- -m4_defun(_LT_PREPARE_CC_BASENAME, -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -func_cc_basename () -{ - for cc_temp in @S|@*""; do - case $cc_temp in - compile | *\\/compile | ccache | *\\/ccache ) ;; - distcc | *\\/distcc | purify | *\\/purify ) ;; - \-*) ;; - *) break;; - esac - done - func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -} -)# _LT_PREPARE_CC_BASENAME - - -# _LT_CC_BASENAME(CC) -# ------------------- -# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, -# but that macro is also expanded into generated libtool script, which -# arranges for $SED and $ECHO to be set by different means. -m4_defun(_LT_CC_BASENAME, -m4_require(_LT_PREPARE_CC_BASENAME)dnl -AC_REQUIRE(_LT_DECL_SED)dnl -AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl -func_cc_basename $1 -cc_basename=$func_cc_basename_result -) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after 'm4_require(_LT_FILEUTILS_DEFAULTS)'. -m4_defun(_LT_FILEUTILS_DEFAULTS, -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -)# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun(_LT_SETUP, -AC_REQUIRE(AC_CANONICAL_HOST)dnl -AC_REQUIRE(AC_CANONICAL_BUILD)dnl -AC_REQUIRE(_LT_PREPARE_SED_QUOTE_VARS)dnl -AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl - -_LT_DECL(, PATH_SEPARATOR, 1, The PATH separator for the build system)dnl -dnl -_LT_DECL(, host_alias, 0, The host system)dnl -_LT_DECL(, host, 0)dnl -_LT_DECL(, host_os, 0)dnl -dnl -_LT_DECL(, build_alias, 0, The build system)dnl -_LT_DECL(, build, 0)dnl -_LT_DECL(, build_os, 0)dnl -dnl -AC_REQUIRE(AC_PROG_CC)dnl -AC_REQUIRE(LT_PATH_LD)dnl -AC_REQUIRE(LT_PATH_NM)dnl -dnl -AC_REQUIRE(AC_PROG_LN_S)dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL(, LN_S, 1, Whether we need soft or hard links)dnl -dnl -AC_REQUIRE(LT_CMD_MAX_LEN)dnl -_LT_DECL(objext, ac_objext, 0, Object file suffix (normally "o"))dnl -_LT_DECL(, exeext, 0, Executable file suffix (normally ""))dnl -dnl
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/compile -> _service:tar_scm:libXfixes-6.0.1.tar.gz/compile
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/config.guess -> _service:tar_scm:libXfixes-6.0.1.tar.gz/config.guess
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2018 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2018-08-29' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-01' # This file 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 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -27,11 +29,19 @@ # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to <config-patches@gnu.org>. +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + + me=`echo "$0" | sed -e 's,.*/,,'` usage="\ @@ -50,7 +60,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2018 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -84,6 +94,9 @@ exit 1 fi +# Just in case it came from the environment. +GUESS= + # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a @@ -96,12 +109,13 @@ tmp= # shellcheck disable=SC2172 -trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15 -trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0 +trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 set_cc_for_build() { + # prevent multiple calls if $tmp is already set + test "$tmp" && return 0 : "${TMPDIR=/tmp}" - # shellcheck disable=SC2039 + # shellcheck disable=SC2039,SC3028 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || @@ -111,7 +125,7 @@ ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c89 c99 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$driver" + CC_FOR_BUILD=$driver break fi done @@ -132,14 +146,12 @@ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "$UNAME_SYSTEM" in +case $UNAME_SYSTEM in Linux|GNU|GNU/*) - # If the system lacks a compiler, then just pick glibc. - # We could probably try harder. - LIBC=gnu + LIBC=unknown set_cc_for_build cat <<-EOF > "$dummy.c" @@ -148,24 +160,37 @@ LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc - #else + #elif defined(__GLIBC__) LIBC=gnu + #else + #include <stdarg.h> + /* First heuristic to detect musl libc. */ + #ifdef __DEFINED_va_list + LIBC=musl + #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval "$cc_set_libc" - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl + # Second heuristic to detect musl libc. + if "$LIBC" = unknown && + command -v ldd >/dev/null && + ldd --version 2>&1 | grep -q ^musl; then + LIBC=musl + fi + + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + if "$LIBC" = unknown ; then + LIBC=gnu fi ;; esac # Note: order is significant - the case branches are not exclusive. -case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in +case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, @@ -177,12 +202,12 @@ # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ + /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ echo unknown)` - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in + aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; @@ -191,13 +216,13 @@ earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv0-9\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` - machine="${arch}${endian}"-unknown + machine=${arch}${endian}-unknown ;; - *) machine="$UNAME_MACHINE_ARCH"-unknown ;; + *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; @@ -218,7 +243,7 @@ ;; esac # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv0-9/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` @@ -229,7 +254,7 @@ # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. - case "$UNAME_VERSION" in + case $UNAME_VERSION in Debian*) release='-gnu' ;;
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/config.h.in -> _service:tar_scm:libXfixes-6.0.1.tar.gz/config.h.in
Changed
@@ -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 @@ -63,7 +63,9 @@ /* Patch version of this package */ #undef PACKAGE_VERSION_PATCHLEVEL -/* 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 */
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/config.sub -> _service:tar_scm:libXfixes-6.0.1.tar.gz/config.sub
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2018 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2018-08-29' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-21' # This file 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 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -33,7 +35,7 @@ # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub +# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -50,6 +52,13 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + me=`echo "$0" | sed -e 's,.*/,,'` usage="\ @@ -67,7 +76,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2018 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -89,7 +98,7 @@ - ) # Use stdin as input. break ;; -* ) - echo "$me: invalid option $1$help" + echo "$me: invalid option $1$help" >&2 exit 1 ;; *local*) @@ -111,9 +120,12 @@ esac # Split fields of configuration type -IFS="-" read -r field1 field2 field3 field4 <<EOF +# shellcheck disable=SC2162 +saved_IFS=$IFS +IFS="-" read field1 field2 field3 field4 <<EOF $1 EOF +IFS=$saved_IFS # Separate into logical components for further validation case $1 in @@ -123,37 +135,36 @@ ;; *-*-*-*) basic_machine=$field1-$field2 - os=$field3-$field4 + basic_os=$field3-$field4 ;; *-*-*) # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two # parts maybe_os=$field2-$field3 case $maybe_os in - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ - | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ + nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova*) + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*) basic_machine=$field1 - os=$maybe_os + basic_os=$maybe_os ;; android-linux) basic_machine=$field1-unknown - os=linux-android + basic_os=linux-android ;; *) basic_machine=$field1-$field2 - os=$field3 + basic_os=$field3 ;; esac ;; *-*) - # A lone config we happen to match not fitting any patern + # A lone config we happen to match not fitting any pattern case $field1-$field2 in decstation-3100) basic_machine=mips-dec - os= + basic_os= ;; *-*) # Second component is usually, but not always the OS @@ -161,7 +172,11 @@ # Prevent following clause from handling this valid os sun*os*) basic_machine=$field1 - os=$field2 + basic_os=$field2 + ;; + zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ @@ -174,11 +189,11 @@ | microblaze* | sim | cisco \ | oki | wec | wrs | winbond) basic_machine=$field1-$field2 - os= + basic_os= ;; *) basic_machine=$field1 - os=$field2 + basic_os=$field2 ;; esac ;; @@ -190,450 +205,451 @@ case $field1 in 386bsd) basic_machine=i386-pc - os=bsd + basic_os=bsd ;; a29khif) basic_machine=a29k-amd - os=udi + basic_os=udi ;; adobe68k) basic_machine=m68010-adobe - os=scout + basic_os=scout ;; alliant) basic_machine=fx80-alliant - os= + basic_os= ;; altos | altos3068) basic_machine=m68k-altos - os= + basic_os= ;; am29k) basic_machine=a29k-none - os=bsd + basic_os=bsd ;; amdahl) basic_machine=580-amdahl - os=sysv + basic_os=sysv ;; amiga) basic_machine=m68k-unknown - os= + basic_os= ;; amigaos | amigados) basic_machine=m68k-unknown - os=amigaos + basic_os=amigaos ;; amigaunix | amix) basic_machine=m68k-unknown - os=sysv4 + basic_os=sysv4 ;; apollo68) basic_machine=m68k-apollo
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/configure -> _service:tar_scm:libXfixes-6.0.1.tar.gz/configure
Changed
@@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libXfixes 6.0.0. +# Generated by GNU Autoconf 2.71 for libXfixes 6.0.1. # -# Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfixes/issues>. +# Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxfixes/-/issues>. # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi +if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -96,8 +92,12 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -109,30 +109,10 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/configure.ac -> _service:tar_scm:libXfixes-6.0.1.tar.gz/configure.ac
Changed
@@ -32,16 +32,18 @@ # that 'revision' number appears in Xfixes.h and has to be manually # synchronized. # -AC_INIT(libXfixes, 6.0.0, - https://gitlab.freedesktop.org/xorg/lib/libXfixes/issues, libXfixes) +AC_INIT(libXfixes, 6.0.1, + https://gitlab.freedesktop.org/xorg/lib/libxfixes/-/issues, + libXfixes) AC_CONFIG_SRCDIR(Makefile.am) AC_CONFIG_HEADERS(config.h) +AC_CONFIG_MACRO_DIRS(m4) # Initialize Automake -AM_INIT_AUTOMAKE(foreign dist-bzip2) +AM_INIT_AUTOMAKE(foreign dist-xz) # Initialize libtool -AC_PROG_LIBTOOL +LT_INIT # Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef(XORG_MACROS_VERSION, @@ -54,8 +56,9 @@ FIXESEXT_VERSION=`echo $VERSION | sed 's/^\(0-90-9*\.0-90-9*\).*$/\1/'` AC_SUBST(FIXESEXT_VERSION) -# Obtain compiler/linker options for depedencies -PKG_CHECK_MODULES(FIXESEXT, xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6) +# Obtain compiler/linker options for dependencies +PKG_CHECK_MODULES(FIXESEXT, + xproto >= 7.0.22 fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6) AC_CONFIG_FILES(Makefile
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/depcomp -> _service:tar_scm:libXfixes-6.0.1.tar.gz/depcomp
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # 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
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/include/X11/extensions/Xfixes.h -> _service:tar_scm:libXfixes-6.0.1.tar.gz/include/X11/extensions/Xfixes.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, Oracle and/or its affiliates. * Copyright 2011, 2021 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/install-sh -> _service:tar_scm:libXfixes-6.0.1.tar.gz/install-sh
Changed
@@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2018-03-11.20; # UTC +scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -69,6 +69,11 @@ # Desired mode of installed file. mode=0755 +# Create dirs (including intermediate dirs) using mode 755. +# This is like GNU 'install' as of coreutils 8.32 (2020). +mkdir_umask=22 + +backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= @@ -99,18 +104,28 @@ --version display version info and exit. -c (ignored) - -C install only if different (preserve the last data modification time) + -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. + -p pass -p to $cpprog. -s $stripprog installed files. + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG + +By default, rm is invoked with -f; when overridden with RMPROG, +it's up to you to specify -f if you want it. + +If -S is not specified, no backups are attempted. + +Email bug reports to bug-automake@gnu.org. +Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do @@ -137,8 +152,13 @@ -o) chowncmd="$chownprog $2" shift;; + -p) cpprog="$cpprog -p";; + -s) stripcmd=$stripprog;; + -S) backupsuffix="$2" + shift;; + -t) is_target_a_directory=always dst_arg=$2 @@ -255,6 +275,10 @@ dstdir=$dst test -d "$dstdir" dstdir_status=$? + # Don't chown directories that already exist. + if test $dstdir_status = 0; then + chowncmd="" + fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command @@ -301,22 +325,6 @@ if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *23672367) mkdir_umask=$umask;; - .*00202 | .0202 | .02) mkdir_umask=22;; - - *0-7) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then @@ -326,52 +334,49 @@ fi posix_mkdir=false - case $umask in - *1235670-70-7) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - # Note that $RANDOM variable is not portable (e.g. dash); Use it - # here however when possible just to lower collision chance. - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - - trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 - - # Because "mkdir -p" follows existing symlinks and we likely work - # directly in world-writeable /tmp, make sure that the '$tmpdir' - # directory is successfully created first before we actually test - # 'mkdir -p' feature. - if (umask $mkdir_umask && - $mkdirprog $mkdir_mode "$tmpdir" && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - test_tmpdir="$tmpdir/a" - ls_ld_tmpdir=`ls -ld "$test_tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null - fi - trap '' 0;; - esac;; + # The $RANDOM variable is not portable (e.g., dash). Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap ' + ret=$? + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null + exit $ret + ' 0 + + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p'. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; esac if @@ -382,7 +387,7 @@ then : else - # The umask is ridiculous, or mkdir does not conform to POSIX,
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/ltmain.sh -> _service:tar_scm:libXfixes-6.0.1.tar.gz/ltmain.sh
Changed
@@ -1,12 +1,12 @@ -#! /bin/sh +#! /usr/bin/env sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in -## by inline-source v2014-01-03.01 +## by inline-source v2019-02-19.15 -# libtool (GNU libtool) 2.4.6 +# libtool (GNU libtool) 2.4.7 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -31,8 +31,8 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.6 -package_revision=2.4.6 +VERSION=2.4.7 +package_revision=2.4.7 ## ------ ## @@ -64,34 +64,25 @@ # libraries, which are installed to $pkgauxdir. # Set a version string for this script. -scriptversion=2015-01-20.17; # UTC +scriptversion=2019-02-19.15; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 -# Copyright (C) 2004-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# 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 3 of the License, or -# (at your option) any later version. - -# As a special exception to the GNU General Public License, if you distribute -# this file as part of a program or library that is built using GNU Libtool, -# you may include this file under the same distribution terms that you use -# for the rest of that program. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the 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/>. +# This is free software. There is NO warranty; not even for +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Copyright (C) 2004-2019, 2021 Bootstrap Authors +# +# This file is dual licensed under the terms of the MIT license +# <https://opensource.org/license/MIT>, and GPL version 2 or later +# <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of +# these licenses when using or redistributing this software or any of +# the files within it. See the URLs above, or the file `LICENSE` +# included in the Bootstrap distribution for the full license texts. -# Please report bugs or propose patches to gary@gnu.org. +# Please report bugs or propose patches to: +# <https://github.com/gnulib-modules/bootstrap/issues> ## ------ ## @@ -139,9 +130,12 @@ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# These NLS vars are set unconditionally (bootstrap issue #24). Unset those +# in case the environment reset is needed later and the $save_* variant is not +# defined (see the code above). +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL # Make sure IFS has a sensible default sp=' ' @@ -159,6 +153,26 @@ fi +# func_unset VAR +# -------------- +# Portably unset VAR. +# In some shells, an 'unset VAR' statement leaves a non-zero return +# status if VAR is already unset, which might be problematic if the +# statement is used at the end of a function (thus poisoning its return +# value) or when 'set -e' is active (causing even a spurious abort of +# the script in this case). +func_unset () +{ + { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; } +} + + +# Make sure CDPATH doesn't cause `cd` commands to output the target dir. +func_unset CDPATH + +# Make sure ${,E,F}GREP behave sanely. +func_unset GREP_OPTIONS + ## ------------------------- ## ## Locate command utilities. ## @@ -259,7 +273,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin" rm -f conftest.sed SED=$func_path_progs_result } @@ -295,7 +309,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin" GREP=$func_path_progs_result } @@ -360,6 +374,35 @@ s/\\(^$_G_bs\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" +# require_check_ifs_backslash +# --------------------------- +# Check if we can use backslash as IFS='\' separator, and set +# $check_ifs_backshlash_broken to ':' or 'false'. +require_check_ifs_backslash=func_require_check_ifs_backslash +func_require_check_ifs_backslash () +{ + _G_save_IFS=$IFS + IFS='\' + _G_check_ifs_backshlash='a\\b' + for _G_i in $_G_check_ifs_backshlash + do + case $_G_i in + a) + check_ifs_backshlash_broken=false + ;; + '') + break + ;; + *) + check_ifs_backshlash_broken=: + break + ;; + esac + done + IFS=$_G_save_IFS + require_check_ifs_backslash=: +} + ## ----------------- ## ## Global variables. ## @@ -580,16 +623,16 @@ { $debug_cmd - func_quote_for_eval "$2" - eval "$1+=\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1+=\\ \$func_quote_arg_result" }' else func_append_quoted () { $debug_cmd - func_quote_for_eval "$2" - eval "$1=\$$1\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1=\$$1\\ \$func_quote_arg_result" } fi @@ -1091,85 +1134,203 @@ } -# func_quote_for_eval ARG...
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4
Added
+(directory)
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4/libtool.m4
Added
@@ -0,0 +1,8400 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define(_LT_COPYING, dnl +# Copyright (C) 2014 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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 of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# 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/>. +) + +# serial 59 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun(LT_PREREQ, +m4_if(m4_version_compare(m4_defn(LT_PACKAGE_VERSION), $1), -1, + m4_default($3, + m4_fatal(Libtool version $1 or higher is required, + 63)), + $2)) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun(_LT_CHECK_BUILDDIR, +case `pwd` in + *\ * | *\ *) + AC_MSG_WARN(Libtool does not cope well with whitespace in `pwd`) ;; +esac +) + + +# LT_INIT(OPTIONS) +# ------------------ +AC_DEFUN(LT_INIT, +AC_PREREQ(2.62)dnl We use AC_PATH_PROGS_FEATURE_CHECK +AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl +AC_BEFORE($0, LT_LANG)dnl +AC_BEFORE($0, LT_OUTPUT)dnl +AC_BEFORE($0, LTDL_INIT)dnl +m4_require(_LT_CHECK_BUILDDIR)dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid(^_?LT_A-Z_+$)dnl +m4_pattern_allow(^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$)dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE(LTOPTIONS_VERSION)dnl +AC_REQUIRE(LTSUGAR_VERSION)dnl +AC_REQUIRE(LTVERSION_VERSION)dnl +AC_REQUIRE(LTOBSOLETE_VERSION)dnl +m4_require(_LT_PROG_LTMAIN)dnl + +_LT_SHELL_INIT(SHELL=${CONFIG_SHELL-/bin/sh}) + +dnl Parse OPTIONS +_LT_SET_OPTIONS($0, $1) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define(LT_INIT) +)# LT_INIT + +# Old names: +AU_ALIAS(AC_PROG_LIBTOOL, LT_INIT) +AU_ALIAS(AM_PROG_LIBTOOL, LT_INIT) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_PROG_LIBTOOL, ) +dnl AC_DEFUN(AM_PROG_LIBTOOL, ) + + +# _LT_PREPARE_CC_BASENAME +# ----------------------- +m4_defun(_LT_PREPARE_CC_BASENAME, +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in @S|@*""; do + case $cc_temp in + compile | *\\/compile | ccache | *\\/ccache ) ;; + distcc | *\\/distcc | purify | *\\/purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} +)# _LT_PREPARE_CC_BASENAME + + +# _LT_CC_BASENAME(CC) +# ------------------- +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, +# but that macro is also expanded into generated libtool script, which +# arranges for $SED and $ECHO to be set by different means. +m4_defun(_LT_CC_BASENAME, +m4_require(_LT_PREPARE_CC_BASENAME)dnl +AC_REQUIRE(_LT_DECL_SED)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl +func_cc_basename $1 +cc_basename=$func_cc_basename_result +) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after 'm4_require(_LT_FILEUTILS_DEFAULTS)'. +m4_defun(_LT_FILEUTILS_DEFAULTS, +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +)# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun(_LT_SETUP, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +AC_REQUIRE(AC_CANONICAL_BUILD)dnl +AC_REQUIRE(_LT_PREPARE_SED_QUOTE_VARS)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl + +_LT_DECL(, PATH_SEPARATOR, 1, The PATH separator for the build system)dnl +dnl +_LT_DECL(, host_alias, 0, The host system)dnl +_LT_DECL(, host, 0)dnl +_LT_DECL(, host_os, 0)dnl +dnl +_LT_DECL(, build_alias, 0, The build system)dnl +_LT_DECL(, build, 0)dnl +_LT_DECL(, build_os, 0)dnl +dnl +AC_REQUIRE(AC_PROG_CC)dnl +AC_REQUIRE(LT_PATH_LD)dnl +AC_REQUIRE(LT_PATH_NM)dnl +dnl +AC_REQUIRE(AC_PROG_LN_S)dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL(, LN_S, 1, Whether we need soft or hard links)dnl +dnl +AC_REQUIRE(LT_CMD_MAX_LEN)dnl +_LT_DECL(objext, ac_objext, 0, Object file suffix (normally "o"))dnl +_LT_DECL(, exeext, 0, Executable file suffix (normally ""))dnl +dnl +m4_require(_LT_FILEUTILS_DEFAULTS)dnl +m4_require(_LT_CHECK_SHELL_FEATURES)dnl +m4_require(_LT_PATH_CONVERSION_FUNCTIONS)dnl +m4_require(_LT_CMD_RELOAD)dnl +m4_require(_LT_DECL_FILECMD)dnl +m4_require(_LT_CHECK_MAGIC_METHOD)dnl +m4_require(_LT_CHECK_SHAREDLIB_FROM_LINKLIB)dnl +m4_require(_LT_CMD_OLD_ARCHIVE)dnl +m4_require(_LT_CMD_GLOBAL_SYMBOLS)dnl +m4_require(_LT_WITH_SYSROOT)dnl +m4_require(_LT_CMD_TRUNCATE)dnl + +_LT_CONFIG_LIBTOOL_INIT( +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi +)
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4/ltoptions.m4
Added
@@ -0,0 +1,437 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 8 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOPTIONS_VERSION, m4_if(1)) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define(_LT_MANGLE_OPTION, +_LT_OPTION_m4_bpatsubst($1__$2, ^a-zA-Z0-9_, _)) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define(_LT_SET_OPTION, +m4_define(_LT_MANGLE_OPTION($1, $2))dnl +m4_ifdef(_LT_MANGLE_DEFUN($1, $2), + _LT_MANGLE_DEFUN($1, $2), + m4_warning(Unknown $1 option '$2'))dnl +) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, IF-NOT-SET) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define(_LT_IF_OPTION, +m4_ifdef(_LT_MANGLE_OPTION($1, $2), $3, $4)) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define(_LT_UNLESS_OPTIONS, +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + m4_ifdef(_LT_MANGLE_OPTION($1, _LT_Option), + m4_define($0_found)))dnl +m4_ifdef($0_found, m4_undefine($0_found), $3 +)dnl +) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun(_LT_SET_OPTIONS, +# Set options +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + _LT_SET_OPTION($1, _LT_Option)) + +m4_if($1,LT_INIT, + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS(LT_INIT, dlopen, enable_dlopen=no + ) + _LT_UNLESS_OPTIONS(LT_INIT, win32-dll, enable_win32_dll=no + ) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS(LT_INIT, shared disable-shared, _LT_ENABLE_SHARED) + _LT_UNLESS_OPTIONS(LT_INIT, static disable-static, _LT_ENABLE_STATIC) + _LT_UNLESS_OPTIONS(LT_INIT, pic-only no-pic, _LT_WITH_PIC) + _LT_UNLESS_OPTIONS(LT_INIT, fast-install disable-fast-install, + _LT_ENABLE_FAST_INSTALL) + _LT_UNLESS_OPTIONS(LT_INIT, aix-soname=aix aix-soname=both aix-soname=svr4, + _LT_WITH_AIX_SONAME(aix)) + ) +)# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define(_LT_MANGLE_DEFUN, +_LT_OPTION_DEFUN_m4_bpatsubst(m4_toupper($1__$2), ^A-Z0-9_, _)) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define(LT_OPTION_DEFINE, +m4_define(_LT_MANGLE_DEFUN($1, $2), $3)dnl +)# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE(LT_INIT, dlopen, enable_dlopen=yes +) + +AU_DEFUN(AC_LIBTOOL_DLOPEN, +_LT_SET_OPTION(LT_INIT, dlopen) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'dlopen' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_DLOPEN, ) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE(LT_INIT, win32-dll, +enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL(, AS, 1, Assembler program)dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL(, DLLTOOL, 1, DLL creation program)dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL(, OBJDUMP, 1, Object dumper program)dnl +)# win32-dll + +AU_DEFUN(AC_LIBTOOL_WIN32_DLL, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +_LT_SET_OPTION(LT_INIT, win32-dll) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'win32-dll' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_WIN32_DLL, ) + + +# _LT_ENABLE_SHARED(DEFAULT) +# ---------------------------- +# implement the --enable-shared flag, and supports the 'shared' and +# 'disable-shared' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define(_LT_ENABLE_SHARED, +m4_define(_LT_ENABLE_SHARED_DEFAULT, m4_if($1, no, no, yes))dnl +AC_ARG_ENABLE(shared, + AS_HELP_STRING(--enable-shared@<:@=PKGS@:>@, + build shared libraries @<:@default=_LT_ENABLE_SHARED_DEFAULT@:>@), + p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac, + enable_shared=_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL(build_libtool_libs, enable_shared, 0, + Whether or not to build shared libraries) +)# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE(LT_INIT, shared, _LT_ENABLE_SHARED(yes)) +LT_OPTION_DEFINE(LT_INIT, disable-shared, _LT_ENABLE_SHARED(no)) + +# Old names: +AC_DEFUN(AC_ENABLE_SHARED, +_LT_SET_OPTION(LT_INIT, m4_if($1, no, disable-)shared) +)
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4/ltsugar.m4
Added
@@ -0,0 +1,124 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTSUGAR_VERSION, m4_if(0.1)) + + +# lt_join(SEP, ARG1, ARG2...) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define(lt_join, +m4_if($#, 1, , + $#, 2, $2, + m4_if($2, , , $2_)$0($1, m4_shift(m4_shift($@))))) +m4_define(_lt_join, +m4_if($#$2, 2, , + m4_if($2, , , $1$2)$0($1, m4_shift(m4_shift($@))))) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59, which quotes differently. +m4_define(lt_car, $1) +m4_define(lt_cdr, +m4_if($#, 0, m4_fatal($0: cannot be called without arguments), + $#, 1, , + m4_dquote(m4_shift($@)))) +m4_define(lt_unquote, $1) + + +# lt_append(MACRO-NAME, STRING, SEPARATOR) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define(lt_append, +m4_define($1, + m4_ifdef($1, m4_defn($1)$3)$2)) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, SUFFIX2...) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define(lt_combine, +m4_if(m4_eval($# > 3), 1, + m4_pushdef(_Lt_sep, m4_define(_Lt_sep, m4_defn(lt_car)))dnl +m4_foreach(_Lt_prefix, $2, + m4_foreach(_Lt_suffix, + m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@))))), + _Lt_sep($1)m4_defn(_Lt_prefix)$3m4_defn(_Lt_suffix))))) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, SEPARATOR, UNIQ, NOT-UNIQ) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define(lt_if_append_uniq, +m4_ifdef($1, + m4_if(m4_index($3m4_defn($1)$3, $3$2$3), -1, + lt_append($1, $2, $3)$4, + $5), + lt_append($1, $2, $3)$4)) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define(lt_dict_add, +m4_define($1($2), $3)) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define(lt_dict_add_subkey, +m4_define($1($2:$3), $4)) + + +# lt_dict_fetch(DICT, KEY, SUBKEY) +# ---------------------------------- +m4_define(lt_dict_fetch, +m4_ifval($3, + m4_ifdef($1($2:$3), m4_defn($1($2:$3))), + m4_ifdef($1($2), m4_defn($1($2))))) + + +# lt_if_dict_fetch(DICT, KEY, SUBKEY, VALUE, IF-TRUE, IF-FALSE) +# ----------------------------------------------------------------- +m4_define(lt_if_dict_fetch, +m4_if(lt_dict_fetch($1, $2, $3), $4, + $5, + $6)) + + +# lt_dict_filter(DICT, SUBKEY, VALUE, SEPARATOR, KEY, ...) +# -------------------------------------------------------------- +m4_define(lt_dict_filter, +m4_if($5, , , + lt_join(m4_quote(m4_default($4, , )), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car(m4_shiftn(4, $@)), + lt_if_dict_fetch($1, _Lt_key, $2, $3, _Lt_key )))))))dnl +)
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4/ltversion.m4
Added
@@ -0,0 +1,24 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation, +# Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 4245 ltversion.m4 +# This file is part of GNU Libtool + +m4_define(LT_PACKAGE_VERSION, 2.4.7) +m4_define(LT_PACKAGE_REVISION, 2.4.7) + +AC_DEFUN(LTVERSION_VERSION, +macro_version='2.4.7' +macro_revision='2.4.7' +_LT_DECL(, macro_version, 0, Which release of libtool.m4 was used?) +_LT_DECL(, macro_revision, 0) +)
View file
_service:tar_scm:libXfixes-6.0.1.tar.gz/m4/lt~obsolete.m4
Added
@@ -0,0 +1,99 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOBSOLETE_VERSION, m4_if(1)) + +m4_ifndef(AC_LIBTOOL_LINKER_OPTION, AC_DEFUN(AC_LIBTOOL_LINKER_OPTION)) +m4_ifndef(AC_PROG_EGREP, AC_DEFUN(AC_PROG_EGREP)) +m4_ifndef(_LT_AC_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_AC_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_AC_SHELL_INIT, AC_DEFUN(_LT_AC_SHELL_INIT)) +m4_ifndef(_LT_AC_SYS_LIBPATH_AIX, AC_DEFUN(_LT_AC_SYS_LIBPATH_AIX)) +m4_ifndef(_LT_PROG_LTMAIN, AC_DEFUN(_LT_PROG_LTMAIN)) +m4_ifndef(_LT_AC_TAGVAR, AC_DEFUN(_LT_AC_TAGVAR)) +m4_ifndef(AC_LTDL_ENABLE_INSTALL, AC_DEFUN(AC_LTDL_ENABLE_INSTALL)) +m4_ifndef(AC_LTDL_PREOPEN, AC_DEFUN(AC_LTDL_PREOPEN)) +m4_ifndef(_LT_AC_SYS_COMPILER, AC_DEFUN(_LT_AC_SYS_COMPILER)) +m4_ifndef(_LT_AC_LOCK, AC_DEFUN(_LT_AC_LOCK)) +m4_ifndef(AC_LIBTOOL_SYS_OLD_ARCHIVE, AC_DEFUN(AC_LIBTOOL_SYS_OLD_ARCHIVE)) +m4_ifndef(_LT_AC_TRY_DLOPEN_SELF, AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF)) +m4_ifndef(AC_LIBTOOL_PROG_CC_C_O, AC_DEFUN(AC_LIBTOOL_PROG_CC_C_O)) +m4_ifndef(AC_LIBTOOL_SYS_HARD_LINK_LOCKS, AC_DEFUN(AC_LIBTOOL_SYS_HARD_LINK_LOCKS)) +m4_ifndef(AC_LIBTOOL_OBJDIR, AC_DEFUN(AC_LIBTOOL_OBJDIR)) +m4_ifndef(AC_LTDL_OBJDIR, AC_DEFUN(AC_LTDL_OBJDIR)) +m4_ifndef(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, AC_DEFUN(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH)) +m4_ifndef(AC_LIBTOOL_SYS_LIB_STRIP, AC_DEFUN(AC_LIBTOOL_SYS_LIB_STRIP)) +m4_ifndef(AC_PATH_MAGIC, AC_DEFUN(AC_PATH_MAGIC)) +m4_ifndef(AC_PROG_LD_GNU, AC_DEFUN(AC_PROG_LD_GNU)) +m4_ifndef(AC_PROG_LD_RELOAD_FLAG, AC_DEFUN(AC_PROG_LD_RELOAD_FLAG)) +m4_ifndef(AC_DEPLIBS_CHECK_METHOD, AC_DEFUN(AC_DEPLIBS_CHECK_METHOD)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_NO_RTTI, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_NO_RTTI)) +m4_ifndef(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE, AC_DEFUN(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_PIC, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_PIC)) +m4_ifndef(AC_LIBTOOL_PROG_LD_SHLIBS, AC_DEFUN(AC_LIBTOOL_PROG_LD_SHLIBS)) +m4_ifndef(AC_LIBTOOL_POSTDEP_PREDEP, AC_DEFUN(AC_LIBTOOL_POSTDEP_PREDEP)) +m4_ifndef(LT_AC_PROG_EGREP, AC_DEFUN(LT_AC_PROG_EGREP)) +m4_ifndef(LT_AC_PROG_SED, AC_DEFUN(LT_AC_PROG_SED)) +m4_ifndef(_LT_CC_BASENAME, AC_DEFUN(_LT_CC_BASENAME)) +m4_ifndef(_LT_COMPILER_BOILERPLATE, AC_DEFUN(_LT_COMPILER_BOILERPLATE)) +m4_ifndef(_LT_LINKER_BOILERPLATE, AC_DEFUN(_LT_LINKER_BOILERPLATE)) +m4_ifndef(_AC_PROG_LIBTOOL, AC_DEFUN(_AC_PROG_LIBTOOL)) +m4_ifndef(AC_LIBTOOL_SETUP, AC_DEFUN(AC_LIBTOOL_SETUP)) +m4_ifndef(_LT_AC_CHECK_DLFCN, AC_DEFUN(_LT_AC_CHECK_DLFCN)) +m4_ifndef(AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_DEFUN(AC_LIBTOOL_SYS_DYNAMIC_LINKER)) +m4_ifndef(_LT_AC_TAGCONFIG, AC_DEFUN(_LT_AC_TAGCONFIG)) +m4_ifndef(AC_DISABLE_FAST_INSTALL, AC_DEFUN(AC_DISABLE_FAST_INSTALL)) +m4_ifndef(_LT_AC_LANG_CXX, AC_DEFUN(_LT_AC_LANG_CXX)) +m4_ifndef(_LT_AC_LANG_F77, AC_DEFUN(_LT_AC_LANG_F77)) +m4_ifndef(_LT_AC_LANG_GCJ, AC_DEFUN(_LT_AC_LANG_GCJ)) +m4_ifndef(AC_LIBTOOL_LANG_C_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_C_CONFIG)) +m4_ifndef(_LT_AC_LANG_C_CONFIG, AC_DEFUN(_LT_AC_LANG_C_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_CXX_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_CXX_CONFIG)) +m4_ifndef(_LT_AC_LANG_CXX_CONFIG, AC_DEFUN(_LT_AC_LANG_CXX_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_F77_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_F77_CONFIG)) +m4_ifndef(_LT_AC_LANG_F77_CONFIG, AC_DEFUN(_LT_AC_LANG_F77_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_GCJ_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_GCJ_CONFIG)) +m4_ifndef(_LT_AC_LANG_GCJ_CONFIG, AC_DEFUN(_LT_AC_LANG_GCJ_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_RC_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_RC_CONFIG)) +m4_ifndef(_LT_AC_LANG_RC_CONFIG, AC_DEFUN(_LT_AC_LANG_RC_CONFIG)) +m4_ifndef(AC_LIBTOOL_CONFIG, AC_DEFUN(AC_LIBTOOL_CONFIG)) +m4_ifndef(_LT_AC_FILE_LTDLL_C, AC_DEFUN(_LT_AC_FILE_LTDLL_C)) +m4_ifndef(_LT_REQUIRED_DARWIN_CHECKS, AC_DEFUN(_LT_REQUIRED_DARWIN_CHECKS)) +m4_ifndef(_LT_AC_PROG_CXXCPP, AC_DEFUN(_LT_AC_PROG_CXXCPP)) +m4_ifndef(_LT_PREPARE_SED_QUOTE_VARS, AC_DEFUN(_LT_PREPARE_SED_QUOTE_VARS)) +m4_ifndef(_LT_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_PROG_F77, AC_DEFUN(_LT_PROG_F77)) +m4_ifndef(_LT_PROG_FC, AC_DEFUN(_LT_PROG_FC)) +m4_ifndef(_LT_PROG_CXX, AC_DEFUN(_LT_PROG_CXX))
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/man/Makefile.am -> _service:tar_scm:libXfixes-6.0.1.tar.gz/man/Makefile.am
Changed
@@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, Oracle and/or its affiliates. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"),
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/man/Makefile.in -> _service:tar_scm:libXfixes-6.0.1.tar.gz/man/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -15,7 +15,7 @@ @SET_MAKE@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, Oracle and/or its affiliates. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -113,7 +113,10 @@ host_triplet = @host@ subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) @@ -189,8 +192,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -204,8 +208,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FIXESEXT_CFLAGS = @FIXESEXT_CFLAGS@ @@ -387,7 +393,6 @@ cscope cscopelist: - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/missing -> _service:tar_scm:libXfixes-6.0.1.tar.gz/missing
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Cursor.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Cursor.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, Oracle and/or its affiliates. * Copyright 2011 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -61,10 +61,10 @@ LockDisplay (dpy); GetReq (XFixesSelectCursorInput, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSelectCursorInput; - req->window = win; - req->eventMask = eventMask; + req->window = (CARD32) win; + req->eventMask = (CARD32) eventMask; UnlockDisplay (dpy); SyncHandle (); } @@ -77,14 +77,14 @@ xXFixesGetCursorImageAndNameReply rep; size_t npixels; size_t nbytes_name; - size_t nbytes, nread, rlength; + size_t nbytes = 0, nread = 0; XFixesCursorImage *image; char *name; XFixesCheckExtension (dpy, info, NULL); LockDisplay (dpy); GetReq (XFixesGetCursorImageAndName, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; if (info->major_version >= 2) req->xfixesReqType = X_XFixesGetCursorImageAndName; else @@ -105,6 +105,8 @@ if ((rep.length < (INT_MAX >> 2)) && npixels < (((INT_MAX >> 3) - sizeof (XFixesCursorImage) - 1) - nbytes_name)) { + size_t rlength; + /* reply data length */ nbytes = (size_t) rep.length << 2; /* bytes of actual data in the reply */ @@ -153,16 +155,16 @@ { XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy); xXFixesSetCursorNameReq *req; - int nbytes = strlen (name); + CARD16 nbytes = (CARD16) strlen (name); XFixesSimpleCheckExtension (dpy, info); if (info->major_version < 2) return; LockDisplay (dpy); GetReq (XFixesSetCursorName, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSetCursorName; - req->cursor = cursor; + req->cursor = (CARD32) cursor; req->nbytes = nbytes; req->length += (nbytes + 3) >> 2; Data (dpy, name, nbytes); @@ -183,9 +185,9 @@ return NULL; LockDisplay (dpy); GetReq (XFixesGetCursorName, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesGetCursorName; - req->cursor = cursor; + req->cursor = (CARD32) cursor; if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) { UnlockDisplay (dpy); @@ -193,7 +195,7 @@ return NULL; } *atom = rep.atom; - if ((name = (char *) Xmalloc(rep.nbytes+1))) { + if ((name = Xmalloc(rep.nbytes+1)) != NULL) { _XReadPad(dpy, name, (long)rep.nbytes); namerep.nbytes = '\0'; } else { @@ -216,10 +218,10 @@ return; LockDisplay (dpy); GetReq (XFixesChangeCursor, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesChangeCursor; - req->source = source; - req->destination = destination; + req->source = (CARD32) source; + req->destination = (CARD32) destination; UnlockDisplay(dpy); SyncHandle(); } @@ -229,16 +231,16 @@ { XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy); xXFixesChangeCursorByNameReq *req; - int nbytes = strlen (name); + CARD16 nbytes = (CARD16) strlen (name); XFixesSimpleCheckExtension (dpy, info); if (info->major_version < 2) return; LockDisplay (dpy); GetReq (XFixesChangeCursorByName, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesChangeCursorByName; - req->source = source; + req->source = (CARD32) source; req->nbytes = nbytes; req->length += (nbytes + 3) >> 2; Data (dpy, name, nbytes); @@ -257,9 +259,9 @@ return; LockDisplay (dpy); GetReq (XFixesHideCursor, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesHideCursor; - req->window = win; + req->window = (CARD32) win; UnlockDisplay (dpy); SyncHandle (); } @@ -275,9 +277,9 @@ return; LockDisplay (dpy); GetReq (XFixesShowCursor, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesShowCursor; - req->window = win; + req->window = (CARD32) win; UnlockDisplay (dpy); SyncHandle (); } @@ -301,16 +303,17 @@ LockDisplay (dpy); GetReqExtra (XFixesCreatePointerBarrier, extra, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreatePointerBarrier; - barrier = req->barrier = XAllocID (dpy); - req->window = w; - req->x1 = x1; - req->y1 = y1; - req->x2 = x2; - req->y2 = y2; - req->directions = directions; - if ((req->num_devices = num_devices)) { + barrier = XAllocID (dpy); + req->barrier = (CARD32) barrier; + req->window = (CARD32) w; + req->x1 = (INT16) x1; + req->y1 = (INT16) y1; + req->x2 = (INT16) x2; + req->y2 = (INT16) y2; + req->directions = (CARD32) directions; + if ((req->num_devices = (CARD16) num_devices)) { int i; CARD16 *devs = (CARD16 *)(req + 1); for (i = 0; i < num_devices; i++) @@ -334,9 +337,9 @@ LockDisplay (dpy); GetReq (XFixesDestroyPointerBarrier, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesDestroyPointerBarrier; - req->barrier = b; + req->barrier = (CARD32) b; UnlockDisplay (dpy); SyncHandle(); }
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Disconnect.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Disconnect.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, Oracle and/or its affiliates. * Copyright 2021 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -61,9 +61,9 @@ LockDisplay(dpy); GetReq(XFixesSetClientDisconnectMode, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSetClientDisconnectMode; - req->disconnect_mode = disconnect_mode; + req->disconnect_mode = (CARD32) disconnect_mode; UnlockDisplay(dpy); SyncHandle(); } @@ -82,7 +82,7 @@ LockDisplay(dpy); GetReq(XFixesGetClientDisconnectMode, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesGetClientDisconnectMode; if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) @@ -92,7 +92,7 @@ return XFixesClientDisconnectFlagDefault; } - disconnect_mode = rep.disconnect_mode; + disconnect_mode = (int) rep.disconnect_mode; UnlockDisplay(dpy); SyncHandle();
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Makefile.in -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -91,7 +91,10 @@ host_triplet = @host@ subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(libXfixesinclude_HEADERS) \ @@ -204,8 +207,6 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ @@ -225,8 +226,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -240,8 +242,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FIXESEXT_CFLAGS = @FIXESEXT_CFLAGS@ @@ -555,7 +559,6 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Region.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Region.c
Changed
@@ -37,9 +37,10 @@ XFixesCheckExtension (dpy, info, 0); LockDisplay (dpy); GetReq (XFixesCreateRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreateRegion; - region = req->region = XAllocID (dpy); + region = XAllocID (dpy); + req->region = (CARD32) region; len = ((long) nrectangles) << 1; SetReqLen (req, len, len); len <<= 2; @@ -59,10 +60,11 @@ XFixesCheckExtension (dpy, info, 0); LockDisplay (dpy); GetReq (XFixesCreateRegionFromBitmap, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreateRegionFromBitmap; - region = req->region = XAllocID (dpy); - req->bitmap = bitmap; + region = XAllocID (dpy); + req->region = (CARD32) region; + req->bitmap = (CARD32) bitmap; UnlockDisplay (dpy); SyncHandle(); return region; @@ -78,11 +80,12 @@ XFixesCheckExtension (dpy, info, 0); LockDisplay (dpy); GetReq (XFixesCreateRegionFromWindow, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreateRegionFromWindow; - region = req->region = XAllocID (dpy); - req->window = window; - req->kind = kind; + region = XAllocID (dpy); + req->region = (CARD32) region; + req->window = (CARD32) window; + req->kind = (CARD8) kind; UnlockDisplay (dpy); SyncHandle(); return region; @@ -98,10 +101,11 @@ XFixesCheckExtension (dpy, info, 0); LockDisplay (dpy); GetReq (XFixesCreateRegionFromGC, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreateRegionFromGC; - region = req->region = XAllocID (dpy); - req->gc = gc->gid; + region = XAllocID (dpy); + req->region = (CARD32) region; + req->gc = (CARD32) gc->gid; UnlockDisplay (dpy); SyncHandle(); return region; @@ -117,10 +121,11 @@ XFixesCheckExtension (dpy, info, 0); LockDisplay (dpy); GetReq (XFixesCreateRegionFromPicture, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCreateRegionFromPicture; - region = req->region = XAllocID (dpy); - req->picture = picture; + region = XAllocID (dpy); + req->region = (CARD32) region; + req->picture = (CARD32) picture; UnlockDisplay (dpy); SyncHandle(); return region; @@ -135,9 +140,9 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesDestroyRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesDestroyRegion; - req->region = region; + req->region = (CARD32) region; UnlockDisplay (dpy); SyncHandle(); } @@ -153,9 +158,9 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesSetRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSetRegion; - req->region = region; + req->region = (CARD32) region; len = ((long) nrectangles) << 1; SetReqLen (req, len, len); len <<= 2; @@ -173,10 +178,10 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesCopyRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesCopyRegion; - req->source = src; - req->destination = dst; + req->source = (CARD32) src; + req->destination = (CARD32) dst; UnlockDisplay (dpy); SyncHandle(); } @@ -191,11 +196,11 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesUnionRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesUnionRegion; - req->source1 = src1; - req->source2 = src2; - req->destination = dst; + req->source1 = (CARD32) src1; + req->source2 = (CARD32) src2; + req->destination = (CARD32) dst; UnlockDisplay (dpy); SyncHandle(); } @@ -210,11 +215,11 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesIntersectRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesIntersectRegion; - req->source1 = src1; - req->source2 = src2; - req->destination = dst; + req->source1 = (CARD32) src1; + req->source2 = (CARD32) src2; + req->destination = (CARD32) dst; UnlockDisplay (dpy); SyncHandle(); } @@ -229,11 +234,11 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesSubtractRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSubtractRegion; - req->source1 = src1; - req->source2 = src2; - req->destination = dst; + req->source1 = (CARD32) src1; + req->source2 = (CARD32) src2; + req->destination = (CARD32) dst; UnlockDisplay (dpy); SyncHandle(); } @@ -248,14 +253,14 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesInvertRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesInvertRegion; req->x = rect->x; req->y = rect->y; req->width = rect->width; req->height = rect->height; - req->source = src; - req->destination = dst; + req->source = (CARD32) src; + req->destination = (CARD32) dst; UnlockDisplay (dpy); SyncHandle(); } @@ -269,11 +274,11 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesTranslateRegion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesTranslateRegion; - req->region = region; - req->dx = dx; - req->dy = dy; + req->region = (CARD32) region; + req->dx = (INT16) dx; + req->dy = (INT16) dy; UnlockDisplay (dpy); SyncHandle(); } @@ -287,10 +292,10 @@ XFixesSimpleCheckExtension (dpy, info); LockDisplay (dpy); GetReq (XFixesRegionExtents, req); - req->reqType = info->codes->major_opcode;
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/SaveSet.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/SaveSet.c
Changed
@@ -36,12 +36,12 @@ LockDisplay (dpy); GetReq (XFixesChangeSaveSet, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesChangeSaveSet; - req->mode = mode; - req->target = target; - req->map = map; - req->window = win; + req->mode = (BYTE) mode; + req->target = (BYTE) target; + req->map = (BYTE) map; + req->window = (CARD32) win; UnlockDisplay (dpy); SyncHandle (); }
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Selection.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Selection.c
Changed
@@ -39,11 +39,11 @@ LockDisplay (dpy); GetReq (XFixesSelectSelectionInput, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSelectSelectionInput; - req->window = win; - req->selection = selection; - req->eventMask = eventMask; + req->window = (CARD32) win; + req->selection = (CARD32) selection; + req->eventMask = (CARD32) eventMask; UnlockDisplay (dpy); SyncHandle (); }
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Xfixes.c -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Xfixes.c
Changed
@@ -24,6 +24,7 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif +#include <X11/Xfuncproto.h> #include "Xfixesint.h" XFixesExtInfo XFixesExtensionInfo; @@ -48,9 +49,8 @@ char *ext_name) { XFixesExtDisplayInfo *info; - int ev; - info = (XFixesExtDisplayInfo *) Xmalloc (sizeof (XFixesExtDisplayInfo)); + info = Xmalloc (sizeof (XFixesExtDisplayInfo)); if (!info) return NULL; info->display = dpy; @@ -65,7 +65,7 @@ xXFixesQueryVersionReq *req; XESetCloseDisplay (dpy, info->codes->extension, XFixesCloseDisplay); - for (ev = info->codes->first_event; + for (int ev = info->codes->first_event; ev < info->codes->first_event + XFixesNumberEvents; ev++) { @@ -77,7 +77,7 @@ */ LockDisplay (dpy); GetReq (XFixesQueryVersion, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesQueryVersion; req->majorVersion = XFIXES_MAJOR; req->minorVersion = XFIXES_MINOR; @@ -88,8 +88,8 @@ Xfree(info); return NULL; } - info->major_version = rep.majorVersion; - info->minor_version = rep.minorVersion; + info->major_version = (int) rep.majorVersion; + info->minor_version = (int) rep.minorVersion; UnlockDisplay (dpy); SyncHandle (); } else { @@ -124,7 +124,7 @@ * extension object. (Replaces XextRemoveDisplay.) */ static int -XFixesExtRemoveDisplay (XFixesExtInfo *extinfo, Display *dpy) +XFixesExtRemoveDisplay (XFixesExtInfo *extinfo, const Display *dpy) { XFixesExtDisplayInfo *info, *prev; @@ -154,7 +154,7 @@ if (info == extinfo->cur) extinfo->cur = NULL; /* flush cache */ _XUnlockMutex(_Xglobal_lock); - Xfree ((char *) info); + Xfree (info); return 1; } @@ -165,7 +165,7 @@ */ static XFixesExtDisplayInfo * XFixesExtFindDisplay (XFixesExtInfo *extinfo, - Display *dpy) + const Display *dpy) { XFixesExtDisplayInfo *info; @@ -204,7 +204,7 @@ } static int -XFixesCloseDisplay (Display *dpy, XExtCodes *codes) +XFixesCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes) { return XFixesExtRemoveDisplay (&XFixesExtensionInfo, dpy); } @@ -271,13 +271,13 @@ xXFixesSelectionNotifyEvent *awire; awire = (xXFixesSelectionNotifyEvent *) wire; aevent = (XFixesSelectionNotifyEvent *) event; - awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); - awire->subtype = aevent->subtype; - awire->window = aevent->window; - awire->owner = aevent->owner; - awire->selection = aevent->selection; - awire->timestamp = aevent->timestamp; - awire->selectionTimestamp = aevent->selection_timestamp; + awire->type = (CARD8) (aevent->type | (aevent->send_event ? 0x80 : 0)); + awire->subtype = (CARD8) aevent->subtype; + awire->window = (CARD32) aevent->window; + awire->owner = (CARD32) aevent->owner; + awire->selection = (CARD32) aevent->selection; + awire->timestamp = (CARD32) aevent->timestamp; + awire->selectionTimestamp = (CARD32) aevent->selection_timestamp; return True; } case XFixesCursorNotify: { @@ -285,12 +285,12 @@ xXFixesCursorNotifyEvent *awire; awire = (xXFixesCursorNotifyEvent *) wire; aevent = (XFixesCursorNotifyEvent *) event; - awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); - awire->subtype = aevent->subtype; - awire->window = aevent->window; - awire->timestamp = aevent->timestamp; - awire->cursorSerial = aevent->cursor_serial; - awire->name = aevent->cursor_name; + awire->type = (CARD8) (aevent->type | (aevent->send_event ? 0x80 : 0)); + awire->subtype = (CARD8) aevent->subtype; + awire->window = (CARD32) aevent->window; + awire->timestamp = (CARD32) aevent->timestamp; + awire->cursorSerial = (CARD32) aevent->cursor_serial; + awire->name = (CARD32) aevent->cursor_name; } } return False;
View file
_service:tar_scm:libXfixes-6.0.0.tar.bz2/src/Xfixesint.h -> _service:tar_scm:libXfixes-6.0.1.tar.gz/src/Xfixesint.h
Changed
@@ -55,9 +55,9 @@ #define XFixesHasExtension(i) ((i) && ((i)->codes)) #define XFixesCheckExtension(dpy,i,val) \ - if (!XFixesHasExtension(i)) { return val; } + do { if (!XFixesHasExtension(i)) { return val; } } while(0) #define XFixesSimpleCheckExtension(dpy,i) \ - if (!XFixesHasExtension(i)) { return; } + do { if (!XFixesHasExtension(i)) { return; } } while(0) #endif /* _XFIXESINT_H_ */
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2