diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-11-02 18:28:27 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-11-02 18:28:27 +0000 |
commit | 87583dd3549699680a68404ce7bb97b1bdcf6f39 (patch) | |
tree | a71c67c9ba0aef9d1903b5551f18124b1960370c /media-video/avidemux/files | |
parent | adding cc2 fix (diff) | |
download | gentoo-2-87583dd3549699680a68404ce7bb97b1bdcf6f39.tar.gz gentoo-2-87583dd3549699680a68404ce7bb97b1bdcf6f39.tar.bz2 gentoo-2-87583dd3549699680a68404ce7bb97b1bdcf6f39.zip |
adding cc2 fix
Diffstat (limited to 'media-video/avidemux/files')
-rw-r--r-- | media-video/avidemux/files/gcc2.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-video/avidemux/files/gcc2.patch b/media-video/avidemux/files/gcc2.patch new file mode 100644 index 000000000000..ca14dead659b --- /dev/null +++ b/media-video/avidemux/files/gcc2.patch @@ -0,0 +1,35 @@ +? gcc2.patch +? synchrolib.lo +? xx.c +Index: synchrolib.cc +=================================================================== +RCS file: +/cvsroot/avidemux2/avidemux2/avidemux2/avidemux/mpeg2enc/synchrolib.cc,v +retrieving revision 1.1.1.1 +diff -u -r1.1.1.1 synchrolib.cc +--- synchrolib.cc 16 Sep 2003 18:02:26 -0000 1.1.1.1 ++++ synchrolib.cc 2 Nov 2003 17:49:00 -0000 +@@ -34,7 +34,7 @@ + * Synchronisation primitives + * + ********/ +- ++#if 0 + void sync_guard_init( sync_guard_t *guard, int init ) + { + #ifdef __linux__ +@@ -111,3 +111,12 @@ + pthread_cond_broadcast( &sema->raised ); + pthread_mutex_unlock( &sema->mutex ); + } ++#else ++void mp_semaphore_wait( mp_semaphore_t *sema) {} ++void mp_semaphore_signal( mp_semaphore_t *sema, int count ) {} ++void mp_semaphore_set( mp_semaphore_t *sema ) {} ++void mp_semaphore_init( mp_semaphore_t *sema, int init_count ) {} ++void sync_guard_init( sync_guard_t *guard, int init ) {} ++void sync_guard_test( sync_guard_t *guard) {} ++void sync_guard_update( sync_guard_t *guard, int predicate ) {} ++#endif + + |