From: srussell Date: Wed, 9 Mar 2011 03:57:15 +0000 (-0800) Subject: Correction of the note links X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/5e32b75a71f601fcc7c20905d576d1f7b26e71d2 Correction of the note links --- diff --git a/docs/howtos/howtoporttodragonfly/index.mdwn b/docs/howtos/howtoporttodragonfly/index.mdwn index d86db111..4ed359f8 100644 --- a/docs/howtos/howtoporttodragonfly/index.mdwn +++ b/docs/howtos/howtoporttodragonfly/index.mdwn @@ -28,7 +28,7 @@ Suppose you would want to modify the application foo/bar from the pkgsrc collect This will restore the changes previously made, which will be a good starting point for the porting. The bmake command could also be used without options to attempt an immediate first compilation. But you might have to change some files first, like the GNU scripts for example. -Suppose that the foo application of the collection is version 1.0. Let's go into the newly extracted source directory located right here[1]: +Suppose that the foo application of the collection is version 1.0. Let's go into the newly extracted source directory located right here[1]: cd /var/obj/pkgsrc/foo/bar/work/foo-1.0 @@ -199,7 +199,7 @@ An initial change might be to scan the definitions for the other BSD variants, a ### GNU Tools definition -Porting code can focus on identifying available functions rather than on identifying host systems. A typical case would be the bcopy function, normally used instead of strcpy on BSD derivatives. Rather than referring to the host system, the code might look like this (from the GNU Autobook[2]): +Porting code can focus on identifying available functions rather than on identifying host systems. A typical case would be the bcopy function, normally used instead of strcpy on BSD derivatives. Rather than referring to the host system, the code might look like this (from the GNU Autobook[2]): #if !HAVE_STRCPY # if HAVE_BCOPY @@ -213,7 +213,7 @@ This guarantees a form of compatibility between systems at the code level. Unfor ### The BSD4.4 Heritage -Many developers are unaware that a BSD definition was created for BSD4.4 and it's derivatives, as DragonFly, FreeBSD and NetBSD. This definition is used like this (from pkgsrc developer's guide[3]): +Many developers are unaware that a BSD definition was created for BSD4.4 and it's derivatives, as DragonFly, FreeBSD and NetBSD. This definition is used like this (from pkgsrc developer's guide[3]): #include #if (defined(BSD) && BSD >= 199306) @@ -277,7 +277,7 @@ It is also possible to import new packages in pkgsrc-wip. See [http://pkgsrc-wip [1] + href="#AEN1">[1] @@ -290,7 +290,7 @@ It is also possible to import new packages in pkgsrc-wip. See [http://pkgsrc-wip [2] + href="#AEN2">[2] @@ -303,7 +303,7 @@ It is also possible to import new packages in pkgsrc-wip. See [http://pkgsrc-wip [3] + href="#AEN3">[3]