Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/libXpm/dist initial import of libXpm-3.5.16



details:   https://anonhg.NetBSD.org/xsrc/rev/857d7fbc870a
branches:  trunk
changeset: 7524:857d7fbc870a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 19 06:19:34 2023 +0000

description:
initial import of libXpm-3.5.16

diffstat:

 external/mit/libXpm/dist/ChangeLog           |    182 +-
 external/mit/libXpm/dist/Makefile.in         |     53 +-
 external/mit/libXpm/dist/aclocal.m4          |    407 +-
 external/mit/libXpm/dist/compile             |     17 +-
 external/mit/libXpm/dist/config.guess        |   1520 +-
 external/mit/libXpm/dist/config.h.in         |     10 +-
 external/mit/libXpm/dist/config.sub          |   2910 ++--
 external/mit/libXpm/dist/configure           |  14408 +++++++++++++-----------
 external/mit/libXpm/dist/configure.ac        |     23 +-
 external/mit/libXpm/dist/cxpm/Makefile.in    |     37 +-
 external/mit/libXpm/dist/depcomp             |     10 +-
 external/mit/libXpm/dist/doc/Makefile.in     |     18 +-
 external/mit/libXpm/dist/include/Makefile.in |     20 +-
 external/mit/libXpm/dist/install-sh          |    172 +-
 external/mit/libXpm/dist/ltmain.sh           |    892 +-
 external/mit/libXpm/dist/m4/libtool.m4       |    255 +-
 external/mit/libXpm/dist/m4/ltoptions.m4     |      4 +-
 external/mit/libXpm/dist/m4/ltsugar.m4       |      2 +-
 external/mit/libXpm/dist/m4/ltversion.m4     |     13 +-
 external/mit/libXpm/dist/m4/lt~obsolete.m4   |      4 +-
 external/mit/libXpm/dist/man/Makefile.in     |     18 +-
 external/mit/libXpm/dist/missing             |     16 +-
 external/mit/libXpm/dist/src/CrDatFrI.c      |      5 +-
 external/mit/libXpm/dist/src/Makefile.in     |    162 +-
 external/mit/libXpm/dist/src/RdFToI.c        |      4 +
 external/mit/libXpm/dist/src/WrFFrI.c        |      4 +
 external/mit/libXpm/dist/src/XpmI.h          |      2 +-
 external/mit/libXpm/dist/src/parse.c         |     20 +-
 external/mit/libXpm/dist/src/rgb.c           |      4 +-
 external/mit/libXpm/dist/sxpm/Makefile.in    |     37 +-
 external/mit/libXpm/dist/tap-driver.sh       |     12 +-
 external/mit/libXpm/dist/test-driver         |     27 +-
 external/mit/libXpm/dist/test/Makefile.am    |      6 +-
 external/mit/libXpm/dist/test/Makefile.in    |    126 +-
 external/mit/libXpm/dist/test/TestAllFiles.h |      4 +
 external/mit/libXpm/dist/test/XpmCreate.c    |      2 +-
 external/mit/libXpm/dist/test/XpmMisc.c      |      2 +-
 external/mit/libXpm/dist/test/XpmRead.c      |      2 +-
 external/mit/libXpm/dist/test/XpmWrite.c     |     25 +-
 external/mit/libXpm/dist/test/rgb.c          |     91 +
 external/mit/libXpm/dist/test/rgb.txt        |      8 +
 41 files changed, 11978 insertions(+), 9556 deletions(-)

diffs (truncated from 30584 to 300 lines):

diff -r e94229a29f06 -r 857d7fbc870a external/mit/libXpm/dist/ChangeLog
--- a/external/mit/libXpm/dist/ChangeLog        Mon Jun 19 06:19:31 2023 +0000
+++ b/external/mit/libXpm/dist/ChangeLog        Mon Jun 19 06:19:34 2023 +0000
@@ -1,3 +1,174 @@
+commit f131de92d6c4e2f62934e85b012287276ecf009c
+Author: Matt Turner <mattst88%gmail.com@localhost>
+Date:   Mon Apr 17 15:22:35 2023 -0400
+
+    libXpm 3.5.16
+    
+    Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit 8b9c4e4c5d278409dc41d19f0c8a8940403cd5c7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Mar 27 18:21:12 2023 -0700
+
+    xpmReadRgbNames: constify filename argument
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fd620b4f6c59674090b956a9d9e188a1250a4663
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Mar 27 18:15:41 2023 -0700
+
+    test: Add simple test cases for functions in src/rgb.c
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e01d691aa684d0d1247f772b7c537ec3254bb9bc
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Mar 27 18:03:13 2023 -0700
+
+    test: Use PACKAGE_BUGREPORT instead of hard-coded URL's
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 92030dd4c221e8043521ae4dc9d32d50e6ff44c4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 12 13:22:57 2023 -0800
+
+    parse.c: remove unused function xstrlcpy()
+    
+    parse.c:74:1: warning: unused function 'xstrlcpy' [-Wunused-function]
+    xstrlcpy(char *dst, const char *src, size_t dstsize)
+    ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8e0e63519069bed43b3bf1ce1f11fd0cd516d3e4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 12 10:51:46 2023 -0800
+
+    parse.c: Wrap FREE_CIDX definition in do { ... } while(0)
+    
+    Makes it match the definition in create.c and eliminates
+    clang warnings:
+    
+    create.c:2409:13: warning: empty expression statement has no effect;
+     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                            FREE_CIDX;
+                                     ^
+    create.c:2440:17: warning: empty expression statement has no effect;
+     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                                FREE_CIDX;
+                                         ^
+    create.c:2444:13: warning: empty expression statement has no effect;
+     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                            FREE_CIDX;
+                                     ^
+    create.c:2449:15: warning: empty expression statement has no effect;
+     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
+                FREE_CIDX;
+                         ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 25616112983cd3f8bfe5379771b5bfd63b3c3621
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 12 09:23:09 2023 -0800
+
+    XpmCreateDataFromXpmImage: Fix misleading indentation
+    
+    CrDatFrI.c: In function ‘XpmCreateDataFromXpmImage’:
+    CrDatFrI.c:245:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
+      245 |             if (header[l])
+          |             ^~
+    In file included from CrDatFrI.c:40:
+    XpmI.h:80:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
+       80 | #define XpmFree(ptr) free(ptr)
+          |                      ^~~~
+    CrDatFrI.c:247:17: note: in expansion of macro ‘XpmFree’
+      247 |                 XpmFree(header);
+          |                 ^~~~~~~
+    CrDatFrI.c: In function ‘CreateColors’:
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 45d8f4f20665c77dd1924b78559fb2494a77ad7a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 12 09:20:44 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.
+    
+    configure.ac:14: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
+    configure.ac:14: You should run autoupdate.
+    m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
+    configure.ac:14: the top level
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c52082c6e4811958dd741d67e1178b4e36a09923
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 5 12:14:43 2023 -0800
+
+    open-zfile: Make compress & uncompress commands optional
+    
+    If compress is not found, we disable writing to .Z files,
+    but leave the rest of the compression code active.
+    
+    If uncompress is not found, we use gzip to read .Z files.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 77e3b389eb92b8d8f94f5b83c1d3d7cd4db5b037
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Mon Jan 23 19:57:28 2023 +1000
+
+    Fix a memleak in ParsePixels error code path
+    
+    In this particular error path we have already allocated cidx[0..256]
+    with 256 instances of fresh and juicy memory. Freeing that is annoying,
+    but luckily there's a helpful FREE_CIDX macro that does exactly that.
+    
+    Fixes f80fa6a:
+      Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
+    
+    Found by covscan
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 71d7149cb356b96cc83e2ec95d06df4022039e2c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jan 19 12:16:26 2023 -0800
+
+    configure: correct error message to suggest --disable-open-zfile
+    
+    When one of the compression helper programs is not found, the message
+    suggesting how to compile without it should say --disable-open-zfile,
+    not --disable-stat-zfile.
+    
+    Fixes: 515294b ("Fix CVE-2022-4883: compression commands depend on $PATH")
+    Closes: #4
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9bc32a1a9c788eed2982d3fd35f2295a95af3817
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jan 19 12:06:38 2023 -0800
+
+    gitlab CI: build with each of --enable-open-zfile & --disable-open-zfile
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d9cbea1c6bc2b7f2c11964da0d437130bed82279
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Jan 17 18:41:32 2023 -0800
+
+    test: skip compressed file tests when --disable-open-zfile is used
+    
+    Reported-by: T.J. Townsend
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit ddd8339e262cbb7b25993599299ad40e0c95ccf6
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Tue Jan 17 08:19:26 2023 -0800
@@ -513,7 +684,7 @@ Date:   Tue Dec 6 22:31:53 2016 +0100
     Reviewed-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
 
 commit 42ca8d956276bc00bec09e410d76daf053ae35f9
-Author: Jörg Sonnenberger  <joerg%NetBSD.org@localhost>
+Author: Jörg Sonnenberger <joerg%NetBSD.org@localhost>
 Date:   Wed Mar 19 09:26:37 2014 +0100
 
     Fix abs() usage.
@@ -1417,13 +1588,13 @@ Date:   Thu Jun 9 13:42:36 2005 +0000
     Use $(top_srcdir)/src instead of $(top_builddir)/src in INCLUDES
 
 commit 769751fba3e32f49272d19799929e1ad5a3d2cd0
-Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
 Date:   Thu May 19 17:09:13 2005 +0000
 
     Add $(top_builddir)/include to INCLUDES
 
 commit 2cc1896c61eef5739bb6a8ffa89e58ba5c175a05
-Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
 Date:   Thu May 19 15:02:48 2005 +0000
 
     - Add build system for lib/Xpm
@@ -1431,7 +1602,7 @@ Date:   Thu May 19 15:02:48 2005 +0000
     - Conditionally include config.h in xc/extras/Xpm
 
 commit cf0d69c7ace679f27f105c582760b9be14923aba
-Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
 Date:   Thu May 19 14:37:53 2005 +0000
 
     Thu May 19 10:36:54 2005 Søren Sandmann <sandmann%redhat.com@localhost>
@@ -1495,9 +1666,6 @@ Date:   Tue Sep 21 17:57:35 2004 +0000
     Removed inclusion of unnecessary kernel header on Linux. This may fail in
         an -ansi environment.
 
-Notes:
-    Fixes CVE-2004-0687 (integer overflows) and CVE-2004-0688 (stack overflows)
-
 commit 2773a7214e282f6f673483f5233b880505947c3f
 Author: Egbert Eich <eich%suse.de@localhost>
 Date:   Fri Apr 23 18:42:32 2004 +0000
diff -r e94229a29f06 -r 857d7fbc870a external/mit/libXpm/dist/Makefile.in
--- a/external/mit/libXpm/dist/Makefile.in      Mon Jun 19 06:19:31 2023 +0000
+++ b/external/mit/libXpm/dist/Makefile.in      Mon Jun 19 06:19:34 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 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,
@@ -170,9 +170,9 @@ am__recursive_targets = \
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+       cscope distdir distdir-am dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -189,14 +189,11 @@ am__define_uniq_tagged_files = \
   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)/xpm.pc.in AUTHORS COPYING ChangeLog INSTALL compile \
-       config.guess config.sub install-sh ltmain.sh missing \
-       tap-driver.sh
+       $(srcdir)/xpm.pc.in AUTHORS COPYING ChangeLog INSTALL \
+       README.md compile config.guess config.sub install-sh ltmain.sh \
+       missing tap-driver.sh
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -235,6 +232,8 @@ am__relativize = \
 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
 GZIP_ENV = --best
 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$$'
@@ -256,8 +255,9 @@ CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -271,8 +271,10 @@ ECHO_C = @ECHO_C@
 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@
 GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -379,6 +381,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@


Home | Main Index | Thread Index | Old Index