From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 05:17:25 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B21307A4 for ; Tue, 4 Mar 2014 05:17:25 +0000 (UTC) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83F5CF55 for ; Tue, 4 Mar 2014 05:17:25 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id z10so4647531pdj.4 for ; Mon, 03 Mar 2014 21:17:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=CgsE++brg6mPHJO0ADnAY1l+AV5/waBVcsUIBk9FfQs=; b=ylYs0zJ2GZWMsSO3kzwzVl1iBxMGBsLLccbt2HinWpKsOTnwtyyELdPNBhek+30CGp TU5wVM7FMz2a0uISRZFgdnX9n2IWH6IZzwZhoCv+BG4+iC4mzHTqSnw5LCD9O7dvhpQR RkqcAfDHL5XDNLMaI8QEnKtPj080B0VhHEyJ92xSlEfL6nD+hvuh/6q1iH2GGv31HuXF M8lb/K5+4PEIao55KsE8jdA7GFJuuHzg+KtSKmp37eH8Uk8KFHZBkYwy4YVtIhOMW0ry 122FypMrL1RJaCuhP/dOhVBg2XpSHQHJQwNHrPgq6souowa29EXDNoGDx/PcXDV7w9YZ jutA== MIME-Version: 1.0 X-Received: by 10.66.139.70 with SMTP id qw6mr3603545pab.111.1393910244980; Mon, 03 Mar 2014 21:17:24 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.66.0.164 with HTTP; Mon, 3 Mar 2014 21:17:24 -0800 (PST) In-Reply-To: <14371898.77cs3rCjJx@alex.super> References: <4238376.5ExdFi7rnP@alex.super> <14371898.77cs3rCjJx@alex.super> Date: Mon, 3 Mar 2014 21:17:24 -0800 X-Google-Sender-Auth: VBeAxXkLZ_bw0AvH4EqRRQqIVYY Message-ID: Subject: Re: graphics/imageindex - 1.1_5 From: Kevin Oberman To: "Alex V. Petrov" Content-Type: multipart/mixed; boundary=001a1133316e00aa9004f3c10584 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 05:17:25 -0000 --001a1133316e00aa9004f3c10584 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 T24gTW9uLCBNYXIgMywgMjAxNCBhdCA5OjE0IFBNLCBBbGV4IFYuIFBldHJvdiA8YWxleHZwZXRy b3ZAZ21haWwuY29tPndyb3RlOg0KDQo+ICDQkiDQv9C40YHRjNC80LUg0L7RgiAzINC80LDRgNGC 0LAgMjAxNCAyMDo0NDo0MSDQv9C+0LvRjNC30L7QstCw0YLQtdC70YwgS2V2aW4gT2Jlcm1hbiDQ vdCw0L/QuNGB0LDQuzoNCj4NCj4NCj4NCj4gPiBjZCAvdXNyL3BvcnRzL2dyYXBoaWNzL2ltYWdl aW5kZXgNCj4NCj4gPiBtYWtlIGV4dHJhY3QNCj4NCj4gPiBta2RpciBmaWxlcw0KPg0KPiA+IENv cHkgdGhlIGZvbGxvd2luZyBpbnRvIGZpbGVzDQo+DQo+ID4gPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KPg0K PiBza2lwZWQNCj4NCj4gPiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQo+DQo+ID4gSW5zdGFsbCB0aGUgcG9y dCBhcyB5b3Ugbm9ybWFsbHkgd291bGQuDQo+DQo+DQo+DQo+ICMgbWFrZQ0KPg0KPiA9PT0+IFBh dGNoaW5nIGZvciBpbWFnZWluZGV4LTEuMV81DQo+DQo+ID09PT4gQXBwbHlpbmcgRnJlZUJTRCBw YXRjaGVzIGZvciBpbWFnZWluZGV4LTEuMV81DQo+DQo+IDcgb3V0IG9mIDkgaHVua3MgZmFpbGVk LS1zYXZpbmcgcmVqZWN0cyB0byBpbWFnZWluZGV4LnJlag0KPg0KPiA9PiBQYXRjaCBwYXRjaC1p bWFnZWluZGV4IGZhaWxlZCB0byBhcHBseSBjbGVhbmx5Lg0KPg0KPiAqKiogRXJyb3IgY29kZSAx DQo+DQo+DQo+DQo+IFlvdSBjYW4gc2VuZCBhIHBhdGNoIGFzIGFuIGF0dGFjaG1lbnQ/DQo+DQo+ DQo+DQo+IC0tDQo+DQo+IC0tLS0tDQo+DQo+IEFsZXggVi4gUGV0cm92DQo+DQo+DQo+DQoNClNv cnJ5LiBJIHNob3VsZCBoYXZlIGRvbmUgZXhhY3RseSB0aGF0LiBIZXJlIGl0IGlzLg0KDQotLSAN ClIuIEtldmluIE9iZXJtYW4sIE5ldHdvcmsgRW5naW5lZXIsIFJldGlyZWQNCkUtbWFpbDogcmtv YmVybWFuQGdtYWlsLmNvbQ0K --001a1133316e00aa9004f3c10584 Content-Type: application/octet-stream; name=patch-imageindex Content-Disposition: attachment; filename=patch-imageindex Content-Transfer-Encoding: base64 X-Attachment-Id: f_hscq4zqi0 LS0tIGltYWdlaW5kZXgub3JpZwkyMDA3LTA0LTA0IDEyOjU1OjUxLjAwMDAwMDAwMCAtMDcwMAor KysgaW1hZ2VpbmRleAkyMDE0LTAzLTAzIDIwOjE4OjU3LjAwMDAwMDAwMCAtMDgwMApAQCAtMzI1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