Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xclock/dist initial import of xclock-1.0.9
details: https://anonhg.NetBSD.org/xsrc/rev/03305d1eac98
branches: trunk
changeset: 10342:03305d1eac98
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 15 04:50:46 2019 +0000
description:
initial import of xclock-1.0.9
diffstat:
external/mit/xclock/dist/ChangeLog | 57 +++++++++++++++++++++++++++++++++++
external/mit/xclock/dist/Makefile.am | 1 +
external/mit/xclock/dist/Makefile.in | 1 +
external/mit/xclock/dist/configure | 20 ++++++------
external/mit/xclock/dist/configure.ac | 2 +-
external/mit/xclock/dist/xclock.c | 2 +-
6 files changed, 71 insertions(+), 12 deletions(-)
diffs (195 lines):
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/ChangeLog
--- a/external/mit/xclock/dist/ChangeLog Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/ChangeLog Mon Jul 15 04:50:46 2019 +0000
@@ -1,3 +1,60 @@
+commit 755004c87b50e6334c07b0f4b9458a32b8c92566
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jul 14 11:34:07 2019 -0700
+
+ xclock 1.0.9
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0172a3b11f777692ea06c1f3718390ce06b3dcd4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jun 9 15:06:32 2019 -0700
+
+ Clear -Wsign-compare warning from gcc 7.3
+
+ xclock.c: In function â??quitâ??:
+ xclock.c:133:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ event->xclient.data.l[0] != wm_delete_window) {
+ ^~
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8ef7efe5863ecf6d578900e8ca7398fc10cd566a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jun 9 15:04:53 2019 -0700
+
+ Use _CONST_X_STRING to make libXt declare String as const char *
+
+ Clears up 31 of 95 gcc -Wdiscarded-qualifiers warnings from gcc 7.3
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 683d3c0cf8c86fb6626e9e85fc0bb99a27833280
+Author: Jon Turney <jon.turney%dronecode.org.uk@localhost>
+Date: Sat May 4 01:25:22 2019 +0100
+
+ Consistently use X_GETTIMEOFDAY
+
+ After 7ad730d8, use X_GETTIMEOFDAY() in Initialize() as well as
+ clock_tic(), to fix compilation on non-POSIX systems where the
+ gymnastics that X_GETTIMEOFDAY does are necessary (i.e. Win32)
+
+commit d528eca772620bc06c182e03265fc5f70a4d35f7
+Author: Niclas Zeising <zeising%daemonic.se@localhost>
+Date: Wed Feb 27 15:25:28 2019 +0100
+
+ Use fabsf when dealing with floating point numbers
+
+commit a212539500a17f265815e77b9a6047279824315f
+Author: Niclas Zeising <zeising%daemonic.se@localhost>
+Date: Wed Feb 27 15:22:41 2019 +0100
+
+ Fix logic sourrouning && and ||
+
+ Fix the logic sorrounding && and ||. && has higher precedence than ||,
+ and as such, the if statement probably was incorrect. Fix this by
+ adding parenthesises around the || statement.
+
commit 9af0790d71fc321d97486aa40b055656d99050c2
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Tue Feb 19 14:12:54 2019 -0800
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/Makefile.am
--- a/external/mit/xclock/dist/Makefile.am Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/Makefile.am Mon Jul 15 04:50:46 2019 +0000
@@ -23,6 +23,7 @@
bin_PROGRAMS = xclock
AM_CFLAGS = $(CWARNFLAGS) $(XCLOCK_CFLAGS)
+AM_CPPFLAGS = -D_CONST_X_STRING
xclock_LDADD = $(XCLOCK_LIBS)
xclock_SOURCES = \
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/Makefile.in
--- a/external/mit/xclock/dist/Makefile.in Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/Makefile.in Mon Jul 15 04:50:46 2019 +0000
@@ -408,6 +408,7 @@
top_srcdir = @top_srcdir@
SUBDIRS = man
AM_CFLAGS = $(CWARNFLAGS) $(XCLOCK_CFLAGS)
+AM_CPPFLAGS = -D_CONST_X_STRING
xclock_LDADD = $(XCLOCK_LIBS)
xclock_SOURCES = \
Clock.c \
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/configure
--- a/external/mit/xclock/dist/configure Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/configure Mon Jul 15 04:50:46 2019 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xclock 1.0.8.
+# Generated by GNU Autoconf 2.69 for xclock 1.0.9.
#
# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/issues>.
#
@@ -581,8 +581,8 @@
# Identity of this package.
PACKAGE_NAME='xclock'
PACKAGE_TARNAME='xclock'
-PACKAGE_VERSION='1.0.8'
-PACKAGE_STRING='xclock 1.0.8'
+PACKAGE_VERSION='1.0.9'
+PACKAGE_STRING='xclock 1.0.9'
PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xclock/issues'
PACKAGE_URL=''
@@ -1328,7 +1328,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures xclock 1.0.8 to adapt to many kinds of systems.
+\`configure' configures xclock 1.0.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1398,7 +1398,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of xclock 1.0.8:";;
+ short | recursive ) echo "Configuration of xclock 1.0.9:";;
esac
cat <<\_ACEOF
@@ -1524,7 +1524,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-xclock configure 1.0.8
+xclock configure 1.0.9
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1848,7 +1848,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by xclock $as_me 1.0.8, which was
+It was created by xclock $as_me 1.0.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2716,7 +2716,7 @@
# Define the identity of the package.
PACKAGE='xclock'
- VERSION='1.0.8'
+ VERSION='1.0.9'
cat >>confdefs.h <<_ACEOF
@@ -12734,7 +12734,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by xclock $as_me 1.0.8, which was
+This file was extended by xclock $as_me 1.0.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12800,7 +12800,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-xclock config.status 1.0.8
+xclock config.status 1.0.9
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/configure.ac
--- a/external/mit/xclock/dist/configure.ac Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/configure.ac Mon Jul 15 04:50:46 2019 +0000
@@ -24,7 +24,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xclock],
- [1.0.8],
+ [1.0.9],
[https://gitlab.freedesktop.org/xorg/app/xclock/issues],
[xclock])
AC_CONFIG_SRCDIR([Makefile.am])
diff -r 60d0ce1f9336 -r 03305d1eac98 external/mit/xclock/dist/xclock.c
--- a/external/mit/xclock/dist/xclock.c Mon Jul 15 04:50:45 2019 +0000
+++ b/external/mit/xclock/dist/xclock.c Mon Jul 15 04:50:46 2019 +0000
@@ -130,7 +130,7 @@
Arg arg;
if (event->type == ClientMessage &&
- event->xclient.data.l[0] != wm_delete_window) {
+ (Atom)event->xclient.data.l[0] != wm_delete_window) {
#ifdef XKB
XkbStdBell(XtDisplay(w), XtWindow(w), 0, XkbBI_MinorError);
#else
Home |
Main Index |
Thread Index |
Old Index