diff --git a/.files b/.files
index ab4670e..76b2e3c 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 51d23d4..e731177 100644
--- a/.rev
+++ b/.rev
@@ -246,4 +246,12 @@
1035878
+
+ 6735229c2e349bb5bd8f84dfd922b4ed
+ 1.4.0
+
+ anag+factory
+ - Use %patch -P N instead of deprecated %patchN. (forwarded request 1147720 from dimstar)
+ 1147785
+
diff --git a/aalib.changes b/aalib.changes
index af1c764..e84f86a 100644
--- a/aalib.changes
+++ b/aalib.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Feb 20 09:55:02 UTC 2024 - Dominique Leuenberger
+
+- Use %patch -P N instead of deprecated %patchN.
+
+-------------------------------------------------------------------
Tue Nov 15 13:53:57 UTC 2022 - Dominique Leuenberger
- Homepage link http://aa-project.sourceforge.net/ is a permanent
diff --git a/aalib.spec b/aalib.spec
index d19ff4c..b7096fa 100644
--- a/aalib.spec
+++ b/aalib.spec
@@ -1,7 +1,7 @@
#
# spec file for package aalib
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -88,22 +88,22 @@ Files needed for developing software that uses AAlib.
%prep
%setup -q -a 1 -b 2
-%patch1
-%patch3
-%patch10
-%patch11
-%patch12
-%patch13 -p1
+%patch -P 1
+%patch -P 3
+%patch -P 10
+%patch -P 11
+%patch -P 12
+%patch -P 13 -p1
cd aavga-1.0
-%patch2
+%patch -P 2
cd ../../aview-*
-%patch4
-%patch7
-%patch8
+%patch -P 4
+%patch -P 7
+%patch -P 8
cd ..
-%patch5
-%patch6
-%patch9
+%patch -P 5
+%patch -P 6
+%patch -P 9
%build
%{?suse_update_config}