Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2020 22:01:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557180 - in head/databases/libpg_query: . files
Message-ID:  <202012062201.0B6M1lNk003587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012062201.0B6M1lNk003587>