---

** [bugs:#1231] pd-0.46.7 can't load externals on FreeBSD**

**Status:** open
**Group:** v0.46
**Created:** Sun Feb 07, 2016 05:16 AM UTC by Anonymous
**Last Updated:** Sun Feb 07, 2016 05:16 AM UTC
**Owner:** nobody
**Attachments:**

- 
[patch-src_s_loader.c](http://sourceforge.net/p/pure-data/bugs/1231/attachment/patch-src_s_loader.c)
 (1.3 kB; text/x-csrc)


The FreeBSD port for PD has until recently been unable to load external objects 
due to incorrect values in the src/s_loader.c file. Currently s_loader.c 
assumes an i386 architecture and a .pd_freebsd file extension whereas the rest 
of the tree assumes .pd_linux in the case of FreeBSD.

The attatched patch has been comitted downstream in FreeBSD ports and solves 
this issue by removing the special case for FreeBSD and treating it as the same 
as Linux, GNU/Hurd and Debian/kFreeBSD.

Also, FreeBSD does not have libdl but does provide dlfcn.h: this patch adds a 
special case for FreeBSD to provide access to the dlfcn header.

Tested on FreeBSD-RELEASE-10.2 with pd-0.46.7 on an intel amd64 processor.


---

Sent from sourceforge.net because [email protected] is subscribed to 
http://sourceforge.net/p/pure-data/bugs/

To unsubscribe from further messages, a project admin can change settings at 
http://sourceforge.net/p/pure-data/admin/bugs/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to