]> git.pld-linux.org Git - packages/nss_db.git/commitdiff
- do not use glibc private symbols
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 16 Aug 2004 04:25:42 +0000 (04:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nss_db-errno.patch -> 1.1
    nss_db.spec -> 1.27

nss_db-errno.patch [new file with mode: 0644]
nss_db.spec

diff --git a/nss_db-errno.patch b/nss_db-errno.patch
new file mode 100644 (file)
index 0000000..d6de9aa
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN nss_db-2.2.3pre1.org/src/db-open.c nss_db-2.2.3pre1/src/db-open.c
+--- nss_db-2.2.3pre1.org/src/db-open.c 2004-08-16 06:20:08.219189152 +0200
++++ nss_db-2.2.3pre1/src/db-open.c     2004-08-16 06:20:32.966427000 +0200
+@@ -58,7 +58,7 @@
+   if (err != 0)
+     {
+       if (err > 0)
+-      __set_errno (err);
++      errno = err;
+       return NSS_STATUS_UNAVAIL;
+     }
+@@ -75,7 +75,7 @@
+  fail:
+   db->close (db, 0);
+   if (err > 0)
+-    __set_errno (err);
++    errno = err;
+   return NSS_STATUS_UNAVAIL;
+ }
index 45bbb80fae3d41df703255559be43d6188882386..f7aace0cf17256f228b7dfe2100b6ce1cec46df0 100644 (file)
@@ -12,6 +12,7 @@ Patch0:               %{name}-chmod_644.patch
 Patch1:                %{name}-amfix.patch
 Patch2:                %{name}-glibc23.patch
 Patch3:                %{name}-db41.patch
+Patch4:                %{name}-errno.patch
 BuildRequires: autoconf
 BuildRequires: automake >= 1.4
 BuildRequires: db-devel >= 3.0
@@ -36,6 +37,7 @@ glibc-2.2.x.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__gettextize}
This page took 0.062499 seconds and 4 git commands to generate.