ports/162302: [print/gtklp] [patch] Fix for broken build

Bengt Ahlgren bengta at sics.se
Fri Nov 4 22:20:09 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list