summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerm@gentoo.org>2005-06-14 10:52:38 +0000
committerZaheer Abbas Merali <zaheerm@gentoo.org>2005-06-14 10:52:38 +0000
commit1088c6ccb1cdd10b7174fc2a49fa796b16575a53 (patch)
treef2697aa8be14b99f558aa00c3a25000c610e77df /media-plugins/gst-plugins-pitfdll/files
parentStable on alpha (diff)
downloadgentoo-2-1088c6ccb1cdd10b7174fc2a49fa796b16575a53.tar.gz
gentoo-2-1088c6ccb1cdd10b7174fc2a49fa796b16575a53.tar.bz2
gentoo-2-1088c6ccb1cdd10b7174fc2a49fa796b16575a53.zip
gcc4 fix (bug #92712)
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-plugins/gst-plugins-pitfdll/files')
-rw-r--r--media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll-0.8.1-gcc4.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll-0.8.1-gcc4.patch b/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll-0.8.1-gcc4.patch
new file mode 100644
index 000000000000..e8e95bc87a64
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll-0.8.1-gcc4.patch
@@ -0,0 +1,22 @@
+--- ext.c 2005-04-23 16:44:21.000000000 +0200
++++ ext-new.c 2005-04-24 16:34:07.000000000 +0200
+@@ -469,7 +469,7 @@
+
+ if (type&MEM_RESERVE && (unsigned)address&0xffff) {
+ size += (unsigned)address&0xffff;
+- (unsigned)address &= ~0xffff;
++ address = (LPVOID)((unsigned)address & ~0xffff);
+ }
+ pgsz = sysconf(_SC_PAGESIZE);
+ if (type&MEM_COMMIT && (unsigned)address%pgsz) {
+--- win32.c 2005-04-23 16:44:29.000000000 +0200
++++ win32-new.c 2005-04-24 16:34:07.000000000 +0200
+@@ -2623,7 +2623,7 @@
+ dbgprintf("GetWindowThreadProcessId(0x%x, 0x%x) => %d\n",
+ win, pid_data, tid);
+ if (pid_data)
+- (int)*pid_data = tid;
++ *pid_data = tid;
+ return tid;
+ }
+