pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35424: wm/piewm fails to build on NetBSD-4.99.5
>Number: 35424
>Category: pkg
>Synopsis: wm/piewm fails to build on NetBSD-4.99.5
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 15 13:30:00 +0000 2007
>Originator: Philippe Crama
>Release: 4.99.5
>Organization:
>Environment:
NetBSD elisabeth 4.99.5 NetBSD 4.99.5 (GENERIC) #0: Mon Dec 11 20:22:23 CET
2006
philippe@elisabeth:/home/philippe/netbsd-4/obj/sys/arch/i386/compile/GENERIC
i386
>Description:
The package doesn't build any more (it used to work on 2.0.2, I can't
remember when I compiled it the last time). The build fails because
a) a function header is declared without the `static' keyword that is
used in the implementation (add_window.c and add_window.h)
b) various system function headers are not included
The proposed fix removes
a) the function header from add_window.h
b) #includes the necessary bits
!!! Also included in this fix, but perhaps misguided in the light of
!!! PR 26003: piewm expects to have GNU m4 instead of /usr/bin/m4.
!!! Instead of pulling in devel/m4 as dependency, I have chosen to
!!! modify the logic a bit more to be able to use /usr/bin/m4 instead
!!! (this change is put in patch-ai, changing parse.c)
>How-To-Repeat:
cd /usr/pkgsrc/wm/piewm
make
>Fix:
The proposed fix (see uuencoded file below) removes
a) the function header from add_window.h
b) #includes the necessary bits
!!! Also included in this fix, but perhaps misguided in the light of
!!! PR 26003: piewm expects to have GNU m4 instead of /usr/bin/m4.
!!! Instead of pulling in devel/m4 as dependency, I have chosen to
!!! modify the logic a bit more to be able to use /usr/bin/m4 instead
!!! (this change is put in patch-ai, changing parse.c)
begin 644 piewm-final-proposition-with-m4-patch.tgz
M'XL(`(:,JT4``^T]:W?;1J[]:OZ*635MI5@2WZ0D/TY<6VYTUZ]K*=OTW.[Q
M&9(CB6N^EJ0LJ[G][Q<8DGI9CM-$=GJW1%.1'&(P&`R``89#.G+9U/_F>4&2
M-,DT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