Opened 15 years ago

Closed 15 years ago

#19823 closed submission (fixed)

cmockery-0.1.2 New Portfile

Reported by: pope (K. Adam Christensen) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: devel c cmockery Cc:
Port: cmockery

Description

Created a new Portfile for the unit testing and mocking C library known as cmockery.

Attachments (2)

Portfile (896 bytes) - added by pope (K. Adam Christensen) 15 years ago.
patch-malloc_check.diff (1.5 KB) - added by pope (K. Adam Christensen) 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by blb@…

Getting it to include /usr/include/malloc/malloc.h isn't quite the right way to fix it; it really shouldn't be trying to include malloc.h at all on the Mac; I've attached a patch to cmockery's bug for this issue which takes care of it. We can commit the port now using that patch if it works for you, or wait for it to be integrated upstream?

Changed 15 years ago by pope (K. Adam Christensen)

Attachment: Portfile added

Changed 15 years ago by pope (K. Adam Christensen)

Attachment: patch-malloc_check.diff added

comment:2 Changed 15 years ago by pope (K. Adam Christensen)

I took your advice and applied the patch. If this gets integrated upstream, then that will be for another version of the Portfile; but for now, this is good. Thank you for putting together that patch file in the first place.

comment:3 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Added in r51703, thanks. Note, I removed the revision entry since this is the first port at the given version, so the default of 0 makes sense.

Note: See TracTickets for help on using tickets.