Files
buildroot/package
Maxim Kochetkov 2e056c4776 package/postgresql: fix build without BR2_TOOLCHAIN_HAS_THREADS_NPTL
Since commit: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=52afe563206e753f4c45c014fee2459ad0855826
postgrsql fails to build with toolchains without threads support:

misc.c: In function 'ecpg_gettext':
misc.c:541:51: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared (first use in this function)
  541 |         static pthread_mutex_t binddomain_mutex = PTHREAD_MUTEX_INITIALIZER;
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:541:51: note: each undeclared identifier is reported only once for each function it appears in
misc.c:552:24: warning: implicit declaration of function 'pthread_mutex_lock' [-Wimplicit-function-declaration]
  552 |                 (void) pthread_mutex_lock(&binddomain_mutex);
      |                        ^~~~~~~~~~~~~~~~~~
misc.c:569:24: warning: implicit declaration of function 'pthread_mutex_unlock' [-Wimplicit-function-declaration]
  569 |                 (void) pthread_mutex_unlock(&binddomain_mutex);
      |                        ^~~~~~~~~~~~~~~~~~~~

Option "--disable-thread-safety" will be dropped in PG 17, so
this patch is needed only for 16.x branch.

Fixes: 73dd1d6b96 ("package/postgresql: security bump version to 16.3")
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 747a41c19c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-11-11 16:46:20 +01:00
..
2024-07-22 14:03:09 +02:00
2024-07-09 22:14:51 +02:00
2024-08-14 23:46:52 +02:00
2024-09-19 11:03:14 +02:00
2024-08-20 23:23:43 +02:00
2024-09-19 11:03:14 +02:00
2024-09-03 21:07:01 +02:00
2024-05-13 21:28:41 +02:00
2024-11-09 17:57:24 +01:00
2024-08-19 23:05:10 +02:00
2024-07-16 14:42:03 +02:00
2024-10-19 21:59:01 +02:00
2024-05-30 21:18:04 +02:00
2024-06-28 22:22:57 +02:00
2024-08-06 13:23:00 +02:00
2024-06-05 23:31:19 +02:00
2024-05-10 23:27:26 +02:00
2024-08-14 23:41:25 +02:00
2024-09-19 11:03:21 +02:00
2024-05-12 09:09:16 +02:00
2024-06-13 11:16:07 +02:00
2024-05-13 21:48:47 +02:00
2024-09-19 11:03:23 +02:00
2024-07-12 09:06:26 +02:00
2024-06-30 11:23:20 +02:00
2024-07-02 08:48:10 +02:00
2024-07-21 18:33:09 +02:00
2024-09-03 23:32:38 +02:00
2024-08-26 18:28:55 +02:00
2024-08-02 23:55:51 +02:00
2024-10-11 14:52:21 +02:00
2024-06-03 11:02:54 +02:00
2024-08-08 18:44:20 +02:00
2024-08-01 22:54:57 +02:00
2024-07-30 23:47:01 +02:00
2024-09-19 11:03:31 +02:00
2024-09-19 11:03:32 +02:00
2024-07-15 16:44:19 +02:00
2024-08-02 08:18:26 +02:00
2024-07-15 14:37:51 +02:00
2024-07-17 17:47:51 +02:00
2024-09-19 11:03:37 +02:00
2024-07-20 22:59:00 +02:00
2024-06-04 21:12:42 +02:00
2024-07-14 17:55:50 +02:00
2024-07-29 19:57:41 +02:00
2024-09-19 13:55:57 +02:00
2024-10-19 21:18:09 +02:00
2024-07-01 09:07:25 +02:00
2024-07-15 14:35:44 +02:00
2024-07-15 14:31:15 +02:00
2024-05-13 22:01:43 +02:00
2024-06-06 11:11:57 +02:00
2024-05-09 23:03:33 +02:00
2024-05-24 14:51:47 +02:00
2024-07-29 22:53:52 +02:00
2024-09-20 12:33:39 +02:00
2024-08-19 13:13:00 +02:00
2024-07-14 21:46:41 +02:00
2024-05-24 14:33:16 +02:00
2024-08-02 23:36:22 +02:00
2024-10-19 22:11:43 +02:00
2024-05-13 23:26:41 +02:00
2024-05-24 14:33:54 +02:00
2024-07-15 16:44:38 +02:00
2024-05-09 18:20:59 +02:00
2024-08-01 23:47:41 +02:00
2024-09-20 12:33:45 +02:00
2024-06-30 16:52:35 +02:00
2024-08-20 23:35:59 +02:00
2024-06-15 21:18:56 +02:00
2024-07-15 21:42:48 +02:00
2024-08-02 19:50:55 +02:00
2024-07-03 15:55:51 +02:00
2024-07-29 20:21:10 +02:00
2024-07-01 22:47:15 +02:00
2024-08-02 19:51:43 +02:00
2024-11-09 17:51:51 +01:00
2024-06-21 21:10:33 +02:00
2024-06-21 21:10:33 +02:00
2024-06-21 21:10:33 +02:00
2024-07-14 21:38:34 +02:00
2024-07-14 21:47:19 +02:00
2024-07-14 21:46:24 +02:00
2024-07-29 10:15:58 +02:00
2024-07-14 21:38:18 +02:00
2024-06-25 19:37:06 +02:00
2024-06-30 11:23:31 +02:00
2024-05-13 22:50:00 +02:00
2024-07-23 23:05:21 +02:00
2024-07-13 16:22:20 +02:00
2024-08-01 23:47:17 +02:00
2024-06-06 11:25:58 +02:00
2024-07-01 22:47:24 +02:00
2024-08-27 18:59:26 +02:00
2024-07-10 23:47:16 +02:00
2024-07-12 22:57:25 +02:00
2024-07-16 14:42:05 +02:00
2024-07-10 23:47:21 +02:00
2024-06-22 18:57:46 +02:00
2024-08-05 22:32:19 +02:00
2024-07-23 22:24:22 +02:00
2024-07-13 00:02:39 +02:00
2024-06-22 19:40:52 +02:00
2024-07-01 09:10:08 +02:00
2024-07-28 22:09:45 +02:00
2024-08-27 13:41:41 +02:00
2024-05-08 18:33:52 +02:00
2024-08-08 21:47:19 +02:00
2024-07-12 15:32:24 +02:00
2024-07-20 23:04:46 +02:00