From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 13 10:30:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1ED21065675 for ; Sun, 13 Apr 2008 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 846AA8FC1E for ; Sun, 13 Apr 2008 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3DAU1Wh031533 for ; Sun, 13 Apr 2008 10:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3DAU1F3031530; Sun, 13 Apr 2008 10:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 13 Apr 2008 10:30:01 GMT Resent-Message-Id: <200804131030.m3DAU1F3031530@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ports-net-vnc-apr08@sep.oldach.net (Helge Oldach) Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A009B106564A; Sun, 13 Apr 2008 10:25:07 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7A78FC1C; Sun, 13 Apr 2008 10:25:06 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (hmo.in-dsl.de [217.197.85.210]) by rigel.oldach.net (8.14.2/8.14.2/hmo30jul04) with ESMTP id m3D9ugLw042946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 13 Apr 2008 11:56:43 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.14.2/8.14.2/hmo26jun05) with ESMTP id m3D9ufv4004147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Apr 2008 11:56:41 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from root@localhost) by sep.oldach.net (8.14.2/8.14.2/Submit/hmo26jun05) id m3D9ueoU004146; Sun, 13 Apr 2008 11:56:40 +0200 (CEST) (envelope-from hmo) Message-Id: <200804130956.m3D9ueoU004146@sep.oldach.net> Date: Sun, 13 Apr 2008 11:56:40 +0200 (CEST) From: ports-net-vnc-apr08@oldach.net (Helge Oldach) To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: anders@FreeBSD.org, james@now.ie Subject: ports/122714: [patch] ports/net/vnc build failure WITHOUT_SERVER X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 10:30:02 -0000 >Number: 122714 >Category: ports >Synopsis: [patch] ports/net/vnc build failure WITHOUT_SERVER >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 10:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 6.3-1189 i386 >Organization: >Environment: System: FreeBSD localhost 6.3-1189 FreeBSD 6.3-1189 #0: Fri Apr 11 11:53:41 CEST 2008 toor@localhost:/usr/obj/usr/src/sys/HMO i386 >Description: ports/net/vnc does not patch properly when WITHOUT_SERVER is enabled: # make -DPATCH_DEBUG ===> Vulnerability check disabled, database not found ===> Found saved configuration for vnc-4.1.2_2 ===> Extracting for vnc-4.1.2_2 => MD5 Checksum OK for xc/vnc-4_1_2-unixsrc.tar.gz. => SHA256 Checksum OK for xc/vnc-4_1_2-unixsrc.tar.gz. ===> Patching for vnc-4.1.2_2 ===> Applying FreeBSD patches for vnc-4.1.2_2 ===> Applying FreeBSD patch /usr/ports/net/vnc/files/patch-xc-config-util-printver.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xc/config/util/printver.c.orig 2003-02-26 10:21:33.000000000 +0100 |+++ xc/config/util/printver.c 2008-03-16 10:07:56.000000000 +0100 -------------------------- File to patch: The reason is that all files following the ${PATCHDIR}/patch* naming scheme are applied automatically and unconditionally. This includes files/patch-xc-config-util-printver.c which is only applicable for WITH_SERVER builds. >How-To-Repeat: >Fix: Rename ${PATCHDIR}/patch-xc-config-util-printver.c to ${PATCHDIR}/extra-patch-xc-config-util-printver.c and add ${PATCHDIR}/extra-patch-xc-config-util-printver.c to EXTRA_PATCHES in Makefile. >Release-Note: >Audit-Trail: >Unformatted: