Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/makedepend/dist initial import of makedepend-1...
details: https://anonhg.NetBSD.org/xsrc/rev/242b7ba22610
branches: xorg
changeset: 7231:242b7ba22610
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Nov 11 07:52:27 2022 +0000
description:
initial import of makedepend-1.0.7
diffstat:
external/mit/makedepend/dist/ChangeLog | 69 +-
external/mit/makedepend/dist/Makefile.am | 4 +
external/mit/makedepend/dist/Makefile.in | 145 +-
external/mit/makedepend/dist/aclocal.m4 | 2313 ++--
external/mit/makedepend/dist/compile | 17 +-
external/mit/makedepend/dist/config.guess | 1488 ++-
external/mit/makedepend/dist/config.sub | 2885 +++---
external/mit/makedepend/dist/configure | 8034 ++++++++++--------
external/mit/makedepend/dist/configure.ac | 9 +-
external/mit/makedepend/dist/def.h | 1 +
external/mit/makedepend/dist/depcomp | 10 +-
external/mit/makedepend/dist/include.c | 34 +-
external/mit/makedepend/dist/install-sh | 172 +-
external/mit/makedepend/dist/main.c | 1 +
external/mit/makedepend/dist/makedepend-config.h.in | 15 +-
external/mit/makedepend/dist/missing | 16 +-
external/mit/makedepend/dist/test-driver | 27 +-
external/mit/makedepend/dist/tests/1/makedep.sh | 39 +
external/mit/makedepend/dist/tests/1/one.cpp | 1 +
external/mit/makedepend/dist/tests/1/two.cpp | 1 +
20 files changed, 8181 insertions(+), 7100 deletions(-)
diffs (truncated from 21563 to 300 lines):
diff -r 47aa8d18237d -r 242b7ba22610 external/mit/makedepend/dist/ChangeLog
--- a/external/mit/makedepend/dist/ChangeLog Fri Nov 11 07:52:26 2022 +0000
+++ b/external/mit/makedepend/dist/ChangeLog Fri Nov 11 07:52:27 2022 +0000
@@ -1,3 +1,70 @@
+commit d62a9e49c6b83f05c5692bbe4b80c485d08ecfd3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Fri Oct 28 19:28:57 2022 -0700
+
+ makedepend 1.0.7
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 542a6dd61ce334924494af2fcf8a4613ef86aace
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 18 09:50:04 2022 -0700
+
+ Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters
+
+ configure.ac:32: warning: AC_OUTPUT should be used without arguments.
+ configure.ac:32: You should run autoupdate.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3dc64b0b0a7d4e14ccea6b9d1d11bf871c47a7e0
+Author: Thibault DUPONCHELLE <thibault.duponchelle%gmail.com@localhost>
+Date: Wed Mar 20 09:26:47 2019 +0100
+
+ Add test case for bug #1 + proposed fix.
+
+ Fixes: https://gitlab.freedesktop.org/xorg/util/makedepend/issues/1
+
+commit 54559e73e27e532535dea2a60e615f99c694343f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Apr 10 09:32:55 2022 -0700
+
+ gitlab CI: stop requiring Signed-off-by in commits
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c2ffd57727e5f02b94f1c46392a740e404d4c270
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Apr 10 09:18:41 2022 -0700
+
+ Close fd for reading old Makefile when done, instead of leaking it
+
+ Found by Oracle Parfait:
+
+ Error: File Leak
+ File Leak [file-ptr-leak]:
+ Leaked File fdin
+ at line 799 of main.c in function 'redirect'.
+ fdin initialized at line 769 with fopen
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 093d33fb6bc108030539b38c4bfa202b148d3c7a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 15 15:44:38 2022 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9b11c9bdf94e620a58e4402f7c2a98e7fc01e859
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 15 15:43:28 2022 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
commit e4971e9507f989d68c97a92edd1e6e1881ad1d55
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Sat Mar 16 16:39:07 2019 -0700
@@ -510,7 +577,7 @@
Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
commit 8522c314da7537169996476fe5ba411f720a09fe
-Author: Martin Pärtel <lagitus%mbnet.fi@localhost>
+Author: Martin Pärtel <lagitus%mbnet.fi@localhost>
Date: Fri May 14 21:00:15 2010 -0700
Bug 28045 - makedepend fails on directory named like an include file
diff -r 47aa8d18237d -r 242b7ba22610 external/mit/makedepend/dist/Makefile.am
--- a/external/mit/makedepend/dist/Makefile.am Fri Nov 11 07:52:26 2022 +0000
+++ b/external/mit/makedepend/dist/Makefile.am Fri Nov 11 07:52:27 2022 +0000
@@ -71,3 +71,7 @@
# Test for https://bugs.freedesktop.org/show_bug.cgi?id=28045
TESTS += tests/28045/makedep.sh
EXTRA_DIST += tests/28045/makedep.sh tests/28045/foo.cpp
+
+# Test
+TESTS += tests/1/makedep.sh
+EXTRA_DIST += tests/1/makedep.sh tests/1/one.cpp tests/1/two.cpp
diff -r 47aa8d18237d -r 242b7ba22610 external/mit/makedepend/dist/Makefile.in
--- a/external/mit/makedepend/dist/Makefile.in Fri Nov 11 07:52:26 2022 +0000
+++ b/external/mit/makedepend/dist/Makefile.in Fri Nov 11 07:52:27 2022 +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,
@@ -124,7 +124,10 @@
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
+am__maybe_remake_depfiles = depfiles
+am__depfiles_remade = ./$(DEPDIR)/cppsetup.Po ./$(DEPDIR)/ifparser.Po \
+ ./$(DEPDIR)/include.Po ./$(DEPDIR)/main.Po \
+ ./$(DEPDIR)/parse.Po ./$(DEPDIR)/pr.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -173,8 +176,8 @@
$(am__cd) "$$dir" && rm -f $$files; }; \
}
DATA = $(appman_DATA)
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
- $(LISP)makedepend-config.h.in
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+ makedepend-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.
@@ -191,9 +194,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
-CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope check recheck
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
@@ -350,6 +350,7 @@
bases='$(TEST_LOGS)'; \
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
bases=`echo $$bases`
+AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
RECHECK_LOGS = $(TEST_LOGS)
TEST_SUITE_LOG = test-suite.log
TEST_EXTENSIONS = @EXEEXT@ .test
@@ -373,8 +374,8 @@
$(TEST_LOG_FLAGS)
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(srcdir)/makedepend-config.h.in AUTHORS COPYING ChangeLog \
- compile config.guess config.sub depcomp install-sh missing \
- test-driver
+ README.md compile config.guess config.sub depcomp install-sh \
+ missing test-driver
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -385,9 +386,11 @@
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
-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$$'
@@ -408,8 +411,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@
@@ -419,11 +423,10 @@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
-EGREP = @EGREP@
+ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_CMD = @INSTALL_CMD@
INSTALL_DATA = @INSTALL_DATA@
@@ -508,6 +511,7 @@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
+runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@@ -530,7 +534,8 @@
$(X_CFLAGS)
AM_CFLAGS = $(CWARNFLAGS)
EXTRA_DIST = autogen.sh makedepend.man README.md ChangeLog \
- tests/28045/makedep.sh tests/28045/foo.cpp
+ tests/28045/makedep.sh tests/28045/foo.cpp tests/1/makedep.sh \
+ tests/1/one.cpp tests/1/two.cpp
# Man page
appmandir = $(APP_MAN_DIR)
@@ -546,7 +551,9 @@
### Test cases - mostly for bug fixes submitted with a test case so far
# Test for https://bugs.freedesktop.org/show_bug.cgi?id=28045
-TESTS = tests/28045/makedep.sh
+
+# Test
+TESTS = tests/28045/makedep.sh tests/1/makedep.sh
# Absolute path to srcdir & builddir top that test scripts can reference
TEST_BUILDDIR_PATH = `cd $(top_builddir) && pwd`
@@ -586,8 +593,8 @@
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -666,12 +673,18 @@
distclean-compile:
-rm -f *.tab.c
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cppsetup.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ifparser.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/include.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pr.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cppsetup.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ifparser.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/include.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pr.Po@am__quote@ # am--include-marker
+
+$(am__depfiles_remade):
+ @$(MKDIR_P) $(@D)
+ @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+
+am--depfiles: $(am__depfiles_remade)
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -874,7 +887,7 @@
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
fi; \
echo "$${col}$$br$${std}"; \
- echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
echo "$${col}$$br$${std}"; \
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
@@ -887,7 +900,7 @@
fi; \
$$success || exit 1
-check-TESTS:
+check-TESTS:
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
@@ -915,6 +928,13 @@
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
+tests/1/makedep.sh.log: tests/1/makedep.sh
+ @p='tests/1/makedep.sh'; \
+ b='tests/1/makedep.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
.test.log:
@p='$<'; \
$(am__set_b); \
@@ -929,8 +949,10 @@
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
Home |
Main Index |
Thread Index |
Old Index