On Feb 26, 2004, at 8:05 PM, Joseph Bruzzo wrote:
In order for me to do this will I need to install RCS or do I just
download the file, do a diff or do I just replace the old configure.in
with the new configure.in

Sorry not sure on how to do this.  Your assistance will be greatly
appreciated.

For a patch as simple as the one I posted, it's easiest to manually apply it (if you're unfamiliar with the `patch` program).


diff -u -r1.27 configure.in

-u means that it's in unified diff format.


--- configure.in        22 Feb 2004 22:17:41 -0000      1.27
+++ configure.in        24 Feb 2004 17:06:26 -0000

This part indicates that the old file was dated 2004-02-22 and is version 1.27 in CVS. The new file is dated 2004-02-24 and hasn't been checked into CVS yet.


@@ -199,7 +199,7 @@

The change affects 7 lines, starting at line 199.


  case "$host" in
    *-*-solaris*)
-    extralibflags="-R$libdir"

This line is removed.


+ extralibflags="-R$libdir -lnsl -lsocket"

This line is added in its place. If you look closely, you'll see that it's just a matter of editing configure.in, going to line 199, finding the "extralibflags" line and adding " -lnsl -lsocket" to it. Based on other posts, you may need to add " -lm" as well.


      AC_MSG_WARN(Solaris install detected.  Using extralibflags for
linking: $extralibflags)
      ;;
    *)

The other lines displayed are to help the patch program (or a person reviewing the patch or manually applying it) identify which section of code it affects.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to