Skip site navigation (1)Skip section navigation (2)
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>&quot;Without censorship, things can get terribly =
confused in the public mind.&quot; </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; - General William =
Westmoreland</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Hans Zaunere [<A =
HREF=3D"mailto:zaunere@yahoo.com">mailto:zaunere@yahoo.com</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: July 25, 2001 9:20 AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: freebsd-questions@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: Patches Question</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Well specifically I am referring to the =
ports</FONT>
<BR><FONT SIZE=3D2>&gt; collection.&nbsp; Whenever I do a make install =
for a port,</FONT>
<BR><FONT SIZE=3D2>&gt; there is always a section saying something =
along the</FONT>
<BR><FONT SIZE=3D2>&gt; lines of &quot;Getting FreeBSD =
Patches.&quot;</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I am wondering what these consist of, since I =
seldom</FONT>
<BR><FONT SIZE=3D2>&gt; see neseccary patches for other systems, except =
for</FONT>
<BR><FONT SIZE=3D2>&gt; those that the vendor/developer specifically =
says</FONT>
<BR><FONT SIZE=3D2>&gt; should be installed.&nbsp; When I make install =
a port and</FONT>
<BR><FONT SIZE=3D2>&gt; it does its magic, where do these patches come =
from? </FONT>
<BR><FONT SIZE=3D2>&gt; Vendor? FreeBSD project? Third-party? These =
patches do</FONT>
<BR><FONT SIZE=3D2>&gt; seem to be FreeBSD specific, and I am wondering =
what</FONT>
<BR><FONT SIZE=3D2>&gt; kinds of technical issues they are =
patching.&nbsp; Memory? </FONT>
<BR><FONT SIZE=3D2>&gt; Networking? Differences between FreeBSD's =
architecture</FONT>
<BR><FONT SIZE=3D2>&gt; and a SysV based system? etc..</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Thank you,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hans</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; --- Louis LeBlanc</FONT>
<BR><FONT SIZE=3D2>&gt; &lt;leblanc+freebsd@acadia.ne.mediaone.net&gt; =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; I doubt those patches are strictly =
intended to make</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; the app run on</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; FreeBSD, or that the app otherwise =
wouldn't run on</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; FreeBSD.&nbsp; Many</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; applications have patches associated with =
them, on</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; all OSs.&nbsp; If you</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; download a source rpm for Linux, you will =
often find</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; patch files</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; included therein.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Usually these patches are intended as =
minor tweaks</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; to the apps</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; stability, or as a fix for an obscure bug =
that</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; sneaked into the</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; release tarball.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; As for the rare occasion that a patch is =
directed at</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; a particular OS,</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; this is often because the app was =
originally</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; designed and implemented</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; on another platform, and someone else =
wrote the</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; patch to make it work</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; on theirs.&nbsp; Other times, an inherent =
instability in</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; the original code</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; only becomes apparent when it is ported to =
a new OS.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; From time to time, a patch may be written =
by another</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; person to add</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; functionality to an application - like the =
nntp</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; patches for mutt.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; This is often done when an original =
developer sticks</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; to the Unix</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; mindset (a tool should do ONE thing and do =
it well),</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; but some users</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; want to make an exception for a favorite =
tool or in</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; a unique</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; application of that tool.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; In the end, though, it isn't the os that =
makes the</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; patches necessary,</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; it is the app, and the inevitable =
imperfections in</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; the design,</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; implementation, etc.&nbsp; (We're only =
human after all :)</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; HTH</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Lou</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; On 07/25/01 05:33 AM, Hans Zaunere sat at =
the `puter</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; and typed:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; I notice that a lot of applications =
need to be</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; patched</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; to work on FreeBSD correctly.&nbsp; I =
am wondering,</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; from a</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; strictly technical standpoint, what =
these patches</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; are</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; for.&nbsp; How are they common?&nbsp; =
What is it about</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; FreeBSD</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; that makes these patches =
neseccary?</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; Thank you,</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; Hans Z</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; zaunere@yahoo.com</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; =
__________________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; Do You Yahoo!?</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; Make international calls for as low =
as $.04/minute</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; with Yahoo! Messenger</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; <A =
HREF=3D"http://phonecard.yahoo.com/" =
TARGET=3D"_blank">http://phonecard.yahoo.com/</A></FONT>;
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; To Unsubscribe: send mail to =
majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; with &quot;unsubscribe =
freebsd-questions&quot; in the body</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; of the message</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; -- </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Louis =
LeBlanc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
leblanc@acadia.ne.mediaone.net</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Fully Funded Hobbyist, KeySlapper =
Extrordinaire :)</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; <A HREF=3D"http://acadia.ne.mediaone.net" =
TARGET=3D"_blank">http://acadia.ne.mediaone.net</A>&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; =D4=BF=D4=AC</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; revolutionary, adj.:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&nbsp;&nbsp; Repackaged.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; To Unsubscribe: send mail to =
majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; with &quot;unsubscribe =
freebsd-questions&quot; in the body of</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; the message</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
__________________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; Do You Yahoo!?</FONT>
<BR><FONT SIZE=3D2>&gt; Make international calls for as low as =
$.04/minute with </FONT>
<BR><FONT SIZE=3D2>&gt; Yahoo! Messenger</FONT>
<BR><FONT SIZE=3D2>&gt; <A HREF=3D"http://phonecard.yahoo.com/" =
TARGET=3D"_blank">http://phonecard.yahoo.com/</A></FONT>;
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; To Unsubscribe: send mail to =
majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>&gt; with &quot;unsubscribe freebsd-questions&quot; =
in the body of the message</FONT>
<BR><FONT SIZE=3D2>&gt; </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>