[packages/rpm] - removed glob patch, rpm passes test case from http://lists.pld-linux.org/mailman/pipermail/pld-d

baggins baggins at pld-linux.org
Thu Sep 13 12:29:14 CEST 2012


commit 9a13887aa327b378731196bbf5d0229f8f43ca90
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Sep 13 12:28:27 2012 +0200

    - removed glob patch, rpm passes test case from
      http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2008-October/020546.html

 rpm-glob.patch | 34 ----------------------------------
 rpm.spec       |  4 ----
 2 files changed, 38 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 428ab58..03b7940 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1,6 +1,5 @@
 #
 # TODO:
-# - check if glob() patch needs resurrecting/rewriting
 # - check if we want shell autodeps: Requires: executable(ln) executable(mv)
 # - add macros for some ppc, mipsel, alpha and sparc
 #
@@ -95,7 +94,6 @@ Patch8:		%{name}-gettext-in-header.patch
 Patch9:	%{name}-lua.patch
 Patch10:	%{name}-etc_dir.patch
 Patch11:	%{name}-php-deps.patch
-Patch12:	%{name}-glob.patch
 Patch13:	%{name}-notsc.patch
 Patch14:	%{name}-hack-norpmlibdep.patch
 Patch15:	%{name}-epoch0.patch
@@ -771,8 +769,6 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
-# Maybe, at last we can remove this?
-#patch12 -p1
 %patch23 -p1
 %ifarch sparc64
 %patch24 -p1
diff --git a/rpm-glob.patch b/rpm-glob.patch
deleted file mode 100644
index 189c9e5..0000000
--- a/rpm-glob.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- rpm-4.5/rpmio/rpmrpc.c~	2010-12-19 14:19:57.678043380 +0100
-+++ rpm-4.5/rpmio/rpmrpc.c	2010-12-19 14:20:39.353812967 +0100
-@@ -1711,6 +1711,17 @@
- if (_rpmio_debug)
- fprintf(stderr, "*** Glob(%s,0x%x,%p,%p)\n", pattern, (unsigned)flags, (void *)errfunc, pglob);
- /*@=castfcnptr@*/
-+
-+    /* same as upstream glob with difference that gl_stat is Lstat now */
-+    pglob->gl_closedir = closedir;
-+    pglob->gl_readdir = readdir;
-+    pglob->gl_opendir = opendir;
-+    pglob->gl_lstat = Lstat;
-+    pglob->gl_stat = Lstat;
-+
-+/*@=type@*/
-+	flags |= GLOB_ALTDIRFUNC;
-+
-     switch (ut) {
-     case URL_IS_HTTPS:
-     case URL_IS_HTTP:
---- rpm-4.5/configure.ac~	2010-12-19 13:46:37.917863585 +0100
-+++ rpm-4.5/configure.ac	2010-12-19 13:50:49.826071048 +0100
-@@ -1004,8 +1004,8 @@
- #fi
- #
- #if test "$rpm_cv_glob" = yes; then
--    AC_DEFINE(USE_GNU_GLOB, 1, [Use the included glob.c?])
--    AC_LIBOBJ(glob)
-+#    AC_DEFINE(USE_GNU_GLOB, 1, [Use the included glob.c?])
-+#    AC_LIBOBJ(glob)
-     AC_LIBOBJ(fnmatch)
- #fi
- 
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/9a13887aa327b378731196bbf5d0229f8f43ca90



More information about the pld-cvs-commit mailing list