aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-10 01:11:05 +0800
committerarved <arved@FreeBSD.org>2007-08-10 01:11:05 +0800
commitcedc4473abe0e6ff904ed525596592444d6891d8 (patch)
tree9d1b03326a92c3155fb8c38d2f198fc9788fc803 /multimedia/vlc
parent7be081a70bceb55ffef6c4374cc547f26d693ee6 (diff)
downloadfreebsd-ports-gnome-cedc4473abe0e6ff904ed525596592444d6891d8.tar.gz
freebsd-ports-gnome-cedc4473abe0e6ff904ed525596592444d6891d8.tar.zst
freebsd-ports-gnome-cedc4473abe0e6ff904ed525596592444d6891d8.zip
Fix bulid on 64bit platforms
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/files/patch-include-vlc_threads_funcs.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/multimedia/vlc/files/patch-include-vlc_threads_funcs.h b/multimedia/vlc/files/patch-include-vlc_threads_funcs.h
new file mode 100644
index 000000000000..5e9b5286ea17
--- /dev/null
+++ b/multimedia/vlc/files/patch-include-vlc_threads_funcs.h
@@ -0,0 +1,38 @@
+--- include/vlc_threads_funcs.h.orig 2007-08-08 14:53:27.000000000 +0200
++++ include/vlc_threads_funcs.h 2007-08-08 14:55:58.000000000 +0200
+@@ -111,7 +111,7 @@
+ i_result = pthread_mutex_lock( &p_mutex->mutex );
+ if ( i_result )
+ {
+- i_thread = (int)pthread_self();
++ i_thread = (intptr_t)pthread_self();
+ psz_error = strerror(i_result);
+ }
+
+@@ -184,7 +184,7 @@
+ i_result = pthread_mutex_unlock( &p_mutex->mutex );
+ if ( i_result )
+ {
+- i_thread = (int)pthread_self();
++ i_thread = (intptr_t)pthread_self();
+ psz_error = strerror(i_result);
+ }
+
+@@ -322,7 +322,7 @@
+ i_result = pthread_cond_signal( &p_condvar->cond );
+ if ( i_result )
+ {
+- i_thread = (int)pthread_self();
++ i_thread = (intptr_t)pthread_self();
+ psz_error = strerror(i_result);
+ }
+
+@@ -512,7 +512,7 @@
+
+ if ( i_result )
+ {
+- i_thread = (int)pthread_self();
++ i_thread = (intptr_t)pthread_self();
+ psz_error = strerror(i_result);
+ }
+