Jelajahi Sumber

atop: use default value 200809L for _POSIX_C_SOURCE

Waldemar Brodkorb 2 bulan lalu
induk
melakukan
2b990adc15

+ 3 - 2
package/atop/patches/patch-atop_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atop.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atop.c	2026-07-05 18:32:23.673180289 +0200
-@@ -118,7 +118,6 @@
++++ atop-2.12.1/atop.c	2026-07-07 02:02:15.281022186 +0200
+@@ -118,7 +118,7 @@
  ** can be linked with 'atop'; the one to use can eventually be chosen
  ** at runtime. 
  */
 -#define _POSIX_C_SOURCE	
++#define _POSIX_C_SOURCE	200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopacctd_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopacctd.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopacctd.c	2026-07-05 18:35:28.463214341 +0200
-@@ -36,7 +36,6 @@
++++ atop-2.12.1/atopacctd.c	2026-07-07 02:05:12.758517636 +0200
+@@ -36,7 +36,7 @@
  ** it under the terms of the GNU General Public License version 2 as
  ** published by the Free Software Foundation.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopcat_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopcat.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopcat.c	2026-07-05 18:35:41.831361522 +0200
-@@ -28,7 +28,6 @@
++++ atop-2.12.1/atopcat.c	2026-07-07 02:04:14.759135545 +0200
+@@ -28,7 +28,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atophide_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atophide.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atophide.c	2026-07-05 18:35:55.067507255 +0200
-@@ -31,7 +31,6 @@
++++ atop-2.12.1/atophide.c	2026-07-07 02:05:28.050878985 +0200
+@@ -31,7 +31,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopsar_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopsar.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopsar.c	2026-07-05 18:34:40.178682764 +0200
-@@ -28,7 +28,6 @@
++++ atop-2.12.1/atopsar.c	2026-07-07 02:05:52.149835505 +0200
+@@ -28,7 +28,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-cgroups_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/cgroups.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/cgroups.c	2026-07-05 18:33:29.513904915 +0200
-@@ -27,7 +27,6 @@
++++ atop-2.12.1/cgroups.c	2026-07-07 02:03:50.342212381 +0200
+@@ -27,7 +27,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-drawbar_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/drawbar.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/drawbar.c	2026-07-05 18:34:24.802513502 +0200
-@@ -103,7 +103,6 @@
++++ atop-2.12.1/drawbar.c	2026-07-07 02:04:43.594438374 +0200
+@@ -103,7 +103,7 @@
  // horizontally scaled by the user, atop might switch from one model to
  // the other.
  /////////////////////////////////////////////////////////////////////////////
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-gpucom_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/gpucom.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/gpucom.c	2026-07-05 18:35:09.755008371 +0200
-@@ -22,7 +22,6 @@
++++ atop-2.12.1/gpucom.c	2026-07-07 02:03:39.884775016 +0200
+@@ -22,7 +22,7 @@
  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  ** See the GNU General Public License for more details.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-netatopif_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/netatopif.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/netatopif.c	2026-07-05 18:34:55.750854196 +0200
-@@ -22,7 +22,6 @@
++++ atop-2.12.1/netatopif.c	2026-07-07 02:02:57.548275581 +0200
+@@ -22,7 +22,7 @@
  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  ** See the GNU General Public License for more details.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-photoproc_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/photoproc.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/photoproc.c	2026-07-05 18:33:00.761588459 +0200
-@@ -30,7 +30,6 @@
++++ atop-2.12.1/photoproc.c	2026-07-07 02:03:14.180505535 +0200
+@@ -30,7 +30,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-photosyst_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/photosyst.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/photosyst.c	2026-07-05 18:33:14.557740301 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/photosyst.c	2026-07-07 02:04:57.862338565 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-rawlog_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/rawlog.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/rawlog.c	2026-07-05 18:33:44.890074163 +0200
-@@ -26,7 +26,6 @@
++++ atop-2.12.1/rawlog.c	2026-07-07 02:04:26.658021463 +0200
+@@ -26,7 +26,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-showgeneric_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/showgeneric.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/showgeneric.c	2026-07-05 18:34:06.926316721 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/showgeneric.c	2026-07-07 02:05:40.538474412 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-various_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/various.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/various.c	2026-07-05 18:32:43.541398939 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/various.c	2026-07-07 02:04:00.215992737 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE