OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 14-Jan-2003 15:10:01
Branch: HEAD Handle: 2003011414095902
Added files:
openpkg-src/suck suck.patch
Modified files:
openpkg-src/suck suck.spec
openpkg-web news.txt
Log:
port to Solaris and simplify patching
Summary:
Revision Changes Path
1.1 +40 -0 openpkg-src/suck/suck.patch
1.23 +3 -2 openpkg-src/suck/suck.spec
1.2725 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/suck/suck.patch
============================================================================
$ cvs diff -u -r0 -r1.1 suck.patch
--- /dev/null 2003-01-14 15:10:01.000000000 +0100
+++ suck.patch 2003-01-14 15:10:01.000000000 +0100
@@ -0,0 +1,40 @@
+--- suckutils.h.orig Sun Nov 8 16:38:32 1998
++++ suckutils.h Tue Jan 14 15:04:31 2003
+@@ -11,6 +11,8 @@
+ int do_lockfile(PMaster);
+ #endif
+
++#undef FP_SET
++#undef FP_GET
+ enum { FP_SET, FP_GET, FP_SET_POSTFIX, FP_GET_NOPOSTFIX, FP_GET_POSTFIX}; /* get
or set call for full_path() */
+ enum { FP_TMPDIR, FP_DATADIR, FP_MSGDIR, FP_NONE }; /* which dir in full_path()
*/
+ #define FP_NR_DIRS 3 /* this must match nr
of enums */
+--- db.h.orig Sun Feb 7 20:27:00 1999
++++ db.h Tue Jan 14 15:02:23 2003
+@@ -9,4 +9,4 @@
+ int db_open(PMaster);
+ void db_close(PMaster);
+
+-#endif _SUCK_DB_H
++#endif /* _SUCK_DB_H */
+--- rpost.c.orig Tue Jan 14 15:05:43 2003
++++ rpost.c Tue Jan 14 15:05:54 2003
+@@ -27,7 +27,7 @@
+ #ifndef PL_na
+ # define PL_na (na)
+ #endif
+-#endif /* OLD_PERL */u
++#endif /* OLD_PERL */
+ #endif
+
+ #ifdef HAVE_DIRENT_H
+--- killfile.c.orig Tue Aug 28 01:55:03 2001
++++ killfile.c Tue Jan 14 15:08:55 2003
+@@ -55,7 +55,6 @@
+ void print_debug(PKillStruct, const char *);
+ void debug_one_kill(POneKill);
+ void add_to_linkedlist(pmy_regex *, pmy_regex);
+-const char *strnstr(const char *, const char *);
+ pmy_regex regex_scan(char *, char, int, int, char);
+ int regex_check(char *, pmy_regex, int);
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/suck/suck.spec
============================================================================
$ cvs diff -u -r1.22 -r1.23 suck.spec
--- openpkg-src/suck/suck.spec 13 Jan 2003 14:45:01 -0000 1.22
+++ openpkg-src/suck/suck.spec 14 Jan 2003 14:10:01 -0000 1.23
@@ -33,10 +33,11 @@
Group: Converter
License: GPL
Version: 4.3.1
-Release: 20030113
+Release: 20030114
# list of sources
Source0: http://www.sucknews.org/suck-%{version}.tar.gz
+Patch0: suck.patch
# build information
Prefix: %{l_prefix}
@@ -55,7 +56,7 @@
%prep
%setup -q
- %{l_shtool} subst -e 's;strnstr;disable_strnstr;g' killfile.c
+ %patch -p0
%build
echo "ac_cv_lib_ndbm_main=no" >config.cache
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.2724 -r1.2725 news.txt
--- openpkg-web/news.txt 14 Jan 2003 13:57:03 -0000 1.2724
+++ openpkg-web/news.txt 14 Jan 2003 14:09:59 -0000 1.2725
@@ -1,3 +1,4 @@
+14-Jan-2003: Upgraded package: P<suck-4.3.1-20030114>
14-Jan-2003: Upgraded package: P<amd-6.0.8-20030114>
14-Jan-2003: Upgraded package: P<libdnet-1.5-20030114>
14-Jan-2003: Upgraded package: P<gd1-1.8.4-20030114>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]