[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] FreeBSD Port: Some small fixes to configure
From: |
Antonio Diaz |
Subject: |
Re: [Bug-ocrad] FreeBSD Port: Some small fixes to configure |
Date: |
Thu, 13 Nov 2003 18:15:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030811 |
Ulrich Spoerlein wrote:
I made a port of your software for the FreeBSD Ports System (You can
access the state of the submission here
http://www.freebsd.org/cgi/query-pr.cgi?pr=59232 ). I had to change
the test operator from '==' to '=' to be compatible with FreeBSD's test.
However I would be glad if you could apply this patch to your next
release (provided that '=' will work for Linux' test too).
Thanks for the port and for your feedback.
I have changed the '==' operator and some other compatibility things for
Ocrad 0.6.
And main.cc has to include libgen.h to get the prototype for basename()
(At least on FreeBSD)
From libc.info (2.3.x):
- Function: char * basename (const char *FILENAME)
The GNU version of the `basename' function returns the last
component of the path in FILENAME. This function is the preferred
usage, since it does not modify the argument, FILENAME, and
respects trailing slashes. The prototype for `basename' can be
found in `string.h'. Note, this function is overriden by the XPG
version, if `libgen.h' is included.
*Portability Note:* This function may produce different results on
different systems.
It seems there are conflicting 'basename' implementations. I should use
the GNU 'basename' and right now I can't think of a definitive solution
for this.
Oh, and btw, please provide a small man-page with your next release.
From the GNU coding standards:
--------------
In the GNU project, man pages are secondary. It is not necessary or
expected for every GNU program to have a man page, but some of them do.
It's your choice whether to include a man page in your program.
When you make this decision, consider that supporting a man page
requires continual effort each time the program is changed. The time you
spend on the man page is time taken away from more useful work.
---------------
Will you volunteer to write and maintain a man page for GNU Ocrad?
I'm afraid I haven't got the time to do it. (At least for the moment).
Can't the info system be used on FreeBSD?
Regards.
Antonio Diaz, GNU Ocrad author and maintainer.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-ocrad] FreeBSD Port: Some small fixes to configure,
Antonio Diaz <=