Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-23 20:19:01 (GMT)
committer Colin Walters <walters@verbum.org>2009-02-23 20:19:01 (GMT)
commit77c73ac5052dbf388a8e025b6014c759fbe2db5f (patch)
tree75b53a4bb859735dbd0753c59d1e20ff78a5b2b3
parent81c8b0af2fe9fe9731fe388d0a82813567e377ff (diff)
shave fix: Patch gtk-doc.make if we don't have it yet
This fixes the build with gtk-doc enabled.
-rwxr-xr-xautogen.sh1
-rw-r--r--gtk-doc-shave.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 1e8abe3..e267695 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -43,3 +43,4 @@ if test -z "$gnome_autogen" ; then
fi
GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . $gnome_autogen
+patch -N -f -p0 -i gtk-doc-shave.patch \ No newline at end of file
diff --git a/gtk-doc-shave.patch b/gtk-doc-shave.patch
new file mode 100644
index 0000000..eb89252
--- /dev/null
+++ b/gtk-doc-shave.patch
@@ -0,0 +1,13 @@
+--- gtk-doc.make 2009-02-23 15:07:24.000000000 -0500
++++ gtk-doc.make.patched 2009-02-23 15:07:21.000000000 -0500
+@@ -5,8 +5,8 @@
+ ####################################
+
+ if GTK_DOC_USE_LIBTOOL
+-GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
++GTKDOC_CC = $(LIBTOOL) --mode=compile --tag=cc $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++GTKDOC_LD = $(LIBTOOL) --mode=link --tag=cc $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
+ GTKDOC_RUN = $(LIBTOOL) --mode=execute
+ else
+ GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)