From owner-freebsd-questions Wed Jul 25 6:34:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 1upmc-msximc2.isdip.upmc.edu (1upmc-msximc2.isdip.upmc.edu [128.147.18.40]) by hub.freebsd.org (Postfix) with ESMTP id DD46C37B406 for ; Wed, 25 Jul 2001 06:34:04 -0700 (PDT) (envelope-from personrp@ccbh.com) Received: by 1upmc-msximc2.isdip.upmc.edu with Internet Mail Service (5.5.2653.19) id ; Wed, 25 Jul 2001 09:35:23 -0400 Message-ID: <46AEB8C1B628D511969200508B6FE42A6684E4@1upmc-msx6.isdip.upmc.edu> From: "Person, Roderick" To: 'Hans Zaunere' , freebsd-questions@FreeBSD.org Subject: RE: Patches Question Date: Wed, 25 Jul 2001 09:32:50 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1150E.4CDD9500" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > 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 RE: Patches Question

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   &nb= sp;           &nb= sp; =D4=BF=D4=AC
> >
> > 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message