--- /dev/null
+--- libhubbub-0.3.0/Makefile~ 2014-04-18 11:49:06.000000000 +0200
++++ libhubbub-0.3.0/Makefile 2014-10-09 08:56:59.008078863 +0200
+@@ -15,12 +15,6 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -pedantic
+-# BeOS/Haiku/AmigaOS have standard library errors that issue warnings.
+-ifneq ($(TARGET),beos)
+- ifneq ($(TARGET),amiga)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+- endif
+-endif
+ CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)
Summary(pl.UTF-8): Biblioteka analizująca HTML5
Name: libhubbub
Version: 0.3.0
-Release: 1
+Release: 2
License: MIT
Group: Libraries
Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
# Source0-md5: 9baf3f765e25336ab1b64da8968270f7
+Patch0: %{name}-build.patch
URL: http://www.netsurf-browser.org/projects/libhubbub/
BuildRequires: libparserutils-devel >= 0.2.0
BuildRequires: netsurf-buildsystem >= 1.1
%prep
%setup -q
+%patch0 -p1
%build
export CC="%{__cc}"
-export CFLAGS="%{rpmcflags}"
+export CFLAGS="%{rpmcflags} %{rpmcppflags}"
export LDFLAGS="%{rpmldflags}"
%{__make} \