Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2011 22:17:35 GMT
From:      Bengt Ahlgren <bengta@sics.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162302: [print/gtklp] [patch] Fix for broken build
Message-ID:  <201111042217.pA4MHZ55083598@red.freebsd.org>
Resent-Message-ID: <201111042220.pA4MK8Rs081558@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162302
>Category:       ports
>Synopsis:       [print/gtklp] [patch] Fix for broken build
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 22:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Bengt Ahlgren
>Release:        8.2-RELEASE
>Organization:
>Environment:
8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
print/gtklp does not compile with cups 1.5.0.  It is therefore
currently marked as broken.

The reason is that <cups/ppd.h> is not anymore included
from <cups/cups.h> and therefore needs to be included
explicitly.
>How-To-Repeat:

>Fix:
Create a "files" directory in the port and drop the attached patch
there.

Remove BROKEN line in Makefile.

Patch attached with submission follows:

--- gtklp/gtklp.h.orig	2010-02-11 20:38:17.000000000 +0100
+++ gtklp/gtklp.h	2011-11-04 23:04:22.000000000 +0100
@@ -26,6 +26,7 @@
 
 #include <gtk/gtk.h>
 #include <cups/cups.h>
+#include <cups/ppd.h>
 #include <cups/http.h>
 
 #include <defaults.h>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111042217.pA4MHZ55083598>