Hello community,

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

Package is "libcss"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcss/libcss.changes    2014-05-28 
10:01:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcss.new/libcss.changes       2014-10-31 
20:13:25.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Oct 31 00:11:46 UTC 2014 - crrodrig...@opensuse.org
+
+- libcss-buildopts.patch: Do not define BSD_SOURCE but 
+  GNU_SOURCE (fioxes build fail in factory)
+- use -std=gnu99 instead of -std=c99.
+- Disable -Werror
+
+-------------------------------------------------------------------

New:
----
  libcss-buildopts.patch

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

Other differences:
------------------
++++++ libcss.spec ++++++
--- /var/tmp/diff_new_pack.Iz3E6v/_old  2014-10-31 20:13:26.000000000 +0100
+++ /var/tmp/diff_new_pack.Iz3E6v/_new  2014-10-31 20:13:26.000000000 +0100
@@ -32,6 +32,7 @@
 BuildRequires:  netsurf-buildsystem >= 1.1
 BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch:          libcss-buildopts.patch
 
 %description
 LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
@@ -63,6 +64,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 make %{?_smp_mflags} %{make_vars} %{build_vars}

++++++ libcss-buildopts.patch ++++++
--- libcss-0.3.0.orig/Makefile
+++ libcss-0.3.0/Makefile
@@ -18,13 +18,13 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-
 # BeOS/Haiku/AmigaOS4 standard library headers create warnings
 ifneq ($(TARGET),beos)
   ifneq ($(TARGET),amiga)
-    WARNFLAGS := $(WARNFLAGS) -Werror
+    WARNFLAGS := $(WARNFLAGS) 
   endif
 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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to