svn commit: r557180 - in head/databases/libpg_query: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Dec 6 22:01:48 UTC 2020
Author: pkubaj
Date: Sun Dec 6 22:01:47 2020
New Revision: 557180
URL: https://svnweb.freebsd.org/changeset/ports/557180
Log:
databases/libpg_query: fix build on powerpc64*
arch-ppc.h is not distributed with the port, but it is installed along with postgresql.
Approved by: tier 2 blanket
Added:
head/databases/libpg_query/files/
head/databases/libpg_query/files/patch-src_postgres_include_port_atomics.h (contents, props changed)
Modified:
head/databases/libpg_query/Makefile
Modified: head/databases/libpg_query/Makefile
==============================================================================
--- head/databases/libpg_query/Makefile Sun Dec 6 22:01:24 2020 (r557179)
+++ head/databases/libpg_query/Makefile Sun Dec 6 22:01:47 2020 (r557180)
@@ -12,7 +12,7 @@ COMMENT= C library for accessing the PostgreSQL parser
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake pgsql
+USES= compiler:c11 gmake pgsql
USE_LDCONFIG= yes
USE_GITHUB= yes
Added: head/databases/libpg_query/files/patch-src_postgres_include_port_atomics.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libpg_query/files/patch-src_postgres_include_port_atomics.h Sun Dec 6 22:01:47 2020 (r557180)
@@ -0,0 +1,11 @@
+--- src/postgres/include/port/atomics.h.orig 2020-12-06 21:56:04 UTC
++++ src/postgres/include/port/atomics.h
+@@ -71,7 +71,7 @@
+ #elif defined(__ia64__) || defined(__ia64)
+ #include "port/atomics/arch-ia64.h"
+ #elif defined(__ppc__) || defined(__powerpc__) || defined(__ppc64__) || defined(__powerpc64__)
+-#include "port/atomics/arch-ppc.h"
++#include <postgresql/server/port/atomics/arch-ppc.h>
+ #elif defined(__hppa) || defined(__hppa__)
+ #include "port/atomics/arch-hppa.h"
+ #endif
More information about the svn-ports-all
mailing list