Summary(pl.UTF-8): Implementacja W3C DOM
Name: libdom
Version: 0.1.0
-Release: 1
+Release: 2
License: MIT
Group: Libraries
Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
# Source0-md5: 055878cf633a935031517e2e209062f6
+Patch0: no-Werror.patch
URL: http://www.netsurf-browser.org/projects/libdom/
BuildRequires: expat-devel >= 1.95
BuildRequires: libhubbub-devel >= 0.3.0
%prep
%setup -q
+%patch0 -p1
%build
export CC="%{__cc}"
--- /dev/null
+--- libdom-0.1.0/Makefile~ 2014-04-18 11:54:12.000000000 +0200
++++ libdom-0.1.0/Makefile 2014-11-25 19:27:52.875672019 +0100
+@@ -15,10 +15,6 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs
+-# BeOS/Haiku standard library headers generate warnings
+-ifneq ($(TARGET),beos)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+ # AmigaOS needs this to avoid warnings
+ ifeq ($(TARGET),amiga)
+ CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)