File: 05_fix_ftbfs_binutils-gold.patch

package info (click to toggle)
literki 0.0.0%2B20100113.git1da40724-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 3,444 kB
  • ctags: 1,153
  • sloc: cpp: 5,263; makefile: 72
file content (25 lines) | stat: -rw-r--r-- 889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
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 <ari-tczew@ubuntu.com>

--- 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