shave fix: Patch gtk-doc.make if we don't have it yet
authorColin Walters <walters@verbum.org>
Mon, 23 Feb 2009 20:19:01 +0000 (15:19 -0500)
committerColin Walters <walters@verbum.org>
Mon, 23 Feb 2009 20:19:01 +0000 (15:19 -0500)
This fixes the build with gtk-doc enabled.

autogen.sh
gtk-doc-shave.patch [new file with mode: 0644]

index 1e8abe3..e267695 100755 (executable)
@@ -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 (file)
index 0000000..eb89252
--- /dev/null
@@ -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)