Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 12:55:17 +1000 (EST)
From:      edwin@mavetju.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29211: [fix] graphics/netpbm fails to patch
Message-ID:  <20010725025517.0677060@k7.mavetju.org>

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

>Number:         29211
>Category:       ports
>Synopsis:       [fix] graphics/netpbm fails to patch correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 20:00:05 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
-
>Environment:

# $FreeBSD: ports/graphics/netpbm/Makefile,v 1.46 2001/07/24 14:07:58 roam Exp $

>Description:

When patching netpbm, it fails on patch-cj.

>How-To-Repeat:

cd /usr/ports/graphics/netpbm
make patch

>Fix:

patch patch-cj with:
--- ../patch-cj Wed Jul 25 12:40:11 2001
+++ patch-cj    Wed Jul 25 12:49:59 2001
@@ -1,13 +1,10 @@
---- ppm/hpcdtoppm/hpcdtoppm.h.orig     Mon Jun 13 17:04:45 1994
-+++ ppm/hpcdtoppm/hpcdtoppm.h  Fri Dec  8 00:00:00 2000
-@@ -11,10 +11,10 @@
- 
- #include <stdio.h>
- #include <string.h>
--#include <malloc.h>
+--- ppm/hpcdtoppm/hpcdtoppm.h.old      Wed Jul 25 12:43:49 2001
++++ ppm/hpcdtoppm/hpcdtoppm.h  Wed Jul 25 12:45:19 2001
+@@ -14,7 +14,7 @@
  #include <sys/types.h>
  #include <ctype.h>
  #include "config.h"
+-
 +#include "ppm.h"
  
  

or replace it with
--- ppm/hpcdtoppm/hpcdtoppm.h.origin       Wed Jul 25 12:43:49 2001
+++ ppm/hpcdtoppm/hpcdtoppm.h   Wed Jul 25 12:45:19 2001
@@ -14,7 +14,7 @@
 #include <sys/types.h>
 #include <ctype.h>
 #include "config.h"
-
+#include "ppm.h"
 
 
 
[/usr/ports/graphics/netpbm/files] root@k7>
>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?20010725025517.0677060>