Date: Thu, 06 Oct 2011 01:57:44 -0500 From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161323: www/chromium: [PATCH] fixes build with cups Message-ID: <4e8d516e.a499ec0a.25aa.38b0@mx.google.com> Resent-Message-ID: <201110060700.p9670JVh083915@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161323 >Category: ports >Synopsis: www/chromium: [PATCH] fixes build with cups >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 06 07:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #9 r225739: Sat Sep 24 04:14:17 CDT 2011 lichray@compaq.yuetime:/usr/obj/home/lichray/devel/freebsd-stable/sys/HOUKAGO amd64 >Description: This version requires the use of ppd, but cups/ppd.h is not included. I did not tested gcc42, but for gcc46 & and clang, this version does not build. >How-To-Repeat: >Fix: --- patch-chromium_1 begins here --- diff -ruN --exclude=CVS /usr/ports/www/chromium.orig/Makefile /usr/ports/www/chromium/Makefile --- /usr/ports/www/chromium.orig/Makefile 2011-10-04 15:58:08.000000000 -0500 +++ /usr/ports/www/chromium/Makefile 2011-10-06 00:52:19.021445272 -0500 @@ -8,6 +8,7 @@ PORTNAME= chromium DISTVERSIONPREFIX= courgette-redacted- DISTVERSION= 14.0.835.202 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.goodking.org/downloads/ \ ftp://rene-ladan.nl/pub/distfiles/ \ diff -ruN --exclude=CVS /usr/ports/www/chromium.orig/files/patch-chrome__browser__ui__webui__print_preview_handler.cc /usr/ports/www/chromium/files/patch-chrome__browser__ui__webui__print_preview_handler.cc --- /usr/ports/www/chromium.orig/files/patch-chrome__browser__ui__webui__print_preview_handler.cc 1969-12-31 18:00:00.000000000 -0600 +++ /usr/ports/www/chromium/files/patch-chrome__browser__ui__webui__print_preview_handler.cc 2011-10-06 00:49:57.000000000 -0500 @@ -0,0 +1,10 @@ +--- chrome/browser/ui/webui/print_preview_handler.cc~ 2011-09-30 03:01:50.000000000 -0500 ++++ chrome/browser/ui/webui/print_preview_handler.cc 2011-10-06 00:48:39.943195565 -0500 +@@ -46,6 +46,7 @@ + + #if defined(USE_CUPS) + #include <cups/cups.h> ++#include <cups/ppd.h> + + #include "base/file_util.h" + #endif --- patch-chromium_1 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e8d516e.a499ec0a.25aa.38b0>