OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 30-Jan-2003 16:46:11
Branch: HEAD Handle: 2003013015460901
Added files:
openpkg-src/mtr mtr.patch
Modified files:
openpkg-src/mtr mtr.spec
openpkg-web news.txt
Log:
include BSD fixes from NetBSD-pkgsrc and require gtk
Summary:
Revision Changes Path
1.1 +27 -0 openpkg-src/mtr/mtr.patch
1.2 +7 -3 openpkg-src/mtr/mtr.spec
1.3105 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mtr/mtr.patch
============================================================================
$ cvs diff -u -r0 -r1.1 mtr.patch
--- /dev/null 2003-01-30 16:46:11.000000000 +0100
+++ mtr.patch 2003-01-30 16:46:11.000000000 +0100
@@ -0,0 +1,27 @@
+
+--- net.c.orig Wed Mar 6 12:27:37 2002
++++ net.c
+@@ -219,7 +219,9 @@
+ rv = sendto(sendsock, packet, packetsize, 0,
+ (struct sockaddr *)&remoteaddress, sizeof(remoteaddress));
+ if (rv >= 0) {
++#if 0
+ fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
++#endif
+ BSDfix = 1;
+ }
+ }
+
+--- dns.c.orig Sat Nov 23 18:24:16 2002
++++ dns.c Thu Jan 9 16:25:23 2003
+@@ -743,8 +743,8 @@
+ void dorequest(char *s,int type,word id){
+ packetheader *hp;
+ int r,i;
+- int buf[(MaxPacketsize/sizeof (int))+1];
+- r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,(unsigned
char*)buf,MaxPacketsize);
++ unsigned char buf[MaxPacketsize];
++ r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize);
+ if (r == -1){
+ restell("Resolver error: Query too large.");
+ return;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mtr/mtr.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 mtr.spec
--- openpkg-src/mtr/mtr.spec 30 Jan 2003 15:33:35 -0000 1.1
+++ openpkg-src/mtr/mtr.spec 30 Jan 2003 15:46:10 -0000 1.2
@@ -37,12 +37,13 @@
# list of sources
Source0: ftp://ftp.bitwizard.nl/mtr/mtr-%{version}.tar.gz
+Patch0: mtr.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20030103
-PreReq: OpenPKG, openpkg >= 20030103
+BuildPreReq: OpenPKG, openpkg >= 20030103, gtk
+PreReq: OpenPKG, openpkg >= 20030103, gtk
AutoReq: no
AutoReqProv: no
@@ -52,6 +53,7 @@
%prep
%setup -q
+ %patch0 -p0
%build
CC="%{l_cc}" \
@@ -61,7 +63,9 @@
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
- --prefix=%{l_prefix}
+ --prefix=%{l_prefix} \
+ --with-gtk-prefix=%{l_prefix} \
+ --with-gtk-exec-prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
%install
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3104 -r1.3105 news.txt
--- openpkg-web/news.txt 30 Jan 2003 15:33:34 -0000 1.3104
+++ openpkg-web/news.txt 30 Jan 2003 15:46:09 -0000 1.3105
@@ -1,3 +1,4 @@
+30-Jan-2003: Upgraded package: P<mtr-0.52-20030130>
30-Jan-2003: New package: P<mtr-0.52-20030130>
30-Jan-2003: Upgraded package: P<ex-1.0.2-20030130>
30-Jan-2003: Upgraded package: P<sendmail-8.12.7-20030130>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]