From owner-freebsd-ports@FreeBSD.ORG Mon Aug 20 02:03:55 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEDB5106568A for ; Mon, 20 Aug 2012 02:03:55 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 75D718FC17 for ; Mon, 20 Aug 2012 02:03:55 +0000 (UTC) Received: by ialo14 with SMTP id o14so2807743ial.13 for ; Sun, 19 Aug 2012 19:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0XH/c3hkAzVCt9Re+pwYki9nJAa4I+/eIX505dvrUmI=; b=lObo/4ly1DN23sSvRafAm59Zne8MgE/suGQ/292yO+XFnm1ogCwfVIM6O8RRz6J6vr AboNaeGGcsqnx2DUnQyajWIBpi45vjRgtKEoOhdOUWqCGtRQpIpre57lJnXjSVibvAEx mIO34gCgi0xzvzBZV85BfRqWTwdpq74QLObThl/DrNpsY2m5fn2W+v9ojb8mXAi6BKXM oZtPJE37uQTJ8Us/58I3iOiAjIVtamSwtt4WfK9Eax5Drl/VfG+S5YpuOM/iFkL/6s3w Vfq0hXm0tyqsxrjbdbrxEuOuEOwJXW1dYh4N9o6F5D+H/3yPgK2sKkia8kRv+50GOzPU Uj5g== MIME-Version: 1.0 Received: by 10.43.48.129 with SMTP id uw1mr9646770icb.10.1345428235002; Sun, 19 Aug 2012 19:03:55 -0700 (PDT) Received: by 10.231.202.208 with HTTP; Sun, 19 Aug 2012 19:03:54 -0700 (PDT) Date: Mon, 20 Aug 2012 10:03:54 +0800 Message-ID: From: HU Dong To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Qestion about patching X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 02:03:55 -0000 Hi! The porter's handbook says that "Note that if the path of a patched file contains an underscore (_) character, the patch needs to have two underscores instead in its name. For example, to patch a file named src/freeglut_joystick.c, the corresponding patch should be named patch-src-freeglut__joystick.c." Question: What if the file contains - charactor(src/freeglut-joystick.c)? Should the patch be patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c? -- B.R. HU Dong