hi list,
i submitted this bug/patch about a week ago but it didn't seem to get any attention, did i go about this in the wrong way? what's the best way to go about submitting a patch to Pd?
cheers, toby
On 02/07/16 22:00, pd-dev-request@lists.iem.at wrote:
From: "Ticket 1231" 1231@bugs.pure-data.p.re.sf.net To: pd-dev@lists.iem.at Subject: [PD-dev] [pure-data:bugs] #1231 pd-0.46.7 can't load externals on FreeBSD Message-ID: 56b6d348485acd54dd50c39d.bugs@pure-data.p.sourceforge.net Content-Type: text/plain; charset="utf-8"
** [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.