OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 13-Dec-2002 14:58:58
Branch: HEAD Handle: 2002121313585700
Added files:
openpkg-src/htdig htdig.patch
Modified files:
openpkg-src/htdig htdig.spec
Log:
flush
Summary:
Revision Changes Path
1.1 +98 -0 openpkg-src/htdig/htdig.patch
1.28 +2 -0 openpkg-src/htdig/htdig.spec
____________________________________________________________________________
Index: openpkg-src/htdig/htdig.patch
============================================================
$ cvs update -p -r1.1 htdig.patch
--- htlib/HtRegexReplace.cc.orig 2001-02-23 01:31:32.000000000 +0100
+++ htlib/HtRegexReplace.cc 2002-12-13 14:33:07.000000000 +0100
@@ -20,7 +20,7 @@
{
}
-HtRegexReplace::HtRegexReplace(const char *from, const char *to, int case_sensitive
= 0)
+HtRegexReplace::HtRegexReplace(const char *from, const char *to, int case_sensitive)
: HtRegex(from, case_sensitive)
{
memset(®s, 0, sizeof(regs));
--- htlib/HtRegexReplaceList.cc.orig 2001-02-23 01:31:32.000000000 +0100
+++ htlib/HtRegexReplaceList.cc 2002-12-13 14:36:42.000000000 +0100
@@ -18,7 +18,7 @@
#include "HtRegexReplaceList.h"
#include <stream.h>
-HtRegexReplaceList::HtRegexReplaceList(StringList &list, int case_sensitive = 0)
+HtRegexReplaceList::HtRegexReplaceList(StringList &list, int case_sensitive)
{
if (list.Count() & 1)
{
@@ -49,7 +49,7 @@
// replacers gets chucked away
}
-int HtRegexReplaceList::replace(String &str, int nullpattern = 0, int nullstr = 0)
+int HtRegexReplaceList::replace(String &str, int nullpattern, int nullstr)
{
int repCount = replacers.Count();
int doneCount = 0;
--- htcommon/DocumentDB.cc.orig 2001-02-23 01:31:29.000000000 +0100
+++ htcommon/DocumentDB.cc 2002-12-13 14:37:01.000000000 +0100
@@ -120,7 +120,7 @@
// We will attempt to open up an existing document database,
// and accompanying index database and excerpt database
//
-int DocumentDB::Read(const String& filename, const String& indexfilename = 0, const
String& headfilename = 0)
+int DocumentDB::Read(const String& filename, const String& indexfilename, const
String& headfilename)
{
// If the database is already open, we'll close it
// We might be opening this object with a new filename, so we'll be safe
--- htcommon/HtConfiguration.cc.orig 2001-02-23 01:31:29.000000000 +0100
+++ htcommon/HtConfiguration.cc 2002-12-13 14:38:08.000000000 +0100
@@ -150,7 +150,7 @@
//*********************************************************************
int HtConfiguration::Value(const char *blockName, const char *name,
- const char *value, int default_value = 0) {
+ const char *value, int default_value) {
int retValue=default_value;
String tmpStr=Find(blockName,name,value);
if (tmpStr[0]!=0) {
@@ -161,7 +161,7 @@
//*********************************************************************
double HtConfiguration::Double(const char *blockName, const char *name,
- const char *value, double default_value = 0) {
+ const char *value, double default_value) {
double retValue=default_value;
String tmpStr=Find(blockName,name,value);
if (tmpStr[0]!=0) {
@@ -172,7 +172,7 @@
//*********************************************************************
int HtConfiguration::Boolean(const char *blockName, const char *name,
- const char *value, int default_value = 0) {
+ const char *value, int default_value) {
int retValue=default_value;
String tmpStr=Find(blockName,name,value);
if (tmpStr[0]!=0) {
@@ -192,7 +192,7 @@
//*********************************************************************
//*********************************************************************
int HtConfiguration::Value(URL *aUrl, const char *value,
- int default_value = 0) {
+ int default_value) {
int retValue=default_value;
String tmpStr=Find(aUrl,value);
if (tmpStr[0]!=0) {
@@ -203,7 +203,7 @@
//*********************************************************************
double HtConfiguration::Double(URL *aUrl,const char *value,
- double default_value = 0) {
+ double default_value) {
double retValue=default_value;
String tmpStr=Find(aUrl,value);
if (tmpStr[0]!=0) {
@@ -214,7 +214,7 @@
//*********************************************************************
int HtConfiguration::Boolean(URL *aUrl,const char *value,
- int default_value = 0) {
+ int default_value) {
int retValue=default_value;
String tmpStr=Find(aUrl,value);
if (tmpStr[0]!=0) {
Index: openpkg-src/htdig/htdig.spec
============================================================
$ cvs diff -u -r1.27 -r1.28 htdig.spec
--- openpkg-src/htdig/htdig.spec 13 Dec 2002 12:50:03 -0000 1.27
+++ openpkg-src/htdig/htdig.spec 13 Dec 2002 13:58:57 -0000 1.28
@@ -37,6 +37,7 @@
# list of sources
Source0: http://www.htdig.org/files/htdig-%{version}.tar.gz
+Patch0: htdig.patch
# build information
Prefix: %{l_prefix}
@@ -59,6 +60,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]