From: Jan Rękorajski Date: Tue, 4 Apr 2017 18:14:11 +0000 (+0200) Subject: - fix building with recent glib2 X-Git-Tag: auto/th/getstream-2.0.20100616-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgetstream.git;a=commitdiff_plain;h=6237d01d6841a9188180e933819d66dfa95a38ef - fix building with recent glib2 - rel 3 --- diff --git a/getstream.spec b/getstream.spec index c18b7d5..b2bb037 100644 --- a/getstream.spec +++ b/getstream.spec @@ -2,11 +2,12 @@ Summary: DVB streaming into individual multicast groups Name: getstream Version: 2.0.%{snap} -Release: 2 +Release: 3 License: GPL v2 Group: Applications/Networking Source0: http://silicon-verl.de/home/flo/projects/streaming/download/%{name}2-%{snap}.tgz # Source0-md5: 5a3956f77902291cad09d15e5896d99f +Patch0: glib2.patch URL: http://silicon-verl.de/home/flo/projects/streaming/ BuildRequires: glib2-devel BuildRequires: libevent-devel @@ -25,6 +26,7 @@ budget card. It's features are: %prep %setup -q -n %{name}2-%{snap} +%patch0 -p1 %build %{__make} \ diff --git a/glib2.patch b/glib2.patch new file mode 100644 index 0000000..afed314 --- /dev/null +++ b/glib2.patch @@ -0,0 +1,116 @@ +diff -ur getstream2-20100616/config.c getstream2-20100616-glib/config.c +--- getstream2-20100616/config.c 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/config.c 2017-04-04 20:12:50.306602973 +0200 +@@ -10,7 +10,7 @@ + #include + #include + +-#include ++#include + + #include "config.h" + #include "libconf.h" +Only in getstream2-20100616-glib: config.c~ +diff -ur getstream2-20100616/config.h getstream2-20100616-glib/config.h +--- getstream2-20100616/config.h 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/config.h 2017-04-04 20:12:31.829710464 +0200 +@@ -1,5 +1,5 @@ + +-#include ++#include + + #include "getstream.h" + +Only in getstream2-20100616-glib: config.h~ +Only in getstream2-20100616-glib: config.o +Only in getstream2-20100616-glib: crc32.o +Only in getstream2-20100616-glib: dmx.o +Only in getstream2-20100616-glib: dvr.o +Only in getstream2-20100616-glib: fe.o +Only in getstream2-20100616-glib: getstream +diff -ur getstream2-20100616/getstream.h getstream2-20100616-glib/getstream.h +--- getstream2-20100616/getstream.h 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/getstream.h 2017-04-04 20:11:04.915315383 +0200 +@@ -10,7 +10,7 @@ + #include + + #include +-#include ++#include + + #include "sap.h" + #include "psi.h" +Only in getstream2-20100616-glib: getstream.h~ +Only in getstream2-20100616-glib: getstream.o +Only in getstream2-20100616-glib: input.o +Only in getstream2-20100616-glib: libconf.o +diff -ur getstream2-20100616/libhttp.c getstream2-20100616-glib/libhttp.c +--- getstream2-20100616/libhttp.c 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/libhttp.c 2017-04-04 20:13:00.096722656 +0200 +@@ -13,7 +13,7 @@ + #include + #include + +-#include ++#include + + #include "libhttp.h" + +Only in getstream2-20100616-glib: libhttp.c~ +diff -ur getstream2-20100616/libhttp.h getstream2-20100616-glib/libhttp.h +--- getstream2-20100616/libhttp.h 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/libhttp.h 2017-04-04 20:12:13.836157236 +0200 +@@ -7,8 +7,7 @@ + #include + #include + +-#include +-#include ++#include + + + #define MAX_HEADER_SIZE 3000 +Only in getstream2-20100616-glib: libhttp.h~ +Only in getstream2-20100616-glib: libhttp.o +Only in getstream2-20100616-glib: logging.o +diff -ur getstream2-20100616/output.h getstream2-20100616-glib/output.h +--- getstream2-20100616/output.h 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/output.h 2017-04-04 20:13:14.073560207 +0200 +@@ -4,7 +4,7 @@ + #include "getstream.h" + #include "libhttp.h" + +-#include ++#include + + #include + +Only in getstream2-20100616-glib: output.h~ +diff -ur getstream2-20100616/output_http.c getstream2-20100616-glib/output_http.c +--- getstream2-20100616/output_http.c 2010-06-16 14:14:08.000000000 +0200 ++++ getstream2-20100616-glib/output_http.c 2017-04-04 20:13:09.443503596 +0200 +@@ -5,7 +5,7 @@ + #include + #include + +-#include ++#include + + #include "output.h" + #include "simplebuffer.h" +Only in getstream2-20100616-glib: output_http.c~ +Only in getstream2-20100616-glib: output_http.o +Only in getstream2-20100616-glib: output.o +Only in getstream2-20100616-glib: output_pipe.o +Only in getstream2-20100616-glib: output_rtp.o +Only in getstream2-20100616-glib: output_udp.o +Only in getstream2-20100616-glib: pat.o +Only in getstream2-20100616-glib: pmt.o +Only in getstream2-20100616-glib: psi.o +Only in getstream2-20100616-glib: sap.o +Only in getstream2-20100616-glib: simplebuffer.o +Only in getstream2-20100616-glib: socket.o +Only in getstream2-20100616-glib: stream.o +Only in getstream2-20100616-glib: tsdecode +Only in getstream2-20100616-glib: tsdecode.o +Only in getstream2-20100616-glib: util.o