Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 1999 12:30:43 -0700 (PDT)
From:      jobaldwi@vt.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/11191: [Patch]Fix for cccc port in /usr/ports/devel
Message-ID:  <19990417193043.1C0F3150C6@hub.freebsd.org>

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

>Number:         11191
>Category:       ports
>Synopsis:       [Patch]Fix for cccc port in /usr/ports/devel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 17 12:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     John Baldwin
>Release:        3.1-STABLE
>Organization:
>Environment:
FreeBSD john.baldwin.cx 3.1-STABLE FreeBSD 3.1-STABLE #14: Sun Apr  4 16:45:39 EDT 1999     root@john.baldwin.cx:/usr/source/src/sys/compile/JOHN  i386

>Description:
The port is currently marked as broken.  It is broken because it
attempts to include sys/signal.h instead of signal.h.  Under 3.0+, at
least, including only sys/signal.h results in a parse error because
'size_t' is undefined.
>How-To-Repeat:
cd /usr/ports/devel/cccc; make

(After commenting out BROKEN= line in Makefile)
>Fix:
Replace the current patches/patch-ab file with this one, which causes
the compile to include signal.h instead of sys/signal.h

*** cccc.h.orig Sun Aug 10 12:52:24 1997
--- cccc.h      Sat Apr 17 14:26:46 1999
***************
*** 20,27 ****
--- 20,32 ----
  
  #else
  
+ #ifdef __FreeBSD__
+ #define SIGNAL_HEADER <signal.h>
+ #define DEFAULT_LIBDIR "/usr/local/share/cccc"
+ #else
  #define SIGNAL_HEADER <sys/signal.h>
  #define DEFAULT_LIBDIR "/usr/local/lib/cccc"
+ #endif
  
  #endif
  


>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?19990417193043.1C0F3150C6>