OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 20-Jan-2003 12:34:35
Branch: OPENPKG_1_2_SOLID Handle: 2003012011343400
Added files: (Branch: OPENPKG_1_2_SOLID)
openpkg-src/proftpd proftpd.patch
Modified files: (Branch: OPENPKG_1_2_SOLID)
openpkg-src/proftpd proftpd.spec
Log:
MFS: patch against glibc-poking
Summary:
Revision Changes Path
1.2.4.1 +51 -0 openpkg-src/proftpd/proftpd.patch
1.42.2.1.2.2+2 -0 openpkg-src/proftpd/proftpd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/proftpd/proftpd.patch
============================================================================
$ cvs diff -u -r0 -r1.2.4.1 proftpd.patch
--- /dev/null 2003-01-20 12:34:35.000000000 +0100
+++ proftpd.patch 2003-01-20 12:34:35.000000000 +0100
@@ -0,0 +1,51 @@
+--- include/glibc-glob.h Mon Jan 20 11:59:41 2003
++++ include/glibc-glob.h Mon Jan 20 12:08:48 2003
+@@ -49,24 +49,6 @@
+ # define __PMT(x) __P(x)
+ #endif
+
+-/* We need `size_t' for the following definitions. */
+-#ifndef __size_t
+-# if defined __GNUC__ && __GNUC__ >= 2
+-typedef __SIZE_TYPE__ __size_t;
+-# ifdef _XOPEN_SOURCE
+-typedef __SIZE_TYPE__ size_t;
+-# endif
+-# else
+-/* This is a guess. */
+-typedef unsigned long int __size_t;
+-# endif
+-#else
+-/* The GNU CC stddef.h version defines __size_t as empty. We need a real
+- definition. */
+-# undef __size_t
+-# define __size_t size_t
+-#endif
+-
+ /* Bits set in the FLAGS argument to `glob'. */
+ #define GLOB_ERR (1 << 0)/* Return on read errors. */
+ #define GLOB_MARK (1 << 1)/* Append a slash to each name. */
+@@ -117,9 +99,9 @@
+ #endif
+ typedef struct
+ {
+- __size_t gl_pathc; /* Count of paths matched by the pattern. */
++ size_t gl_pathc; /* Count of paths matched by the pattern. */
+ char **gl_pathv; /* List of matched pathnames. */
+- __size_t gl_offs; /* Slots to reserve in `gl_pathv'. */
++ size_t gl_offs; /* Slots to reserve in `gl_pathv'. */
+ int gl_flags; /* Set to FLAGS, maybe | GLOB_MAGCHAR. */
+
+ /* If the GLOB_ALTDIRFUNC flag is set, the following functions
+@@ -147,9 +129,9 @@
+ # endif
+ typedef struct
+ {
+- __size_t gl_pathc;
++ size_t gl_pathc;
+ char **gl_pathv;
+- __size_t gl_offs;
++ size_t gl_offs;
+ int gl_flags;
+
+ /* If the GLOB_ALTDIRFUNC flag is set, the following functions
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/proftpd/proftpd.spec
============================================================================
$ cvs diff -u -r1.42.2.1.2.1 -r1.42.2.1.2.2 proftpd.spec
--- openpkg-src/proftpd/proftpd.spec 18 Jan 2003 17:22:12 -0000 1.42.2.1.2.1
+++ openpkg-src/proftpd/proftpd.spec 20 Jan 2003 11:34:34 -0000 1.42.2.1.2.2
@@ -44,6 +44,7 @@
Source2: proftpd.msg.goaway
Source3: proftpd.msg.login
Source4: rc.proftpd
+Patch0: proftpd.patch
# build information
Prefix: %{l_prefix}
@@ -75,6 +76,7 @@
%prep
%setup -q
+ %patch -p0
%build
# make non-standard "rundir" the same as standard "sysconfdir"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]