File: 09-fix-hurd-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-- 514 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: Barry deFreese <bdefreese@debian.org>
Description: Patch to prevent a FTBFS on GNU/Hurd.

Index: agg-2.5+dfsg1/src/Makefile
===================================================================
--- agg-2.5+dfsg1.orig/src/Makefile	2012-06-04 23:05:40.000000000 +0000
+++ agg-2.5+dfsg1/src/Makefile	2012-06-04 23:08:30.000000000 +0000
@@ -3,6 +3,10 @@
 	PLATFORM=Linux
 endif
 
+ifeq (GNU,$(PLATFORM))
+	PLATFORM=Linux
+endif
+
 include ../Makefile.in.$(PLATFORM)
 
 CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./