Date: Wed, 25 Jul 2001 09:32:50 -0400 From: "Person, Roderick" <personrp@ccbh.com> To: 'Hans Zaunere' <zaunere@yahoo.com>, freebsd-questions@FreeBSD.org Subject: RE: Patches Question Message-ID: <46AEB8C1B628D511969200508B6FE42A6684E4@1upmc-msx6.isdip.upmc.edu>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1150E.4CDD9500 Content-Type: text/plain; charset="iso-8859-1" If you look the dir of the port you are making there maybe a subdir named 'files' in there will be the patches. You can then read the patch code and detemine what is being patched for specific ports. example: there is a openoffice port that has patch files because the source code with out the patch claims FreeBSD not to be a OS. So the patch inserts code to tell the program that FreeBSD is an OS suitable for this code. The port is broke so you can't do a make install. I was try to manually compile and load open office last night, that's why i used this example. Roderick P. Person Programmer II personrp@ccbh.com "Without censorship, things can get terribly confused in the public mind." - General William Westmoreland > -----Original Message----- > From: Hans Zaunere [mailto:zaunere@yahoo.com] > Sent: July 25, 2001 9:20 AM > To: freebsd-questions@FreeBSD.org > Subject: Re: Patches Question > > > > Well specifically I am referring to the ports > collection. Whenever I do a make install for a port, > there is always a section saying something along the > lines of "Getting FreeBSD Patches." > > I am wondering what these consist of, since I seldom > see neseccary patches for other systems, except for > those that the vendor/developer specifically says > should be installed. When I make install a port and > it does its magic, where do these patches come from? > Vendor? FreeBSD project? Third-party? These patches do > seem to be FreeBSD specific, and I am wondering what > kinds of technical issues they are patching. Memory? > Networking? Differences between FreeBSD's architecture > and a SysV based system? etc.. > > Thank you, > > Hans > > > --- Louis LeBlanc > <leblanc+freebsd@acadia.ne.mediaone.net> wrote: > > I doubt those patches are strictly intended to make > > the app run on > > FreeBSD, or that the app otherwise wouldn't run on > > FreeBSD. Many > > applications have patches associated with them, on > > all OSs. If you > > download a source rpm for Linux, you will often find > > patch files > > included therein. > > > > Usually these patches are intended as minor tweaks > > to the apps > > stability, or as a fix for an obscure bug that > > sneaked into the > > release tarball. > > > > As for the rare occasion that a patch is directed at > > a particular OS, > > this is often because the app was originally > > designed and implemented > > on another platform, and someone else wrote the > > patch to make it work > > on theirs. Other times, an inherent instability in > > the original code > > only becomes apparent when it is ported to a new OS. > > > > From time to time, a patch may be written by another > > person to add > > functionality to an application - like the nntp > > patches for mutt. > > This is often done when an original developer sticks > > to the Unix > > mindset (a tool should do ONE thing and do it well), > > but some users > > want to make an exception for a favorite tool or in > > a unique > > application of that tool. > > > > In the end, though, it isn't the os that makes the > > patches necessary, > > it is the app, and the inevitable imperfections in > > the design, > > implementation, etc. (We're only human after all :) > > > > HTH > > > > Lou > > > > On 07/25/01 05:33 AM, Hans Zaunere sat at the `puter > > and typed: > > > I notice that a lot of applications need to be > > patched > > > to work on FreeBSD correctly. I am wondering, > > from a > > > strictly technical standpoint, what these patches > > are > > > for. How are they common? What is it about > > FreeBSD > > > that makes these patches neseccary? > > > > > > Thank you, > > > > > > Hans Z > > > zaunere@yahoo.com > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Make international calls for as low as $.04/minute > > with Yahoo! Messenger > > > http://phonecard.yahoo.com/ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > > > -- > > Louis LeBlanc leblanc@acadia.ne.mediaone.net > > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > > http://acadia.ne.mediaone.net ԿԬ > > > > revolutionary, adj.: > > Repackaged. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of > > the message > > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with > Yahoo! Messenger > http://phonecard.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ------_=_NextPart_001_01C1150E.4CDD9500 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: Patches Question</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>If you look the dir of the port you are making there = maybe a subdir named 'files' in there will be the patches. You can then = read the patch code and detemine what is being patched for specific = ports.</FONT></P> <P><FONT SIZE=3D2>example: there is a openoffice port that has patch = files because the source code with out the patch claims FreeBSD not to = be a OS. So the patch inserts code to tell the program that FreeBSD is = an OS suitable for this code. The port is broke so you can't do a make = install. I was try to manually compile and load open office last night, = that's why i used this example.</FONT></P> <P><FONT SIZE=3D2>Roderick P. Person</FONT> <BR><FONT SIZE=3D2>Programmer II</FONT> <BR><FONT SIZE=3D2>personrp@ccbh.com</FONT> </P> <P><FONT SIZE=3D2>"Without censorship, things can get terribly = confused in the public mind." </FONT> </P> <P><FONT SIZE=3D2> - General William = Westmoreland</FONT> </P> <BR> <P><FONT SIZE=3D2>> -----Original Message-----</FONT> <BR><FONT SIZE=3D2>> From: Hans Zaunere [<A = HREF=3D"mailto:zaunere@yahoo.com">mailto:zaunere@yahoo.com</A>]</FONT> <BR><FONT SIZE=3D2>> Sent: July 25, 2001 9:20 AM</FONT> <BR><FONT SIZE=3D2>> To: freebsd-questions@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>> Subject: Re: Patches Question</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Well specifically I am referring to the = ports</FONT> <BR><FONT SIZE=3D2>> collection. Whenever I do a make install = for a port,</FONT> <BR><FONT SIZE=3D2>> there is always a section saying something = along the</FONT> <BR><FONT SIZE=3D2>> lines of "Getting FreeBSD = Patches."</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> I am wondering what these consist of, since I = seldom</FONT> <BR><FONT SIZE=3D2>> see neseccary patches for other systems, except = for</FONT> <BR><FONT SIZE=3D2>> those that the vendor/developer specifically = says</FONT> <BR><FONT SIZE=3D2>> should be installed. When I make install = a port and</FONT> <BR><FONT SIZE=3D2>> it does its magic, where do these patches come = from? </FONT> <BR><FONT SIZE=3D2>> Vendor? FreeBSD project? Third-party? These = patches do</FONT> <BR><FONT SIZE=3D2>> seem to be FreeBSD specific, and I am wondering = what</FONT> <BR><FONT SIZE=3D2>> kinds of technical issues they are = patching. Memory? </FONT> <BR><FONT SIZE=3D2>> Networking? Differences between FreeBSD's = architecture</FONT> <BR><FONT SIZE=3D2>> and a SysV based system? etc..</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Thank you,</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Hans</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> --- Louis LeBlanc</FONT> <BR><FONT SIZE=3D2>> <leblanc+freebsd@acadia.ne.mediaone.net> = wrote:</FONT> <BR><FONT SIZE=3D2>> > I doubt those patches are strictly = intended to make</FONT> <BR><FONT SIZE=3D2>> > the app run on</FONT> <BR><FONT SIZE=3D2>> > FreeBSD, or that the app otherwise = wouldn't run on</FONT> <BR><FONT SIZE=3D2>> > FreeBSD. Many</FONT> <BR><FONT SIZE=3D2>> > applications have patches associated with = them, on</FONT> <BR><FONT SIZE=3D2>> > all OSs. If you</FONT> <BR><FONT SIZE=3D2>> > download a source rpm for Linux, you will = often find</FONT> <BR><FONT SIZE=3D2>> > patch files</FONT> <BR><FONT SIZE=3D2>> > included therein.</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > Usually these patches are intended as = minor tweaks</FONT> <BR><FONT SIZE=3D2>> > to the apps</FONT> <BR><FONT SIZE=3D2>> > stability, or as a fix for an obscure bug = that</FONT> <BR><FONT SIZE=3D2>> > sneaked into the</FONT> <BR><FONT SIZE=3D2>> > release tarball.</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > As for the rare occasion that a patch is = directed at</FONT> <BR><FONT SIZE=3D2>> > a particular OS,</FONT> <BR><FONT SIZE=3D2>> > this is often because the app was = originally</FONT> <BR><FONT SIZE=3D2>> > designed and implemented</FONT> <BR><FONT SIZE=3D2>> > on another platform, and someone else = wrote the</FONT> <BR><FONT SIZE=3D2>> > patch to make it work</FONT> <BR><FONT SIZE=3D2>> > on theirs. Other times, an inherent = instability in</FONT> <BR><FONT SIZE=3D2>> > the original code</FONT> <BR><FONT SIZE=3D2>> > only becomes apparent when it is ported to = a new OS.</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > From time to time, a patch may be written = by another</FONT> <BR><FONT SIZE=3D2>> > person to add</FONT> <BR><FONT SIZE=3D2>> > functionality to an application - like the = nntp</FONT> <BR><FONT SIZE=3D2>> > patches for mutt.</FONT> <BR><FONT SIZE=3D2>> > This is often done when an original = developer sticks</FONT> <BR><FONT SIZE=3D2>> > to the Unix</FONT> <BR><FONT SIZE=3D2>> > mindset (a tool should do ONE thing and do = it well),</FONT> <BR><FONT SIZE=3D2>> > but some users</FONT> <BR><FONT SIZE=3D2>> > want to make an exception for a favorite = tool or in</FONT> <BR><FONT SIZE=3D2>> > a unique</FONT> <BR><FONT SIZE=3D2>> > application of that tool.</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > In the end, though, it isn't the os that = makes the</FONT> <BR><FONT SIZE=3D2>> > patches necessary,</FONT> <BR><FONT SIZE=3D2>> > it is the app, and the inevitable = imperfections in</FONT> <BR><FONT SIZE=3D2>> > the design,</FONT> <BR><FONT SIZE=3D2>> > implementation, etc. (We're only = human after all :)</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > HTH</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > Lou</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > On 07/25/01 05:33 AM, Hans Zaunere sat at = the `puter</FONT> <BR><FONT SIZE=3D2>> > and typed:</FONT> <BR><FONT SIZE=3D2>> > > I notice that a lot of applications = need to be</FONT> <BR><FONT SIZE=3D2>> > patched</FONT> <BR><FONT SIZE=3D2>> > > to work on FreeBSD correctly. I = am wondering,</FONT> <BR><FONT SIZE=3D2>> > from a</FONT> <BR><FONT SIZE=3D2>> > > strictly technical standpoint, what = these patches</FONT> <BR><FONT SIZE=3D2>> > are</FONT> <BR><FONT SIZE=3D2>> > > for. How are they common? = What is it about</FONT> <BR><FONT SIZE=3D2>> > FreeBSD</FONT> <BR><FONT SIZE=3D2>> > > that makes these patches = neseccary?</FONT> <BR><FONT SIZE=3D2>> > > </FONT> <BR><FONT SIZE=3D2>> > > Thank you,</FONT> <BR><FONT SIZE=3D2>> > > </FONT> <BR><FONT SIZE=3D2>> > > Hans Z</FONT> <BR><FONT SIZE=3D2>> > > zaunere@yahoo.com</FONT> <BR><FONT SIZE=3D2>> > > </FONT> <BR><FONT SIZE=3D2>> > > = __________________________________________________</FONT> <BR><FONT SIZE=3D2>> > > Do You Yahoo!?</FONT> <BR><FONT SIZE=3D2>> > > Make international calls for as low = as $.04/minute</FONT> <BR><FONT SIZE=3D2>> > with Yahoo! Messenger</FONT> <BR><FONT SIZE=3D2>> > > <A = HREF=3D"http://phonecard.yahoo.com/" = TARGET=3D"_blank">http://phonecard.yahoo.com/</A></FONT> <BR><FONT SIZE=3D2>> > > </FONT> <BR><FONT SIZE=3D2>> > > To Unsubscribe: send mail to = majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>> > > with "unsubscribe = freebsd-questions" in the body</FONT> <BR><FONT SIZE=3D2>> > of the message</FONT> <BR><FONT SIZE=3D2>> > > </FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > -- </FONT> <BR><FONT SIZE=3D2>> > Louis = LeBlanc = leblanc@acadia.ne.mediaone.net</FONT> <BR><FONT SIZE=3D2>> > Fully Funded Hobbyist, KeySlapper = Extrordinaire :)</FONT> <BR><FONT SIZE=3D2>> > <A HREF=3D"http://acadia.ne.mediaone.net" = TARGET=3D"_blank">http://acadia.ne.mediaone.net</A> &nb= sp; &nb= sp; =D4=BF=D4=AC</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > revolutionary, adj.:</FONT> <BR><FONT SIZE=3D2>> > Repackaged.</FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > </FONT> <BR><FONT SIZE=3D2>> > To Unsubscribe: send mail to = majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>> > with "unsubscribe = freebsd-questions" in the body of</FONT> <BR><FONT SIZE=3D2>> > the message</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> = __________________________________________________</FONT> <BR><FONT SIZE=3D2>> Do You Yahoo!?</FONT> <BR><FONT SIZE=3D2>> Make international calls for as low as = $.04/minute with </FONT> <BR><FONT SIZE=3D2>> Yahoo! Messenger</FONT> <BR><FONT SIZE=3D2>> <A HREF=3D"http://phonecard.yahoo.com/" = TARGET=3D"_blank">http://phonecard.yahoo.com/</A></FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> To Unsubscribe: send mail to = majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>> with "unsubscribe freebsd-questions" = in the body of the message</FONT> <BR><FONT SIZE=3D2>> </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C1150E.4CDD9500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AEB8C1B628D511969200508B6FE42A6684E4>