Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 06:00:28 -0700 (PDT)
From:      Marcus vA <mva121@gmx.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/44091: port update: gimp-print fix
Message-ID:  <200210151300.g9FD0SAS003926@www.freebsd.org>

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

>Number:         44091
>Category:       ports
>Synopsis:       port update: gimp-print fix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 15 06:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Marcus vA
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
FreeBSD mainframe 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Oct 14 08:17:05 CEST 2002 marcus@mainframe:/usr/obj/usr/src/sys/PLONK i386
>Description:
      gimp-print does not build if cups-base is already installed.                                                                         
      Also it does not, if you fix BUILD_DEPENDS, because a #include                                                                        
      in src/cups/rastertoprinter.c is missing.
>How-To-Repeat:
      Just try to build gimp-print
>Fix:
       diff -Nur gimp-print/Makefile gimp-print.new/Makefile                                                                                 
        --- gimp-print/Makefile Mon Oct 14 20:25:36 2002                                                                                      
        +++ gimp-print.new/Makefile     Tue Oct 15 13:11:14 2002                                                                              
        @@ -30,7 +30,7 @@                                                                                                                     
         PLIST_SUB+=    CUPS="@comment "                                                                                                      
         .else                                                                                                                                
         LIB_DEPENDS+=  cups.2:${PORTSDIR}/print/cups-base                                                                                    
        -BUILD_DEPENDS+=        cups.2:${PORTSDIR}/print/cups-base                                                                            
        +BUILD_DEPENDS+=        cups-config:${PORTSDIR}/print/cups-base                                                                       
         CONFIGURE_ARGS+=       --with-cups=${PREFIX}                                                                                         
         PLIST_SUB+=    CUPS=""                                                                                                               
         .endif                         
       diff -Nur gimp-print/files/patch-aa gimp-print.new/files/patch-aa                                                                     
        --- gimp-print/files/patch-aa   Thu Jan  1 01:00:00 1970                                                                              
        +++ gimp-print.new/files/patch-aa       Tue Oct 15 13:29:45 2002                                                                      
        @@ -0,0 +1,10 @@                                                                                                                      
        +--- src/cups/rastertoprinter.orig      Tue Oct 15 13:27:42 2002                                                                      
        ++++ src/cups/rastertoprinter.c Tue Oct 15 13:27:21 2002                                                                              
        +@@ -57,6 +57,7 @@                                                                                                                    
        + #include <stdlib.h>                                                                                                                 
        + #include <unistd.h>                                                                                                                 
        + #include <fcntl.h>                                                                                                                  
        ++#include <limits.h>                                                                                                                 
        + #ifdef INCLUDE_GIMP_PRINT_H                                                                                                         
        + #include INCLUDE_GIMP_PRINT_H                                                                                                       
        + #else           
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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