Re: [dev] Stripping html from email

From: Josh Rickmar <joshua_rickmar_AT_eumx.net>
Date: Thu, 26 Aug 2010 13:22:54 -0400

On Tue, Aug 24, 2010 at 04:58:20PM +0200, pancake wrote:
> there's dmc-pack to unpack and unpack mime attachments. The
> implementation is 162 LOC and works quite nice. I think is the
> sanest way to work with it.

dmc looks like it could be just what I need, unfortunately I can't
compile it on OpenBSD. Any help appreciated. If this doesn't work
out, I could always go to Kurt's perl solution.

$ gmake HAVE_SSL=0
cc -Wall -DHAVE_SSL=0 -DVERSION=\"0.1\" -DPREFIX=\"/usr\" -c -o dmc.o dmc.c
dmc.c: In function 'dmcinit':
dmc.c:195: warning: implicit declaration of function 'signal'
dmc.c:195: error: 'SIGINT' undeclared (first use in this function)
dmc.c:195: error: (Each undeclared identifier is reported only once
dmc.c:195: error: for each function it appears in.)
dmc.c: In function 'dmcstart':
dmc.c:230: error: 'SIGPIPE' undeclared (first use in this function)
dmc.c:230: error: 'SIG_IGN' undeclared (first use in this function)
dmc.c:256: warning: missing sentinel in function call
dmc.c: In function 'dmckill':
dmc.c:271: warning: implicit declaration of function 'kill'
dmc.c:271: error: 'SIGKILL' undeclared (first use in this function)
dmc.c: In function 'dmcstop':
dmc.c:278: error: 'SIGALRM' undeclared (first use in this function)
gmake: *** [dmc.o] Error 1
Received on Thu Aug 26 2010 - 19:22:54 CEST

This archive was generated by hypermail 2.2.0 : Thu Aug 26 2010 - 19:24:02 CEST