File: 08-fix-kfreebsd-ftbfs.patch

package info (click to toggle)
agg 1%3A2.7.0.r145%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,300 kB
  • sloc: cpp: 70,849; ansic: 13,038; makefile: 3,690; sh: 26
file content (18 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andrea Veri <and@debian.org>
Description: Patch to prevent a FTBFS on kfreebsd-*

Index: agg-2.5+dfsg1/src/Makefile
===================================================================
--- agg-2.5+dfsg1.orig/src/Makefile	2007-10-11 00:06:16.000000000 +0200
+++ agg-2.5+dfsg1/src/Makefile	2012-05-01 21:30:08.492401874 +0200
@@ -1,4 +1,9 @@
-include ../Makefile.in.$(shell uname)
+PLATFORM=$(shell uname)
+ifeq (GNU/kFreeBSD,$(PLATFORM))
+	PLATFORM=Linux
+endif
+
+include ../Makefile.in.$(PLATFORM)
 
 CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./