From owner-svn-ports-all@freebsd.org Sun Aug 30 14:00:01 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84C3F3BC49B; Sun, 30 Aug 2020 14:00:01 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfZhx32Vyz40sF; Sun, 30 Aug 2020 14:00:01 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B895178CB; Sun, 30 Aug 2020 14:00:01 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07UE01lq058788; Sun, 30 Aug 2020 14:00:01 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07UE01Mc058787; Sun, 30 Aug 2020 14:00:01 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202008301400.07UE01Mc058787@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sun, 30 Aug 2020 14:00:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547055 - head/print/cups-bjnp X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/print/cups-bjnp X-SVN-Commit-Revision: 547055 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 14:00:01 -0000 Author: pkubaj Date: Sun Aug 30 14:00:00 2020 New Revision: 547055 URL: https://svnweb.freebsd.org/changeset/ports/547055 Log: print/cups-bjnp: fix build on GCC architectures Use C11 compiler: bjnp-io.h:106: error: redefinition of typedef 'printer_t' bjnp.h:132: error: previous declaration of 'printer_t' was here Modified: head/print/cups-bjnp/Makefile Modified: head/print/cups-bjnp/Makefile ============================================================================== --- head/print/cups-bjnp/Makefile Sun Aug 30 13:15:37 2020 (r547054) +++ head/print/cups-bjnp/Makefile Sun Aug 30 14:00:00 2020 (r547055) @@ -13,12 +13,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups +USES= compiler:c11 localbase:ldflags + PLIST_FILES= libexec/cups/backend/bjnp GNU_CONFIGURE= yes # Just to avoid a tautological pointer compare in bjnp-commands.c:187 CONFIGURE_ARGS+= --disable-Werror -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib .include