summaryrefslogtreecommitdiff
path: root/devel/libusb/patches/patch-aa
blob: bcdaaa039de68208f343ef22e7cc0663ce6f3167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aa,v 1.5 2005/02/14 09:50:18 adam Exp $

--- configure.orig	2005-02-11 01:51:06.000000000 +0000
+++ configure
@@ -19226,8 +19226,8 @@ _ACEOF
 
     BSD_API=1
     os_support=bsd
-    echo "$as_me:$LINENO: result: FreeBSD" >&5
-echo "${ECHO_T}FreeBSD" >&6
+    echo "$as_me:$LINENO: result: NetBSD" >&5
+echo "${ECHO_T}NetBSD" >&6
     OSLIBS=""
     ;;
   *-darwin*)
@@ -21635,17 +21635,11 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <dev/usb/usb.h>
-int
-main ()
-{
 int main(void)
      {
        int a = ((struct usb_ctl_request *)0L)->ucr_addr;
        return 0;
      }
-  ;
-  return 0;
-}
 _ACEOF
 rm -f conftest.$ac_objext
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5