diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-08-01 16:13:32 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-08-01 16:13:32 +0000 |
commit | f78c1f4e276189c69fc3573c7c62bbcec5dbd3b0 (patch) | |
tree | ce14fb18e125b385739ab3087ee774f3508791e9 /audio/libopendaap/patches/patch-ad | |
parent | 4e4f6fbc7e0e7ad35861368c68b17a3bf40b95b1 (diff) | |
download | pkgsrc-f78c1f4e276189c69fc3573c7c62bbcec5dbd3b0.tar.gz |
Convert some C99-isms to C89 to make this build with gcc 2.95.
Diffstat (limited to 'audio/libopendaap/patches/patch-ad')
-rw-r--r-- | audio/libopendaap/patches/patch-ad | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/libopendaap/patches/patch-ad b/audio/libopendaap/patches/patch-ad new file mode 100644 index 00000000000..4b9de028f65 --- /dev/null +++ b/audio/libopendaap/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 2004/08/01 16:13:32 kristerw Exp $ + +--- threadpool.c.orig Sun Aug 1 18:07:35 2004 ++++ threadpool.c Sun Aug 1 18:07:55 2004 +@@ -264,9 +264,10 @@ + void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis, CP_TPfnJob pfnCallback, + void *arg1, void *arg2) + { ++ CP_STPJobQueue *pTPJQNewJob; + pthread_mutex_lock(&pTPThis->mtJobQueueMutex); + +- CP_STPJobQueue *pTPJQNewJob = malloc(sizeof(CP_STPJobQueue)); ++ pTPJQNewJob = malloc(sizeof(CP_STPJobQueue)); + + pTPJQNewJob->fnJobCallback = pfnCallback; + pTPJQNewJob->arg1 = arg1; |