diff --git a/wireless-tools-29-fix-cc.patch b/wireless-tools-29-fix-cc.patch index 8a1c2cc9774184009b736c2cf6e79b0012ecf47c..f4c13fa02bc298f673bf27c42c6f4bc79dc293bc 100644 --- a/wireless-tools-29-fix-cc.patch +++ b/wireless-tools-29-fix-cc.patch @@ -1,11 +1,12 @@ ---- a/Makefile 2007-09-18 07:56:46.000000000 +0800 -+++ b/Makefile 2023-04-11 15:00:19.610481258 +0800 -@@ -9,7 +9,7 @@ - endif - - ## Compiler to use (modify this for cross compile). --CC = gcc -+# CC = gcc - ## Other tools you need to modify for cross compile (static lib only). - AR = ar - RANLIB = ranlib \ No newline at end of file +diff -u -r wireless_tools.29/Makefile wireless_tools.29/Makefile +--- wireless_tools.29/Makefile 2023-07-25 12:00:32.000000000 +0800 ++++ wireless_tools.29/Makefile 2023-07-25 12:02:43.000000000 +0800 +@@ -9,7 +9,7 @@ + endif + + ## Compiler to use (modify this for cross compile). +-CC = gcc ++CC ?= gcc + ## Other tools you need to modify for cross compile (static lib only). + AR = ar + RANLIB = ranlib diff --git a/wireless-tools.spec b/wireless-tools.spec index 8f3810c1c137977d2a6f97e499d338e184f60d63..03e8601808753a5d3de327d6c73737a802e51c52 100644 --- a/wireless-tools.spec +++ b/wireless-tools.spec @@ -2,7 +2,7 @@ Summary: Wireless ethernet configuration tools License: GPL+ Name: wireless-tools Version: 29 -Release: 25 +Release: 26 Epoch: 1 URL: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html Source: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.%{version}.tar.gz @@ -68,6 +68,9 @@ ln -sf ../../%{_lib}/libiw.so.%{version} \ %changelog +* Tue Jul 25 2023 yoo - 29-26 +- fix patch fail + * Sat Apr 15 2023 Xiaoya Huang - 1:29-25 - Fix CC compiler support