1 |
radhermit 11/11/27 07:28:25 |
2 |
|
3 |
Added: hbaapi-2.2-qa.patch |
4 |
Log: |
5 |
Update to EAPI 4, respect CFLAGS (bug #241988), restrict test phase (bug #320357), respect LDFLAGS (bug #336558), and fix various qa warnings. |
6 |
|
7 |
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-apps/hbaapi/files/hbaapi-2.2-qa.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hbaapi/files/hbaapi-2.2-qa.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hbaapi/files/hbaapi-2.2-qa.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: hbaapi-2.2-qa.patch |
16 |
=================================================================== |
17 |
--- hbaapi_src_2.2.orig/HBAAPILIB.c |
18 |
+++ hbaapi_src_2.2/HBAAPILIB.c |
19 |
@@ -30,7 +30,6 @@ |
20 |
|
21 |
#ifdef WIN32 |
22 |
#include <windows.h> |
23 |
-#include <string.h> |
24 |
/* |
25 |
* Next define forces entry points in the dll to be exported |
26 |
* See hbaapi.h to see what it does. |
27 |
@@ -40,6 +39,7 @@ |
28 |
#include <dlfcn.h> |
29 |
#include <strings.h> |
30 |
#endif |
31 |
+#include <string.h> |
32 |
#include <stdio.h> |
33 |
#include <time.h> |
34 |
#include "hbaapi.h" |
35 |
@@ -395,7 +395,7 @@ |
36 |
GRAB_MUTEX(&_hbaapi_APSE_mutex); |
37 |
GRAB_MUTEX(&_hbaapi_TE_mutex); |
38 |
GRAB_MUTEX(&_hbaapi_LE_mutex); |
39 |
- for(listp = cb_lists_array, found = 0; found == 0, *listp != NULL; listp++) { |
40 |
+ for(listp = cb_lists_array, found = 0; found == 0 && *listp != NULL; listp++) { |
41 |
lastp = *listp; |
42 |
for(cbp=**listp; cbp != NULL; cbp = cbp->next) { |
43 |
if(cbhandle != (HBA_CALLBACKHANDLE)cbp) { |
44 |
--- hbaapi_src_2.2.orig/hbaapitest.c |
45 |
+++ hbaapi_src_2.2/hbaapitest.c |
46 |
@@ -28,6 +28,7 @@ |
47 |
|
48 |
|
49 |
#include <stdio.h> |
50 |
+#include <stdlib.h> |
51 |
#ifndef WIN32 |
52 |
#include <dlfcn.h> /* Dynamic library support for Solaris */ |
53 |
#include <time.h> |