Package: literki
Version: 0.0.0+20100113.git1da40724-1
Tags: patch
Usertags: origin-ubuntu natty ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* debian/patches/05_fix_ftbfs_binutils-gold.diff:
- Fix FTBFS with binutils-gold / --no-add-needed.
We thought you might be interested in doing the same.
Description: FTBFS with binutils-gold and linking --no-add-needed. LIBS moved at the end of line and added missing library -lfreetype.
Author: Artur Rona <[email protected]>
--- literki-0.0.0+20100113.git1da40724.orig/Makefile
+++ literki-0.0.0+20100113.git1da40724/Makefile
@@ -1,6 +1,6 @@
PLIKI=display.o keymap.o keys.o keyboard.o applet.o launcher.o logger.o slider.o image_cache.o touchpad.o switcher.o vibrator.o
-LIBS=-lX11 -lXext -lXtst -lpthread -lXrandr -lpng -lfakekey
+LIBS=-lX11 -lXext -lXtst -lpthread -lXrandr -lpng -lfakekey -lfreetype
CXXCOMPILE=g++
@@ -11,7 +11,7 @@ LDFLAGS=-g `freetype-config --libs`
$(CXXCOMPILE) $(CFLAGS) -c $<
all: $(PLIKI)
- g++ $(LIBS) $(LDFLAGS) -o literki $(PLIKI)
+ g++ $(LDFLAGS) -o literki $(PLIKI) $(LIBS)
clean:
rm *.o