fix build

This commit is contained in:
Matthias Clasen 2011-01-09 20:57:03 -05:00
parent 4452f9ed92
commit 370ec9bbbc
2 changed files with 14 additions and 0 deletions

10
devhelp-platcheck.patch Normal file
View File

@ -0,0 +1,10 @@
diff -up devhelp-2.91.4/acinclude.m4.platcheck devhelp-2.91.4/acinclude.m4
--- devhelp-2.91.4/acinclude.m4.platcheck 2011-01-09 20:52:58.824902368 -0500
+++ devhelp-2.91.4/acinclude.m4 2011-01-09 20:53:34.885902038 -0500
@@ -1,5 +1,5 @@
AC_DEFUN([IGE_PLATFORM_CHECK],[
- gdk_target=`$PKG_CONFIG --variable=target gtk+-3.0`
+ gdk_target=`$PKG_CONFIG --variable=targets gtk+-3.0`
if test "x$gdk_target" = "xquartz"; then
AC_MSG_CHECKING([checking for Mac OS X support])

View File

@ -15,6 +15,9 @@ URL: http://developer.imendio.com/projects/devhelp
#VCS: git:git://git.gnome.org/devhelp
Source: http://download.gnome.org/sources/devhelp/2.91/devhelp-%{version}.tar.bz2
# https://bugzilla.gnome.org/show_bug.cgi?id=638748
Patch0: devhelp-platcheck.patch
### Dependencies ###
Requires(pre): GConf2 >= 2.14
@ -53,6 +56,7 @@ into other applications such as IDEs.
%prep
%setup -q -n devhelp-%{version}
%patch0 -p1 -b .platcheck
# force regeneration
rm data/devhelp.schemas