Date: Sat, 7 Jun 2008 13:42:02 +0200 (CEST) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/124372: [PATCH] archivers/rpm: unbreak build Message-ID: <20080607114202.D99065C76@rho.emma.line.org> Resent-Message-ID: <200806071150.m57Bo0Sg013065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124372 >Category: ports >Synopsis: [PATCH] archivers/rpm: unbreak build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 07 11:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD rho.emma.line.org 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #6: Tue May 27 17:07:46 CEST 2008 >Description: Unbreak by adding gawk dependency. Renamed file to fix portlint complaint about invalid characters: - files/patch-misc::glob.h to files/patch-misc_glob.h Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- rpm-3.0.6_14.patch begins here --- diff -ruN --exclude=CVS /usr/ports/archivers/rpm/Makefile /usr/home/emma/ports/archivers/rpm/Makefile --- /usr/ports/archivers/rpm/Makefile 2008-06-06 15:02:31.000000000 +0200 +++ /usr/home/emma/ports/archivers/rpm/Makefile 2008-06-07 13:35:40.000000000 +0200 @@ -16,6 +16,8 @@ COMMENT= The Red Hat Package Manager LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt +BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk +RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk CONFLICTS= rpm-4.* diff -ruN --exclude=CVS /usr/ports/archivers/rpm/files/patch-misc::glob.h /usr/home/emma/ports/archivers/rpm/files/patch-misc::glob.h --- /usr/ports/archivers/rpm/files/patch-misc::glob.h 2002-09-23 18:53:05.000000000 +0200 +++ /usr/home/emma/ports/archivers/rpm/files/patch-misc::glob.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ - -$FreeBSD: ports/archivers/rpm/files/patch-misc::glob.h,v 1.1 2002/09/23 16:53:05 sobomax Exp $ - ---- misc/glob.h 2002/09/23 16:45:45 1.1 -+++ misc/glob.h 2002/09/23 16:46:23 -@@ -46,7 +46,7 @@ - #endif /* C++ or ANSI C. */ - - /* We need `size_t' for the following definitions. */ --#ifndef __size_t -+#if !defined(__size_t) && !defined(_SIZE_T_DECLARED) - # if defined __GNUC__ && __GNUC__ >= 2 - typedef __SIZE_TYPE__ __size_t; - # ifdef _XOPEN_SOURCE diff -ruN --exclude=CVS /usr/ports/archivers/rpm/files/patch-misc_glob.h /usr/home/emma/ports/archivers/rpm/files/patch-misc_glob.h --- /usr/ports/archivers/rpm/files/patch-misc_glob.h 1970-01-01 01:00:00.000000000 +0100 +++ /usr/home/emma/ports/archivers/rpm/files/patch-misc_glob.h 2002-09-23 18:53:05.000000000 +0200 @@ -0,0 +1,14 @@ + +$FreeBSD: ports/archivers/rpm/files/patch-misc::glob.h,v 1.1 2002/09/23 16:53:05 sobomax Exp $ + +--- misc/glob.h 2002/09/23 16:45:45 1.1 ++++ misc/glob.h 2002/09/23 16:46:23 +@@ -46,7 +46,7 @@ + #endif /* C++ or ANSI C. */ + + /* We need `size_t' for the following definitions. */ +-#ifndef __size_t ++#if !defined(__size_t) && !defined(_SIZE_T_DECLARED) + # if defined __GNUC__ && __GNUC__ >= 2 + typedef __SIZE_TYPE__ __size_t; + # ifdef _XOPEN_SOURCE --- rpm-3.0.6_14.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080607114202.D99065C76>