After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 372507 - Mac build fixes
Mac build fixes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Mac OS
: Normal normal
: 0.10.11
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-08 15:40 UTC by Jan David Mol
Modified: 2006-11-14 11:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch which produces a clean compile. (8.61 KB, patch)
2006-11-08 15:42 UTC, Jan David Mol
committed Details | Review

Description Jan David Mol 2006-11-08 15:40:24 UTC
Building on Mac OS/X 10.4 PPC fails due to printf-ing gsize, size_t and ssize_t fields with %d.

I'll attach a patch, which will inherently also show the files and linenumbers involved.
Comment 1 Jan David Mol 2006-11-08 15:42:53 UTC
Created attachment 76209 [details] [review]
A patch which produces a clean compile.

Even though some fields are size_t and ssize_t and not gsize, the patch still uses G_GSIZE_FORMAT and G_GSSIZE_FORMAT to print them.
Comment 2 Wim Taymans 2006-11-14 11:54:34 UTC
Thanks!

        Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl>

        * gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds),
        (gst_riff_parse_strf_iavs):
        * gst/subparse/gstsubparse.c: (convert_encoding):
        * gst/tcp/gstmultifdsink.c:
        (gst_multi_fd_sink_handle_client_write):
        * gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read),
        (gst_tcp_read_buffer), (gst_tcp_gdp_read_caps),
        (gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
        * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render):
        * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
        (gst_ximagesink_ximage_new):
        * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
        Various gsize and gssize printf fixes. Fixes #372507.