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: 06-Feb-2005 15:55:48
Branch: HEAD Handle: 2005020614554700
Added files:
openpkg-src/cgdb cgdb.patch
Modified files:
openpkg-src/cgdb cgdb.spec
Log:
fix building under FreeBSD 5.3
Summary:
Revision Changes Path
1.1 +19 -0 openpkg-src/cgdb/cgdb.patch
1.4 +3 -1 openpkg-src/cgdb/cgdb.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/cgdb/cgdb.patch
============================================================================
$ cvs diff -u -r0 -r1.1 cgdb.patch
--- /dev/null 2005-02-06 15:55:47 +0100
+++ cgdb.patch 2005-02-06 15:55:48 +0100
@@ -0,0 +1,19 @@
+Index: various/util/src/pseudo.c
+--- various/util/src/pseudo.c.orig 2004-07-14 18:20:32 +0200
++++ various/util/src/pseudo.c 2005-02-06 15:54:05 +0100
+@@ -35,6 +35,7 @@
+ */
+
+ #include "config.h"
++#include <sys/types.h>
+ #define _GNU_SOURCE /* ptsname_r() under Linux */
+ #include <fcntl.h>
+ #include <grp.h>
+@@ -49,7 +50,6 @@
+ #include <libutil.h>
+ #endif
+
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <stdio.h>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/cgdb/cgdb.spec
============================================================================
$ cvs diff -u -r1.3 -r1.4 cgdb.spec
--- openpkg-src/cgdb/cgdb.spec 1 Jan 2005 10:48:19 -0000 1.3
+++ openpkg-src/cgdb/cgdb.spec 6 Feb 2005 14:55:47 -0000 1.4
@@ -34,10 +34,11 @@
Group: Development
License: GPL
Version: 0.5.0
-Release: 20040728
+Release: 20050206
# list of sources
Source0: http://osdn.dl.sourceforge.net/cgdb/cgdb-%{version}.tar.gz
+Patch0: cgdb.patch
# build information
Prefix: %{l_prefix}
@@ -65,6 +66,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]