URL:
  <http://gna.org/bugs/?20398>

                 Summary: fatal error: 'malloc.h' file not found
                 Project: MyPaint
            Submitted by: ryandesign
            Submitted on: Wed 02 Jan 2013 05:36:33 PM GMT
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.1.0
         Planned Release: None
        Operating System: OS X 10.8

    _______________________________________________________

Details:

Hello, I'm the maintainer of MyPaint in MacPorts. MyPaint 1.0.0 built fine but
1.1.0 fails with:


fatal error: 'malloc.h' file not found


On OS X, according to "man malloc", you include stdlib.h, not malloc.h.

This change needed to be made in two files. I'm attaching the patch I made for
this, but of course it's not suitable for systems where including malloc.h is
needed. Perhaps you'll use some #ifdef to conditionalize this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 02 Jan 2013 05:36:33 PM GMT  Name: main.log  Size: 11kB   By:
ryandesign

<http://gna.org/bugs/download.php?file_id=16889>
-------------------------------------------------------
Date: Wed 02 Jan 2013 05:36:33 PM GMT  Name: patch-brushlib.diff  Size: 490B  
By: ryandesign

<http://gna.org/bugs/download.php?file_id=16890>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20398>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to