Bug 41897 - [PATCH] Update devel/devtodo port to 0.1.14 and unbreak it
Summary: [PATCH] Update devel/devtodo port to 0.1.14 and unbreak it
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pete Fritchman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-22 15:40 UTC by Sergei Kolobov
Modified: 2002-08-25 19:44 UTC (History)
1 user (show)

See Also:


Attachments
devtodo-0.1.14-patch (1.60 KB, text/plain)
2002-08-22 15:40 UTC, Sergei Kolobov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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! :)