# Newby finds mysterious patch

**URL:** <https://rubytalk.org/t/newby-finds-mysterious-patch/674>\
**Category:** ruby-talk\
**Created:** [15 July 2002 13:24 UTC](https://rubytalk.org/t/newby-finds-mysterious-patch/674 "2002-07-15T13:24:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Erickson1](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@Joseph\_Erickson1](https://rubytalk.org/u/Joseph_Erickson1)\
**Post date:** [15 July 2002 13:24 UTC](https://rubytalk.org/t/newby-finds-mysterious-patch/674/1 "2002-07-15T13:24:34Z")

</div>

> hello all,
> 
> newby at unix. c, etc…  
> i got my hands on a patch which i am hoping will  
> fix up opengl to compile properly for os x.  
> it’s just i’m not sure what to do with it.
> 
> any ideas?

You should be able to go into Terminal, cd to the root directory of you  
source tree (actually cd to the directory where these  
files,extconf.rb,ogl.c,glu.c, and rbogl.c are located), and type ‘patch  
patchfile.diff’ where patchfile.diff is the name of your patch file.

Other than that, type ‘man patch’ and read about the patch program.

Hope this helps.

> **···**
>
> * * *
> 
> J o s e p h E r i c k s o n  
> P u z z l e S m i t h

---

<div class="post-metadata">

**Author:** ![Nobuyoshi\_Nakada](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@Nobuyoshi\_Nakada](https://rubytalk.org/u/Nobuyoshi_Nakada)\
**Post date:** [15 July 2002 13:51 UTC](https://rubytalk.org/t/newby-finds-mysterious-patch/674/2 "2002-07-15T13:51:28Z")

</div>

Hi,

> **···**
>
> At Mon, 15 Jul 2002 22:24:34 +0900, Joseph Erickson wrote:
> 
> > ‘patch patchfile.diff’ where patchfile.diff is the name of your patch  
> > file.
> 
> patch \< patchfile.diff
> 
> The patch reads patches from stdin.
> 
> –  
> Nobu Nakada

---

<div class="post-metadata">

**Author:** ![ccos1](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@ccos1](https://rubytalk.org/u/ccos1)\
**Post date:** [15 July 2002 14:10 UTC](https://rubytalk.org/t/newby-finds-mysterious-patch/674/3 "2002-07-15T14:10:22Z")

</div>

thanks all. got it working i think.  
what the patch was meant to fix, it didn’t, but that’s another saga.

> **···**
>
> On Monday, July 15, 2002, at 11:51 PM, [nobu.nokada@softhome.net](mailto:nobu.nokada@softhome.net) wrote:
> 
> > Hi,
> > 
> > At Mon, 15 Jul 2002 22:24:34 +0900, \> Joseph Erickson wrote:
> > 
> > > ‘patch patchfile.diff’ where patchfile.diff is the name of your patch  
> > > file.
> > 
> > patch \< patchfile.diff
> > 
> > The patch reads patches from stdin.
> > 
> > –  
> > Nobu Nakada
