Bug 41897

Summary: [PATCH] Update devel/devtodo port to 0.1.14 and unbreak it
Product: Ports & Packages Reporter: Sergei Kolobov <sergei>
Component: Individual Port(s)Assignee: Pete Fritchman <petef>
Status: Closed FIXED    
Severity: Affects Only Me CC: petef
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devtodo-0.1.14-patch none

Description Sergei Kolobov 2002-08-22 15:40:02 UTC
The current version of devel/devtodo port (0.1.12) doesn't build (at least,
on 4.6-STABLE), failing with an error message complaining about redeclaration
of malloc and realloc functions (see below).

In addition to that:
- a new version is out: 0.1.14
- MASTER_SITE is unreachable

Fix: Patch included below.

- update to 0.1.14
- use EXAMPLESDIR to simplify Makefile
- change MASTER_SITE
- unbreak the build
How-To-Repeat: % cd /usr/ports/devel/devtodo
% make
===>  Building for devtodo-0.1.12
make  all-recursive
Making all in util
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..     -O -pipe -march=pentiumpro -c regex.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -O -pipe -march=pentiumpro -c regex.c -o regex.o
regex.c:151: conflicting types for `malloc'
/usr/include/stdlib.h:99: previous declaration of `malloc'
regex.c:152: conflicting types for `realloc'
/usr/include/stdlib.h:103: previous declaration of `realloc'
*** Error code 1

Stop in /data/ports/devtodo-0.1.12/devtodo-0.1.12/util.
*** Error code 1

Stop in /data/ports/devtodo-0.1.12/devtodo-0.1.12.
*** Error code 1

Stop in /data/ports/devtodo-0.1.12/devtodo-0.1.12.
*** Error code 1

Stop in /data/FreeBSD/ports/devel/devtodo.
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2002-08-22 16:09:22 UTC
Responsible Changed
From-To: freebsd-ports->petef

Over to the maintainer.
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2002-08-25 19:44:44 UTC
State Changed
From-To: open->closed

Committed yesterday, thanks! :)