Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libFS/include merge libFS 1.0.9.



details:   https://anonhg.NetBSD.org/xsrc/rev/7dc2913dff60
branches:  trunk
changeset: 7147:7dc2913dff60
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Sep 09 03:45:53 2022 +0000

description:
merge libFS 1.0.9.

also, obsolete the local config.h since only one file needed, and
replace with the pattern in every other .c file here - #ifdef
HAVE_CONFIG_H around the #include.

diffstat:

 external/mit/libFS/dist/src/fs_transport.c |    2 +
 external/mit/libFS/include/config.h        |  104 -----------------------------
 2 files changed, 2 insertions(+), 104 deletions(-)

diffs (119 lines):

diff -r 246c4ad4212f -r 7dc2913dff60 external/mit/libFS/dist/src/fs_transport.c
--- a/external/mit/libFS/dist/src/fs_transport.c        Fri Sep 09 03:35:55 2022 +0000
+++ b/external/mit/libFS/dist/src/fs_transport.c        Fri Sep 09 03:45:53 2022 +0000
@@ -27,5 +27,7 @@
 # define TRANS_CLIENT
 #endif
 
+#ifdef HAVE_CONFIG_H
 #include "config.h" /* Need to know which transport types to support */
+#endif
 #include <X11/Xtrans/transport.c>
diff -r 246c4ad4212f -r 7dc2913dff60 external/mit/libFS/include/config.h
--- a/external/mit/libFS/include/config.h       Fri Sep 09 03:35:55 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
-#define BSD44SOCKETS 1
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the `ws2_32' library (-lws2_32). */
-/* #undef HAVE_LIBWS2_32 */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if the system has the type `socklen_t'. */
-#define HAVE_SOCKLEN_T 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strlcpy' function. */
-#define HAVE_STRLCPY 1
-
-/* Define to 1 if you have the `strnlen' function. */
-#define HAVE_STRNLEN 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Support IPv6 for TCP connections */
-#define IPv6 1
-
-/* Support os-specific local connections */
-/* #undef LOCALCONN */
-
-/* Define to the sub-directory where libtool stores uninstalled libraries. */
-#define LT_OBJDIR ".libs/"
-
-/* Name of package */
-#define PACKAGE "libFS"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "libFS"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libFS 1.0.7"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "libFS"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.0.7"
-
-/* Major version of this package */
-#define PACKAGE_VERSION_MAJOR 1
-
-/* Minor version of this package */
-#define PACKAGE_VERSION_MINOR 0
-
-/* Patch version of this package */
-#define PACKAGE_VERSION_PATCHLEVEL 7
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-#define RETSIGTYPE void
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Support TCP socket connections */
-#define TCPCONN 1
-
-/* Support UNIX socket connections */
-#define UNIXCONN 1
-
-/* Version number of package */
-#define VERSION "1.0.7"



Home | Main Index | Thread Index | Old Index