# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/lvm2/no-symver.diff # Copyright (C) 2021 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- LVM2.2.03.23/libdm/Makefile.in.vanilla 2024-03-21 17:46:54.910809284 +0100 +++ LVM2.2.03.23/libdm/Makefile.in 2024-03-21 17:47:09.043808572 +0100 @@ -48,7 +48,7 @@ LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX) LIB_VERSION = $(LIB_VERSION_DM) ifeq ("@SHARED_LINK@", "yes") -TARGETS = libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) .symver_check +TARGETS = libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) # .symver_check endif CFLOW_LIST = $(SOURCES) --- LVM2.2.03.14/libdm/misc/dmlib.h.vanilla 2021-12-31 15:24:20.912039995 +0100 +++ LVM2.2.03.14/libdm/misc/dmlib.h 2021-12-31 15:24:30.855039598 +0100 @@ -63,7 +63,7 @@ * versions of library symbols prior to the introduction of symbol * versioning: it must never be used for new symbols. */ -#if defined(GNU_SYMVER) +#if 0 # ifdef __has_attribute # if __has_attribute(symver) # define DM_EXPORT_NEW_SYMBOL(rettype, func, ver) \