xrandr: update to 1.5.3
[oi-userland.git] / components / database / unixodbc / patches / 000-configure.patch
blob7c961f4503f4c2d49eb0fc97f7f88b2107c8640b
1 We seem to historically prefer pthreads instead of native threads.
3 https://github.com/lurcher/unixODBC/commit/7d72255824cb96599e71d19fbbc94405db658274#r108478182
5 Historically we were suggesting -lsocket -lnsl -lgen -z ignore for our users.
7 --- unixODBC-2.3.11/DriverManager/odbc.pc.in
8 +++ unixODBC-2.3.11/DriverManager/odbc.pc.in
9 @@ -17,4 +17,4 @@ URL: http://unixodbc.org
10 Version: @PACKAGE_VERSION@
11 Cflags: -I${includedir}
12 Libs: -L${libdir} -lodbc
13 -Libs.private: @LIBLTDL@ @LIBS@
14 +Libs.private: @LIBLTDL@ @LIBS@ -lsocket -lnsl -lgen -z ignore
15 --- unixODBC-2.3.11/configure.ac
16 +++ unixODBC-2.3.11/configure.ac
17 @@ -394,9 +394,9 @@ AC_DEFINE([HAVE_LIBPTH], [1], [Use the -
18 else
19 gotthread="no";
21 - AC_MSG_CHECKING( if os is AIX )
22 + AC_MSG_CHECKING( if $host_os os is AIX or Solaris )
23 case $host_os in
24 - "aix"*)
25 + "aix"|"solaris"*)
26 raw_threads="no";
27 AC_MSG_RESULT( yes - disable check for libthread );
29 --- unixODBC-2.3.11/odbcinst/odbcinst.pc.in
30 +++ unixODBC-2.3.11/odbcinst/odbcinst.pc.in
31 @@ -9,4 +9,4 @@ URL: http://unixodbc.org
32 Version: @PACKAGE_VERSION@
33 Cflags: -I${includedir}
34 Libs: -L${libdir} -lodbcinst
35 -Libs.private: @LIBLTDL@ @LIBS@
36 +Libs.private: @LIBLTDL@ @LIBS@ -lsocket -lnsl -lgen -z ignore