Where can I find a link to this patch I need to look at to get an idea on a kmplayer patch:
http://packages.debian.org/changelogs/pool/main/g/gopchop/current/changelog
I need a link to:
gopchop (1.1.8-5) unstable; urgency=low
* Add patch to support build with gcc 4.7 (Closes: #667188) * Bump Standards-Version to 3.9.3 (no changes).
-- tony mancill tmancill@debian.org Thu, 05 Apr 2012 04:44:31 +0000
I keep going in circles in the debian package pages. Before contacting the maintainer, I thought I would ask our debian users where to look for it...
On 04/20/2012 03:39 PM, David C. Rankin wrote:
Where can I find a link to this patch I need to look at to get an idea on a kmplayer patch:
http://packages.debian.org/changelogs/pool/main/g/gopchop/current/changelog
I need a link to:
gopchop (1.1.8-5) unstable; urgency=low
* Add patch to support build with gcc 4.7 (Closes: #667188) * Bump Standards-Version to 3.9.3 (no changes).
-- tony mancilltmancill@debian.org Thu, 05 Apr 2012 04:44:31 +0000
I keep going in circles in the debian package pages. Before contacting the maintainer, I thought I would ask our debian users where to look for it...
for example:
http://packages.debian.org/source/wheezy/gopchop
scroll down to the downloads section: gopchop_1.1.8-5.debian.tar.gz
that tar.gz includes everything needed to make the package, including the patches, just like you would have with a pkgbuild's .src.gz on arch :-)
On 04/20/2012 02:43 PM, Calvin Morrison wrote:
for example:
http://packages.debian.org/source/wheezy/gopchop
scroll down to the downloads section: gopchop_1.1.8-5.debian.tar.gz
that tar.gz includes everything needed to make the package, including the patches, just like you would have with a pkgbuild's .src.gz on arch :-)
Thanks Calvin,
I saw that, but I kept looking for a link to 'something.diff' No wonder I didn't find it. Hey I need your help with a union question. I have fixed xineplayer.cpp in mplayer and I'm now stuck on gstplayer.cpp. The issue is:
XClientMessageEvent ev = { ClientMessage, 0, true, display, wid, XInternAtom (display, "XVIDEO", false), 8, {b: "quit_now"} };
gcc47 is choking on the {b: "quit_now"} assignment to 'b' in the XClientMessageEvent data union. How do I fix this??
+ XInternAtom (display, "XVIDEO", false), 8, {data.b="quit_now"}
or do I have to use some strncpy to get "quit_now" into the union?
On 04/20/2012 02:43 PM, Calvin Morrison wrote:
for example:
http://packages.debian.org/source/wheezy/gopchop
scroll down to the downloads section: gopchop_1.1.8-5.debian.tar.gz
that tar.gz includes everything needed to make the package, including the patches, just like you would have with a pkgbuild's .src.gz on arch :-)
Thanks Calvin,
I saw that, but I kept looking for a link to 'something.diff' No wonder I didn't find it. Hey I need your help with a union question. I have fixed xineplayer.cpp in mplayer and I'm now stuck on gstplayer.cpp. The issue is:
XClientMessageEvent ev = { ClientMessage, 0, true, display, wid, XInternAtom (display, "XVIDEO", false), 8, {b: "quit_now"} };
gcc47 is choking on the {b: "quit_now"} assignment to 'b' in the XClientMessageEvent data union.
gstplayer.cpp: In function 'int main(int, char**)': gstplayer.cpp:1009:5: error: C99 designator 'b' outside aggregate initializer
How do I fix this??
+ XInternAtom (display, "XVIDEO", false), 8, {data.b="quit_now"}
or do I have to use some strncpy to get "quit_now" into the union?
On 04/20/2012 03:31 PM, David C. Rankin wrote:
On 04/20/2012 02:43 PM, Calvin Morrison wrote:
for example:
http://packages.debian.org/source/wheezy/gopchop
scroll down to the downloads section: gopchop_1.1.8-5.debian.tar.gz
that tar.gz includes everything needed to make the package, including the patches, just like you would have with a pkgbuild's .src.gz on arch :-)
Thanks Calvin,
I saw that, but I kept looking for a link to 'something.diff' No wonder I didn't find it. Hey I need your help with a union question. I have fixed xineplayer.cpp in mplayer and I'm now stuck on gstplayer.cpp. The issue is:
XClientMessageEvent ev = { ClientMessage, 0, true, display, wid, XInternAtom (display, "XVIDEO", false), 8, {b: "quit_now"} };
gcc47 is choking on the {b: "quit_now"} assignment to 'b' in the XClientMessageEvent data union.
gstplayer.cpp: In function 'int main(int, char**)': gstplayer.cpp:1009:5: error: C99 designator 'b' outside aggregate initializer
How do I fix this??
XInternAtom (display, "XVIDEO", false), 8, {data.b="quit_now"}
or do I have to use some strncpy to get "quit_now" into the union?
I have successfully built kmplayer on gcc47 and the current xine-lib and xine-ui. I need somebody to specifically review the XClientMessageEvent data union string assignment of "quit_now". man XClientMessageEvent defines:
<snip> union { char b[20]; short s[10]; long l[5]; } data;
I decided to just let the compiler handle assigning the data to the proper 'b' 's' 'l' members of the union by simply setting '{"quit_now"}' since there is only one character type 'b'. I do NOT know if this is right. I've searched for examples, but have not come up with a clear one. kmplayer now builds with:
CFLAGS="${CFLAGS} -fpermissive" \ CXXFLAGS="${CXXFLAGS} -fpermissive" \ LDFLAGS="${LDFLAGS} -lX11" \ ./configure --prefix=${TDEDIR} \ --with-qt-dir=${QTDIR} \ --with-extra-includes=${TDEDIR}/include/dbus-1.0 \ --localstatedir=/var \ --enable-debug=full
Patch attached: