* [gentoo-commits] gentoo-x86 commit in net-misc/htun/files: htun-0.9.5-glibc.patch
@ 2009-01-14 3:47 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-01-14 3:47 UTC (permalink / raw
To: gentoo-commits
vapier 09/01/14 03:47:50
Added: htun-0.9.5-glibc.patch
Log:
Fix building with newer glibc #248100 by Diego E. Pettenò.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Revision Changes Path
1.1 net-misc/htun/files/htun-0.9.5-glibc.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/htun/files/htun-0.9.5-glibc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/htun/files/htun-0.9.5-glibc.patch?rev=1.1&content-type=text/plain
Index: htun-0.9.5-glibc.patch
===================================================================
get things building with glibc-2.8
http://bugs.gentoo.org/248100
--- include/common.h
+++ include/common.h
@@ -23,6 +23,7 @@
#ifndef __COMMON_H
#define __COMMON_H
+#include <limits.h>
#include <netinet/in.h>
#include <time.h>
#include "queue.h"
--- src/queue.c
+++ src/queue.c
@@ -34,8 +34,8 @@
#define q_lock(q, cnt) do { int _old; \
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED,&_old); \
pthread_cleanup_push(q_sempost,q); \
- pthread_cleanup_push(q_release,q) \
- pthread_cleanup_push(q_decrement, cnt) \
+ pthread_cleanup_push(q_release,q); \
+ pthread_cleanup_push(q_decrement, cnt); \
pthread_mutex_lock(&((q)->mutex)); \
(*(cnt))++; \
pthread_testcancel()
@@ -43,9 +43,9 @@
/* q_unlock() is called when intentionally exiting critical section */
#define q_unlock(cond) \
pthread_testcancel(); \
- pthread_cleanup_pop(1) \
- pthread_cleanup_pop(1) \
- pthread_cleanup_pop(1) \
+ pthread_cleanup_pop(1); \
+ pthread_cleanup_pop(1); \
+ pthread_cleanup_pop(1); \
if(cond) pthread_cond_broadcast(cond); \
pthread_setcanceltype(_old,NULL); } while(0)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/htun/files: htun-0.9.5-glibc.patch
@ 2014-03-22 19:34 Michael Palimaka (kensington)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka (kensington) @ 2014-03-22 19:34 UTC (permalink / raw
To: gentoo-commits
kensington 14/03/22 19:34:13
Removed: htun-0.9.5-glibc.patch
Log:
Remove old.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-22 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 3:47 [gentoo-commits] gentoo-x86 commit in net-misc/htun/files: htun-0.9.5-glibc.patch Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2014-03-22 19:34 Michael Palimaka (kensington)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox