Bug 241897

Summary: databases/postgresql-odbc: fix build on GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me CC: bofh
Priority: --- Flags: bugzilla: maintainer-feedback? (bofh)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (bofh)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-11-11 20:59:40 UTC
Created attachment 209074 [details]
patch

typeof() is GNU extension, so use -std=gnu11. Also switch to USE_CSTD.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-11-12 01:14:55 UTC
Approved as mentor (builds on ppcports) pending maintainer review.
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2019-11-26 05:04:11 UTC
Sorry for the delay but am having a bad time testing on my builders with a long time for gcc9. Will revert as soon as build finishes.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-11-27 19:46:35 UTC
A commit references this bug:

Author: bofh
Date: Wed Nov 27 19:46:19 UTC 2019
New revision: 518527
URL: https://svnweb.freebsd.org/changeset/ports/518527

Log:
  databases/postgresql-odbc: Fix build on GCC architectures

  PR:		241897
  Submitted by:	pkubaz
  Approved by:	linimon
  MFH:		2019Q4 (runtime fix)

Changes:
  head/databases/postgresql-odbc/Makefile