1. 16 Apr, 2014 8 commits
    • Jean-Paul Saman's avatar
    • Michael Ira Krufky's avatar
      dvbinfo: fix error: 'daemon' is deprecated: first deprecated in OS X 10.5... · 38ef9154
      Michael Ira Krufky authored
      dvbinfo: fix error: 'daemon' is deprecated: first deprecated in OS X 10.5 [-Werror,-Wdeprecated-declarations]
      
      I'm not sure if you will want to apply this patch, but I thought I
      should share it and let you decide.  I need it in order to build
      libdvbpsi on OSX Mavericks, but I don't actually use the dvbinfo
      program.
      
      Fix the following build error when building under OSX:
      
      gcc -DHAVE_CONFIG_H -I. -I../..  -D_FILE_OFFSET_BITS=64 -DDVBPSI_DIST   -g -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -DDVBPSI_DIST -MT dvbinfo-dvbinfo.o -MD -MP -MF .deps/dvbinfo-dvbinfo.Tpo -c -o dvbinfo-dvbinfo.o `test -f 'dvbinfo.c' || echo './'`dvbinfo.c
      dvbinfo.c:656:13: error: 'daemon' is deprecated: first deprecated in OS X 10.5 [-Werror,-Wdeprecated-declarations]
              if (daemon(1,0) < 0)
                  ^
      /usr/include/stdlib.h:267:6: note: 'daemon' declared here
      int      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0);
               ^
      1 error generated.
      make[3]: *** [dvbinfo-dvbinfo.o] Error 1
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
      Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
      38ef9154
    • Michael Ira Krufky's avatar
      dvbpsi.h: update DVBPSI_VERSION & DVBPSI_VERSION_INT · a2b39ffb
      Michael Ira Krufky authored
      I've noticed from commit f93983a7 &
      the NEWS file that libdvbpsi is on version 1.2.0 now, but in the header
      file dvbpsi.h, DVBPSI_VERSION still says 1.1.2 and DVBPSI_VERSION_INT
      still says 1.1.1 ...
      Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
      Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
      a2b39ffb
    • Michael Ira Krufky's avatar
      dvbinfo: OSX Maverick build fix. · 934633f3
      Michael Ira Krufky authored
      Fix error: unknown type name 'ssize_t'; did you mean 'size_t' when building on
      OSX Maverick.
      Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
      934633f3
    • Jean-Paul Saman's avatar
      3e9f7235
    • Michael Ira Krufky's avatar
    • Michael Ira Krufky's avatar
      check_cc_pid: fix error: format specifies type 'long' but the argument has... · 7f3b0217
      Michael Ira Krufky authored
      check_cc_pid: fix error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
      
      gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -DDVBPSI_DIST -MT check_cc_pid-check_cc_pid.o -MD -MP -MF .deps/check_cc_pid-check_cc_pid.Tpo -c -o check_cc_pid-check_cc_pid.o `test -f 'check_cc_pid.c' || echo './'`check_cc_pid.c
      check_cc_pid.c:69:20: error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
                         n, pid, pid, cc,
                         ^
      1 error generated.
      make[3]: *** [check_cc_pid-check_cc_pid.o] Error 1
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
      7f3b0217
    • Michael Ira Krufky's avatar
      dump_pids: fix error: format specifies type 'long' but the argument has type... · 7bafc5c7
      Michael Ira Krufky authored
      dump_pids: fix error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
      
      gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -DDVBPSI_DIST -MT dump_pids-dump_pids.o -MD -MP -MF .deps/dump_pids-dump_pids.Tpo -c -o dump_pids-dump_pids.o `test -f 'dump_pids.c' || echo './'`dump_pids.c
      dump_pids.c:56:54: error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
              printf("packet %ld, pid %u (0x%x), cc %d\n", n, pid, pid, cc );
                             ~~~                           ^
                             %lld
      1 error generated.
      make[3]: *** [dump_pids-dump_pids.o] Error 1
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
      7bafc5c7
  2. 15 Apr, 2014 4 commits
  3. 11 Apr, 2014 23 commits
  4. 07 Apr, 2014 2 commits
  5. 18 Mar, 2014 3 commits