Hello community,

here is the log from the commit of package libparserutils for openSUSE:Factory 
checked in at 2014-10-31 18:27:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libparserutils (Old)
 and      /work/SRC/openSUSE:Factory/.libparserutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libparserutils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libparserutils/libparserutils.changes    
2014-05-28 10:01:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libparserutils.new/libparserutils.changes       
2014-10-31 20:14:28.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Oct 31 01:28:50 UTC 2014 - [email protected]
+
+- libparserutils-optflags.patch Do not use Werror and do 
+  not define _BSD_SOURCE but GNU_SOURCE. (fix factory build)
+- use std=gnu99 instead of strict c99.
+- Doxygen should not generate timestamped html docs.
+
+-------------------------------------------------------------------

New:
----
  libparserutils-optflags.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libparserutils.spec ++++++
--- /var/tmp/diff_new_pack.7sv8x9/_old  2014-10-31 20:14:29.000000000 +0100
+++ /var/tmp/diff_new_pack.7sv8x9/_new  2014-10-31 20:14:29.000000000 +0100
@@ -29,6 +29,7 @@
 BuildRequires:  netsurf-buildsystem >= 1.1
 BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch:          libparserutils-optflags.patch
 
 %description
 LibParserUtils is a library for building efficient parsers, written in
@@ -84,8 +85,10 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
+echo 'HTML_TIMESTAMP=NO' >> build/Doxyfile
 make %{?_smp_mflags} %{make_vars} %{build_vars}
 make %{?_smp_mflags} docs %{make_vars}
 

++++++ libparserutils-optflags.patch ++++++
--- libparserutils-0.2.0.orig/Makefile
+++ libparserutils-0.2.0/Makefile
@@ -17,13 +17,13 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-
        -Wmissing-declarations -Wnested-externs -pedantic
 # BeOS/Haiku standard library headers create warnings.
 ifneq ($(TARGET),beos)
-  WARNFLAGS := $(WARNFLAGS) -Werror
+  WARNFLAGS := $(WARNFLAGS)
 endif
 
-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+CFLAGS := -D_GNU_SOURCE -I$(CURDIR)/include/ \
        -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
 ifneq ($(GCCVER),2)
-  CFLAGS := $(CFLAGS) -std=c99
+  CFLAGS := $(CFLAGS) -std=gnu99
 else
   # __inline__ is a GCCism
   CFLAGS := $(CFLAGS) -Dinline="__inline__"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to