Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
152 stars 9 forks source link

Remove patch code from Conky.cmake #9

Closed npyl closed 5 years ago

npyl commented 6 years ago

See where I say:

On Darwin _POSIX_C_SOURCE must be >= __DARWIN_C_FULL for asprintf to be enabled!

The if(NOT OS_DARWIN) check must be removed and proper patching for macOS needs to be done somewhere else... (To investigate...)

Unfortunately I don't even have time to patch this little thing...

All I know is, this patch is needed to allow use of Darwin specific functions such as asprintf which ( I think is not covered by the POSIX_C_SOURCE 200809L )

npyl commented 5 years ago

I think the way it is right now is as good as it can get.