slackware-current/testing/source/wpa_supplicant/patches/wpa_supplicant-gui-qt4.patch
Patrick J Volkerding 527328c5da Sat Dec 29 23:13:15 UTC 2018
a/kernel-generic-4.19.13-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.19.13-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.19.13-x86_64-1.txz:  Upgraded.
d/doxygen-1.8.15-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.19.13-x86-1.txz:  Upgraded.
k/kernel-source-4.19.13-noarch-1.txz:  Upgraded.
  FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER y -> n
l/libsecret-0.18.7-x86_64-1.txz:  Upgraded.
n/wpa_supplicant-2.6-x86_64-6.txz:  Upgraded.
  It seems we're not the only ones with broken WPA2-Enterprise support
  with wpa_supplicant-2.7, so we'll fix it the same way as everyone else -
  by reverting to wpa_supplicant-2.6 for now.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
testing/packages/wpa_supplicant-2.7-x86_64-2.txz:  Upgraded.
  Applied a patch from Gentoo to allow building CONFIG_IEEE80211X=y without
  the experimental CONFIG_FILS=y option.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2018-12-30 08:59:46 +01:00

41 lines
1.3 KiB
Diff

From 9404f356e394604d1d3d6dbffc52abd54260e4d4 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Tue, 27 Oct 2015 08:56:35 +0100
Subject: [PATCH] wpa_supplicant: allow overriding the names of the Qt4 tools
This is useful for distributions that ship different versions of Qt in
different locations.
---
wpa_supplicant/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index ad9ead9..b19676d 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -11,6 +11,9 @@ export INCDIR ?= /usr/local/include/
export BINDIR ?= /usr/local/sbin/
PKG_CONFIG ?= pkg-config
+QMAKE ?= qmake
+LRELEASE ?= lrelease
+
CFLAGS += $(EXTRA_CFLAGS)
CFLAGS += -I$(abspath ../src)
CFLAGS += -I$(abspath ../src/utils)
@@ -1787,10 +1790,10 @@ wpa_gui:
@echo "wpa_gui has been removed - see wpa_gui-qt4 for replacement"
wpa_gui-qt4/Makefile:
- qmake -o wpa_gui-qt4/Makefile wpa_gui-qt4/wpa_gui.pro
+ $(QMAKE) -o wpa_gui-qt4/Makefile wpa_gui-qt4/wpa_gui.pro
wpa_gui-qt4/lang/wpa_gui_de.qm: wpa_gui-qt4/lang/wpa_gui_de.ts
- lrelease wpa_gui-qt4/wpa_gui.pro
+ $(LRELEASE) wpa_gui-qt4/wpa_gui.pro
wpa_gui-qt4: wpa_gui-qt4/Makefile wpa_gui-qt4/lang/wpa_gui_de.qm
$(MAKE) -C wpa_gui-qt4
--
2.6.2