Hello community,

here is the log from the commit of package neverball for openSUSE:Factory 
checked in at 2013-02-17 17:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/neverball (Old)
 and      /work/SRC/openSUSE:Factory/.neverball.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "neverball", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/neverball/neverball.changes      2012-08-04 
09:22:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.neverball.new/neverball.changes 2013-02-17 
17:08:08.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb 15 13:33:09 UTC 2013 - [email protected]
+
+- build also against libpng16
+  * libpng16.patch
+
+-------------------------------------------------------------------

New:
----
  neverball-libpng16.patch

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

Other differences:
------------------
++++++ neverball.spec ++++++
--- /var/tmp/diff_new_pack.L5axuy/_old  2013-02-17 17:08:10.000000000 +0100
+++ /var/tmp/diff_new_pack.L5axuy/_new  2013-02-17 17:08:10.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package neverball
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 BuildRequires:  xorg-x11-libX11-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Patch:          neverball-add-needed.patch 
+# following patch sent upstream: 
http://forum.nevercorner.net/viewtopic.php?id=2662
+Patch1:         neverball-libpng16.patch
 %define binary %{_prefix}/games/%{name}
 %define binary2        %{_prefix}/games/%{name2}
 %define datadir        %{_datadir}/games/%{name}
@@ -53,6 +55,7 @@
 %prep
 %setup -q
 %patch
+%patch1 -p1
 
 %build
 make %{?_smp_mflags} CC="gcc %{optflags} -fomit-frame-pointer" 
DATADIR=%{datadir} LOCALEDIR=%{_datadir}/locale

++++++ neverball-libpng16.patch ++++++
Index: neverball-1.5.4/share/base_image.c
===================================================================
--- neverball-1.5.4.orig/share/base_image.c
+++ neverball-1.5.4/share/base_image.c
@@ -15,6 +15,7 @@
 #include <png.h>
 #include <jpeglib.h>
 #include <stdlib.h>
+#include <string.h>
 #include <assert.h>
 
 #include "glext.h"
@@ -94,7 +95,7 @@ static void *image_load_png(const char *
         default: longjmp(png_jmpbuf(readp), -1);
         }
 
-        if (!(bytep = png_malloc(readp, h * png_sizeof(png_bytep))))
+        if (!(bytep = png_malloc(readp, h * sizeof(png_bytep))))
             longjmp(png_jmpbuf(readp), -1);
 
         /* Allocate the final pixel buffer and read pixels there. */
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to