From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 8 15:40:03 2009 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 1817D1065675 for ; Sun, 8 Mar 2009 15:40:03 +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 E34118FC13 for ; Sun, 8 Mar 2009 15:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n28Fe0Cl009206 for ; Sun, 8 Mar 2009 15:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n28Fe0WL009205; Sun, 8 Mar 2009 15:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 8 Mar 2009 15:40:00 GMT Resent-Message-Id: <200903081540.n28Fe0WL009205@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, "Phillip N." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E5B0106566B for ; Sun, 8 Mar 2009 15:38:48 +0000 (UTC) (envelope-from pneumann@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id CA1568FC08 for ; Sun, 8 Mar 2009 15:38:47 +0000 (UTC) (envelope-from pneumann@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so563513ywt.13 for ; Sun, 08 Mar 2009 08:38:47 -0700 (PDT) Received: by 10.100.225.19 with SMTP id x19mr675945ang.107.1236525144837; Sun, 08 Mar 2009 08:12:24 -0700 (PDT) Received: from negro.transtel.cl ([190.196.72.68]) by mx.google.com with ESMTPS id c29sm6007985anc.43.2009.03.08.08.12.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Mar 2009 08:12:24 -0700 (PDT) Message-Id: <1236525127.29728@negro.transtel.cl> Date: Sun, 8 Mar 2009 12:12:07 -0300 From: "Phillip N." To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/132420: [patch] graphics/libgphoto2 doesnt build on current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 15:40:06 -0000 >Number: 132420 >Category: ports >Synopsis: [patch] graphics/libgphoto2 doesnt build on current >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: Sun Mar 08 15:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Phillip N. >Release: FreeBSD 8-CURRENT i386 >Organization: >Environment: System: FreeBSD ocho.sofsis.cl 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Mar 7 17:08:27 UTC 2009 root@ocho.sofsis.cl:/usr/obj/usr/src/sys/GENERIC-nodebug i386 >Description: libgphoto2 does not build on 8-CURRENT, on tinderbox. Thanks! >How-To-Repeat: >Fix: --- libgphoto2.diff begins here --- diff -ruN libgphoto2.orig/Makefile libgphoto2/Makefile --- libgphoto2.orig/Makefile 2009-03-07 20:13:38.000000000 +0000 +++ libgphoto2/Makefile 2009-03-08 15:09:26.000000000 +0000 @@ -40,7 +40,7 @@ .if ${OSVERSION} < 800064 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .else -CONFIGURE_ENV+= LIBUSB_LIBS="-L/usr/lib -lusb20" LIBUSB_CFLAGS="-I/usr/include/dev/usb" +CONFIGURE_ENV+= LIBUSB_LIBS="-L/usr/lib -lusb20" LIBUSB_CFLAGS="-I/usr/include/dev/usb -I/usr/include" .endif post-patch: diff -ruN libgphoto2.orig/files/patch-libusb.c libgphoto2/files/patch-libusb.c --- libgphoto2.orig/files/patch-libusb.c 1970-01-01 00:00:00.000000000 +0000 +++ libgphoto2/files/patch-libusb.c 2009-03-08 15:09:28.000000000 +0000 @@ -0,0 +1,10 @@ +--- libgphoto2_port/usb/libusb.c.orig 2009-03-08 15:02:44.000000000 +0000 ++++ libgphoto2_port/usb/libusb.c 2009-03-08 15:03:53.000000000 +0000 +@@ -33,6 +33,7 @@ + #include + + #include ++#include + + #include + #include --- libgphoto2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: