Re: '\0' not accepted as an empty "const char *": is this a compiler problem or not?

2016-06-20 Thread Stephen J. Butler
'\0' is a single character, not a string. Note the use of signal quote marks, THIS IS IMPORTANT. It is an 8bit value equivalent to the byte 0x00, or an integer 0x. You could replace '\0' with 0x00 everywhere in your code and they would be exactly the same. "" is a string containing one byt

'\0' not accepted as an empty "const char *": is this a compiler problem or not?

2016-06-20 Thread Mojca Miklavec
Hi, When I tried porting some software (originally written for Windows and now asking for C++14) to MacPorts I was stuck with an external piece of a code written in C, compiled with C++ (I don't fully understand why it is compiled with C++, but I cannot change that). This is a minimal example tha

Re: [MacPorts] #51598: bsdmake: setrlimit: Invalid argument

2016-06-20 Thread Bryan Nunweek
Thanks, but `sudo port -v install xinit` still fails with same error when using `/opt/local/bin/bsdmake` The bsdmake port was already installed but was not being used. Path seems OK: > BingleyG5:~ bryan$ echo $PATH > /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/us

Re: Search in packages contents

2016-06-20 Thread Ryan Schmidt
On Jun 20, 2016, at 7:30 AM, Michele Venturi wrote: > As I've discussed with raim on irc I would like to be able to search the > packages' contents for a certain file. This could be done via the web or the > cli once a buildbot has compiled the list maybe in the form of a sqllite > database to

Re: snapd

2016-06-20 Thread Russell Jones
On 20/06/16 10:43, Rainer Müller wrote: Furthermore, back to the topic of Snappy packages, I recommend to read this post by Kyle Keen. He describes how distributions adapt software to the needs of their users. This mostly also applies to MacPorts, as we often have to patch software to make it wor

Search in packages contents

2016-06-20 Thread Michele Venturi
As I've discussed with raim on irc I would like to be able to search the packages' contents for a certain file. This could be done via the web or the cli once a buildbot has compiled the list maybe in the form of a sqllite database to store on the user's machine if it is not too big or otherwise to

Re: snapd

2016-06-20 Thread Russell Jones
I wonder if SIP could be used by MacPorts to ensure the files in the directory match what the ports specify (and what would need to be added to Portfiles to have sufficient information to do this). Russell On 18/06/16 07:00, Mojca Miklavec wrote: MacPorts has to keep reminding software author

Re: snapd

2016-06-20 Thread Mojca Miklavec
On 20 June 2016 at 11:43, Rainer Müller wrote: > > Furthermore, back to the topic of Snappy packages, I recommend to read > this post by Kyle Keen. He describes how distributions adapt software to > the needs of their users. This mostly also applies to MacPorts, as we > often have to patch software

Re: snapd

2016-06-20 Thread Rainer Müller
On 2016-06-17 19:34, Alexey Kuznetsov wrote: > > On Fri, Jun 17, 2016 at 8:26 PM, Ryan Schmidt > wrote: > > Again: why? What problem are you trying to solve? > > > I think snapd is a good point to try to start to be together. May be > because no one tried th