* updated korganizer (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / graphic / agg / automake-fix.patch
blob04186a606bb26344465e44e9d83a203f45a8c304
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../agg/automake-fix.patch
5 # Copyright (C) 2014 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Index: Makefile.am
18 ===================================================================
19 --- ./Makefile.am.orig
20 +++ ./Makefile.am
21 @@ -1,4 +1,4 @@
22 -SUBDIRS = gpc src font_freetype font_win32_tt include examples
23 +SUBDIRS = src font_freetype font_win32_tt include examples
25 pkgconfigdir = $(libdir)/pkgconfig
26 pkgconfig_DATA = libagg.pc
27 @@ -19,3 +19,4 @@ EXTRA_DIST = Makefile.AmigaOS \
28 # M4 macro file for inclusion with autoconf
29 m4datadir = $(datadir)/aclocal
30 m4data_DATA = libagg.m4
32 Index: configure.in
33 ===================================================================
34 --- ./configure.in.orig
35 +++ ./configure.in
36 @@ -1,14 +1,14 @@
37 -AC_INIT(src/agg_arc.cpp) # give me a source file, any source file...
38 +AC_INIT([agg], [2.5.0])
39 +AC_CONFIG_SRCDIR([src/agg_arc.cpp]) # give me a source file, any source file...
40 AC_CANONICAL_TARGET
41 AC_CONFIG_HEADERS(include/config.h)
42 -AM_INIT_AUTOMAKE(agg, 2.5.0)
43 +AM_INIT_AUTOMAKE([foreign])
46 dnl Checks for programs.
47 AC_PROG_CC
48 AC_PROG_CXX
49 AC_ISC_POSIX
50 -AM_C_PROTOTYPES
51 if test "x$U" != "x"; then
52 AC_MSG_ERROR(Compiler not ANSI compliant)
54 @@ -144,7 +144,6 @@ AC_SUBST(PREFERED_PLATFORM)
55 AC_OUTPUT(
56 Makefile
57 libagg.pc
58 - gpc/Makefile
59 font_freetype/Makefile
60 font_win32_tt/Makefile
61 src/Makefile