Hello icecast dev, Would like to resubmit a patch to libshout's sock.c that is needed for happy compilation on MacOSX. This is the libshout patch that fixes sock.c's dependency upon poll.h. It replaces the poll function, which isn't found in MacOSX, with the more universally unix friendly select() call. Apply as follows: * save the attached patch file into the directory above your libshout source dir... * In a term window, change into the directory above your libshout source directory. * type: patch -d libshout < sndkit_libshout_patch1.diff * cd into libshout & compile libshout happily... - SKoT <p> -------------- next part -------------- A non-text attachment was scrubbed... Name: sndkit_libshout_patch1.diff Type: application/octet-stream Size: 3158 bytes Desc: sndkit_libshout_patch1.diff Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20020117/108d118e/sndkit_libshout_patch1.obj
Stephen Brandon
2004-Aug-06 14:57 UTC
[icecast-dev] patch file submission: libshout sock.c
Hi again, with due respect to SKoT, I would suggest using my diffs from yesterday instead of SKoT's ones he just sent: my patches were actually based on SKoT's ones (thanks SKoT), but include alterations to configure.in to auto-detect whether or not the appropriate header exists or not. Then the use of select vs poll is chosen depending on which is available. Any chance these can make it into the canonical CVS sources pretty quickly? Cheers, Stephen Brandon On Thursday 17 Jan 2002 1:11 pm, you wrote:> Hello icecast dev, > > Would like to resubmit a patch to libshout's sock.c that is needed > for happy compilation on MacOSX. > > This is the libshout patch that fixes sock.c's dependency upon poll.h. > It replaces the poll function, which isn't found in MacOSX, with the > more universally unix friendly select() call. Apply as follows: > > * save the attached patch file into the directory above your libshout > source dir... > * In a term window, change into the directory above your libshout > source directory. > * type: > patch -d libshout < sndkit_libshout_patch1.diff > * cd into libshout & compile libshout happily... > > - SKoT--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.