sensors/lm_sensors-3.5.0-libsensors-fix-soname.patch
Jean Delvare 68ae91179e - Drop lm_sensors-revert-6b5a19b708.patch because the previously
incompatible types have been changed in the callee in package
  rrdtool too, which means that there is a type incompatibility again.
  Because the other change reportedly makes more snese, I'm dropping
  this one.

I am sorry for the noise, for removing a patch just after adding it.
But as explained in an email, when fixing dozens of packages, it is
not really possible for me to assume that call targets in another
packages might be a better place to address this.

If the request is OK, please forward it to Factory soon too so that it
does not blocking switching to GCC 14.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=127
2024-08-13 12:59:59 +00:00

33 lines
1.1 KiB
Diff

From f3f6488b0b15d1eea89c4312e7dc646e2b959fa5 Mon Sep 17 00:00:00 2001
From: Jean Delvare <jdelvare@suse.de>
Date: Sun, 16 Dec 2018 12:19:48 +0000
Subject: [PATCH 06/11] libsensors: Undo gratuitous library version bump
The new library is compatible with previous versions, it only has
added symbols, no changes nor removals. So the major version number
shall stay the same.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
lib/Module.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Module.mk b/lib/Module.mk
index ca25e7bb..fbc4114f 100644
--- a/lib/Module.mk
+++ b/lib/Module.mk
@@ -32,8 +32,8 @@ LIBMAN5FILES := $(MODULE_DIR)/sensors.conf.5
# The library soname (major number) must be changed if and only if the interface is
# changed in a backward incompatible way. The interface is defined by
# the public header files - in this case they are error.h and sensors.h.
-LIBMAINVER := 5
-LIBMINORVER := 0.0
+LIBMAINVER := 4
+LIBMINORVER := 5.0
LIBVER := $(LIBMAINVER).$(LIBMINORVER)
# The static lib name, the shared lib name, and the internal ('so') name of
--
2.43.0