LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2003, 11:26 PM   #1
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Applying a code patch to XFree without a complete rebuild?


Is this possible?

There is a bug in the release of XFree 4.3.0, where underlines don't show up for TrueType fonts, in Mozilla browsers. There was a bug report filed, click here to read it. The problem was fixed, and a code patch attached to the bug report.

Now, I downloaded the entire source for XFree 4.3.0, but it seems kinda excessive to rebuild X completely when all that is changing is one source code file, xc/lib/font/FreeType/ftfuncs.c. Is there a way to just rebuild the files affected by this source code file? If so, I could do that and just replace these files manually.
 
Old 07-23-2003, 01:24 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Well Locura, there's a way to everything... but in this case, if you're not a programmer or someone who can understand any given C/C++ structure just by looking at the code, then there's not much you can do except recompile everything.
 
Old 07-23-2003, 01:44 AM   #3
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
Well I'm pretty good at coding, I just don't wanna spend all that time looking through and building manually. Just was hoping there was some command argument for make that I could use to do that.

So, what directories/config files should I back up before I install the new version of XFree?
 
Old 07-23-2003, 06:21 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Well...

Code:
mothugz@slackbox:/usr$ whereis X11
X11: /usr/bin/X11 /etc/X11 /usr/lib/X11 /usr/include/X11
Some of those are symlinks to X11R6 on my system, should be similar to yours so please be careful when tarring.
 
Old 07-25-2003, 06:20 PM   #5
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
I compiled the other day, but I had so much to do with work that I didn't have time to install until this afternoon.

I did a ton of searching, and came up with the following directories, which I tarred and then deleted:

/var/X11R6
/etc/X11
/usr/X11R6


Then I installed, and voila! Works like a charm, though I am a little overwhelmed by all the underlines that I haven't been seeing due to the aforementioned bug that caused me to recompile, haha. The only thing that I don't seem to have now, is xscreensaver. I'm guessing it was in /usr/X11R6/bin or something.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
applying patch? alaios Linux - General 1 11-29-2004 10:41 AM
applying a patch darthczyz Linux - Newbie 2 05-07-2004 08:44 AM
Applying XFree patch jspaceman Slackware 2 02-12-2004 05:10 PM
Applying patch to source code dax_neoburn Linux - Software 2 10-02-2003 08:38 PM
Applying driver patch ... suriyamohan Linux - Software 20 05-08-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration