LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   NetBSD pkgsrc and patches (https://www.linuxquestions.org/questions/%2Absd-17/netbsd-pkgsrc-and-patches-482555/)

Kristijan 09-11-2006 05:01 PM

NetBSD pkgsrc and patches
 
Hi,

I've tried finding the answer to my question via the NetBSD.org help files, but couldn't get a solid response.

Now I need to install the silc-client. So I followed my normal procedure and went to /usr/pkgsrc/chat/silc-client and did a make && make install. Fine, compiled with no errors and everything went fine.

I went to go a run it, and bumped into a problem about Malformed realname etc...I googled around for it, and found that it's a bug in the version of silc and there is a patch available (patch-ad).

Now there is a /usr/pkgsrc/chat/silc-client/patches folder, which contains the patch-ad file.

Is this file automatically applied when the make is done? Or do I have to patch the source manually?

1. If I have to apply it manually, how do I go about doing that?

2. If it's done automatically, how come I'm still having this issue?

Just want a clarification on how the files in the patches directory are used/applied.

Cheers,
-Kristijan

frob23 09-11-2006 07:19 PM

The patches are applied during the build process. You won't need to do them manually. I don't know why you're still having this issue. If the patch hadn't applied then your build would have failed.

I would suggest updating your pkgsrc tree and trying to build it again.

primo 09-16-2006 01:19 AM

You may manually download the patch and apply it. If the patch is simple, there won't be a problem. Usually, there's enough information that lets the patch be applied regardless of the many patches that may have been applied before.


All times are GMT -5. The time now is 12:41 PM.