From 617afccea4564f7dd8a606f9841a9910dfb066ec Mon Sep 17 00:00:00 2001
From: Simon Chopin <chopin.simon@gmail.com>
Date: Thu, 8 Oct 2015 09:02:47 -0700
Subject: Look for the default xterm256.so instead of building one's own

Forwarded: not-needed
Last-Update: 2013-04-24
Patch-Name: build_xterm256_ext
---
 fabulous/xterm256.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fabulous/xterm256.py b/fabulous/xterm256.py
index 8561043..cc2d188 100644
--- a/fabulous/xterm256.py
+++ b/fabulous/xterm256.py
@@ -97,14 +97,13 @@ def compile_speedup():
     You need:
 
     - Python >= 2.5 for ctypes library
-    - gcc (``sudo apt-get install gcc``)
 
     """
     import os
     import ctypes
     from os.path import join, dirname, getmtime, exists, expanduser
     # library = join(dirname(__file__), '_xterm256.so')
-    library = expanduser('~/.xterm256.so')
+    library = '/usr/lib/fabulous/xtermspeedup.so'
     sauce = join(dirname(__file__), '_xterm256.c')
     if not exists(library) or getmtime(sauce) > getmtime(library):
         build = "gcc -fPIC -shared -o %s %s" % (library, sauce)
