sensors/lm_sensors-3.1.1-build.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

26 lines
544 B
Diff

From 00066aab63916e9c5b8aec9f412fd30a7a040563 Mon Sep 17 00:00:00 2001
From: "jdelvare@suse.de" <jdelvare@suse.de>
Date: Mon, 20 Jul 2009 09:59:32 +0200
Subject: [PATCH 01/11] lm_sensors-3.1.1-build
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index f1e72258..c2e0615a 100644
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,7 @@ ifeq ($(DEBUG),1)
ALL_CPPFLAGS += -DDEBUG
ALL_CFLAGS += -O -g
else
-ALL_CFLAGS += -O2
+ALL_CFLAGS += $(RPM_OPT_FLAGS)
endif
ifeq ($(WARN),1)
--
2.43.0