[packages/fnfx] Rel 6

arekm arekm at pld-linux.org
Thu May 21 15:55:26 CEST 2026


commit 32db402a6b0f211a0e275da499e52719ce101344
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 21 15:55:01 2026 +0200

    Rel 6

 fnfx-c99.patch | 10 ++++++++++
 fnfx.spec      |  9 +++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/fnfx.spec b/fnfx.spec
index 6b54e70..5400e9d 100644
--- a/fnfx.spec
+++ b/fnfx.spec
@@ -2,13 +2,14 @@ Summary:	Toshiba laptop function key utility
 Summary(pl.UTF-8):	Narzędzie do obsługi klawisza funkcyjnego w laptopach firmy Toshiba
 Name:		fnfx
 Version:	0.3
-Release:	5
+Release:	6
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/fnfx/%{name}-%{version}.tar.gz
 # Source0-md5:	2487730494a8ff86d83d9cf7e6a67325
 Source1:	%{name}.init
 Patch0:		%{name}-shad.patch
+Patch1:		%{name}-c99.patch
 URL:		http://fnfx.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
@@ -39,10 +40,14 @@ i Toshiby (CONFIG_ACPI i CONFIG_ACPI_TOSHIBA).
 %prep
 %setup -q
 %patch -P0 -p0
+%patch -P1 -p1
 
 %build
 %configure
-%{__make}
+%{__make} \
+	CPPFLAGS="%{rpmcppflags}" \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/fnfx-c99.patch b/fnfx-c99.patch
new file mode 100644
index 0000000..1c65376
--- /dev/null
+++ b/fnfx-c99.patch
@@ -0,0 +1,10 @@
+--- fnfx-0.3/src/fnfxd.c.orig	2004-10-12 21:03:42.000000000 +0200
++++ fnfx-0.3/src/fnfxd.c	2026-05-21 00:00:00.000000000 +0200
+@@ -59,6 +59,7 @@
+ /* fnfxd_init.c */
+ extern int init_sig_handler(void);
+ extern int init_fnfxd(int *, int *);
++extern int init_pid(void);
+ extern int chk_fnkey(void);
+ extern void walk_config(void);
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fnfx.git/commitdiff/32db402a6b0f211a0e275da499e52719ce101344



More information about the pld-cvs-commit mailing list