-
Notifications
You must be signed in to change notification settings - Fork 0
/
agg-1-fixes.patch
44 lines (36 loc) · 1.63 KB
/
agg-1-fixes.patch
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <[email protected]>
Date: Tue, 12 Jun 2012 17:05:49 +0200
Subject: [PATCH 1/2] automake 1.12 compatibility fix
diff --git a/configure.in b/configure.in
index 1111111..2222222 100644
--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,6 @@ dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_ISC_POSIX
-AM_C_PROTOTYPES
if test "x$U" != "x"; then
AC_MSG_ERROR(Compiler not ANSI compliant)
fi
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Norbert Nemec <[email protected]>
Date: Thu, 27 Mar 2014 21:22:56 +0100
Subject: [PATCH 2/2] comment out non-const accessor to const member
taken from:
https://github.com/NNemec/antigrain/commit/24d4ee2c82aa13bc2cad0e5a0637d584a0982294
diff --git a/include/agg_renderer_outline_aa.h b/include/agg_renderer_outline_aa.h
index 1111111..2222222 100644
--- a/include/agg_renderer_outline_aa.h
+++ b/include/agg_renderer_outline_aa.h
@@ -1375,7 +1375,7 @@ namespace agg
//---------------------------------------------------------------------
void profile(const line_profile_aa& prof) { m_profile = &prof; }
const line_profile_aa& profile() const { return *m_profile; }
- line_profile_aa& profile() { return *m_profile; }
+// line_profile_aa& profile() { return *m_profile; }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }