Hi,
Hi today, cvsup'ed my source and build world ...
and now get an so called
Bus error
while i want to su, anyone know about it (or fixed it)
I think the best is to build debugging version of su:
# cd /usr/src/usr.bin/su
# make clean
# make depend
# set CFLAGS=$CFLAGS -g
# make
#
# set CFLAGS=$CFLAGS -g
# make
Arg! Please use
# make CFLAGS='-O -g'
instead.
signature.asc
Description: Digital signature
please revise the patch and submit follow-up.
Done. Tested on both -STABLE and -CURRENT.
I am progress of doing the same for dagrab (expect a follow-up to PR
57227 soon).
Simon
signature.asc
Description: Digital signature
I am progress of doing the same for dagrab (expect a follow-up to PR
57227 soon).
There is no need for extra-patches.
#ifdef CDIOCREADAUDIO seems to be sufficient enough.
The version in GNATs is obsoleted, but my update did not make it there,
although it appeared in freebsd-ports-bugs@ (I
FWIW, the mplayer port also cannot play CDDA anymore on current. It
probably needs a similar patch.
This works for me with a patched version of cdparanoia, which makes
sense, since mplayer is linked against libcdda_paranoia.so.0.
You can get the patch here:
can you make a patch for cdparanoia as well?
cdparanoia is also broken on recent -CURRENT and testing will be easy.
There is already a PR. I will rewise my patch to use __FreeBSD__ in the
patch file instead of using ${EXTRA_PATCHES}.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57226
This
--- Xw/Base.c.orig Wed Jul 23 03:56:03 2003
+++ Xw/Base.c Wed Jul 23 03:56:43 2003
@@ -89,8 +89,8 @@
* default translation table
*/
static char defaultTranslations [] = \
-FocusIn: focus(in)
-FocusOut: focus(out)
+FocusIn: focus(in)\n\
+FocusOut: focus(out)\n\
KeyTab: tab();
--- src/xmms_about.c.orig Wed Jul 23 04:53:36 2003
+++ src/xmms_about.cWed Jul 23 04:54:43 2003
@@ -20,11 +20,11 @@
gtk_container_border_width(GTK_CONTAINER(hbox1), 5);
label = gtk_label_new(
-
-TFMX plugin adapted to xmms by David Le Corfec
-[EMAIL PROTECTED]
--- texts.h.origWed Jul 23 03:48:19 2003
+++ texts.h Wed Jul 23 03:48:56 2003
@@ -1,6 +1,6 @@
#define E_MY_PRGNAME xjumpjump
-#define E_VERSIONJumpJump-0.12 for X, Feb 26th 1997 by
+#define E_VERSIONJumpJump-0.12 for X, Feb 26th 1997 by \
nihil ([EMAIL
--- _Unix-X/libxpce/xvhandler.c.origWed Jul 23 04:43:19 2003
+++ _Unix-X/libxpce/xvhandler.c Wed Jul 23 04:44:31 2003
@@ -342,7 +342,7 @@
/* x_DCTCEDoComp() - Do one component for DCTCE */
int x_DCTCEDoComp(int mask, int color) {
- static const char cnames[] = { red, green, blue };
+
--- Makefile.orig Tue Jul 22 17:13:04 2003
+++ MakefileTue Jul 22 17:13:15 2003
@@ -7,7 +7,7 @@
#
PORTNAME= surf
-PORTVERSION= 1.0.3
+PORTVERSION= 1.0.4
CATEGORIES=math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@@ -27,9 +27,5 @@
--- Makefile.orig Wed Jul 23 15:02:46 2003
+++ MakefileWed Jul 23 15:03:08 2003
@@ -6,7 +6,7 @@
#
PORTNAME= topaz
-PORTVERSION= 3.38
+PORTVERSION= 3.39
CATEGORIES=math
MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
DISTNAME=
--- src/tn5250.c.orig Tue Jul 22 18:25:06 2003
+++ src/tn5250.cTue Jul 22 18:25:31 2003
@@ -179,7 +179,7 @@
tn5250 [options] HOST[:PORT]\n);
#ifdef HAVE_LIBSSL
printf(\
- To connect using ssl prefix HOST with 'ssl:'. Example:
+ To connect using ssl prefix HOST with 'ssl:'.
--- ps.c.orig Tue Jul 22 18:56:13 2003
+++ ps.cTue Jul 22 19:02:44 2003
@@ -187,7 +187,7 @@
/didShowPage false def \n\
%%--\n\
%% Set up the ISO fonts \n\
-
+\n\
%% Times \n\
%% - \n\
/Times-Roman findfont dup length dict
--- Makefile.orig Wed Jul 23 04:08:36 2003
+++ MakefileWed Jul 23 04:09:11 2003
@@ -21,12 +21,9 @@
.include bsd.port.pre.mk
-.if ${OSVERSION} = 500113
-BROKEN= Does not compile (bad C++ code)
-.endif
-
pre-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}
--- IFile.cpp.orig Wed Jul 23 04:32:54 2003
+++ IFile.cpp Wed Jul 23 04:35:43 2003
@@ -100,7 +100,7 @@
while(insz 0) {
size_t result;
outsz = BUFFSIZE;
-result = iconv(ifile-iconv, (char*)inptr, insz, outptr, outsz);
+result = iconv(ifile-iconv, inptr, insz, outptr,
--- wmapp.cc.orig Wed Jul 23 03:26:58 2003
+++ wmapp.ccWed Jul 23 03:28:59 2003
@@ -4,11 +4,9 @@
using std::string;
-namespace Unix {
- extern C {
-# include unistd.h // for usleep()
- }
-};
+extern C {
+# include unistd.h // for usleep()
+}
// All the xpms we need:
These are quite a lot of files, so I put them into a tar archive
http://www.leo.org/~barner/freebsd/x11-toolkits-viewklass_port_patch.tar.gz
signature.asc
Description: Digital signature
--- midimountain/mvcSongProperties.cpp.orig Tue Jul 22 04:23:32 2003
+++ midimountain/mvcSongProperties.cpp Tue Jul 22 04:25:22 2003
@@ -42,7 +42,8 @@
//=
void TMvcSongProperties::SetData( void )
{
- int*
--- belgolib/dirs.c.origTue Jul 22 04:58:32 2003
+++ belgolib/dirs.c Tue Jul 22 04:58:46 2003
@@ -1,5 +1,6 @@
#include stdio.h
#include dirent.h
+#include assert.h
#include list
signature.asc
Description: Digital signature
--- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001
+++ plugins/check_by_ssh.c Tue Jul 22 05:05:52 2003
@@ -191,7 +191,7 @@
if (commands1)
remotecmd=strscat(remotecmd,;echo STATUS CODE: $?;);
- if (strlen (remotecmd) = 1)
+ if (remotecmd==NULL)
--- mod_index_rss.c.origTue Jul 22 04:37:54 2003
+++ mod_index_rss.c Tue Jul 22 04:39:22 2003
@@ -11,18 +11,18 @@
#define TIME_FORMAT %a %b %d %H:%M:%S %Y
/* This is the XML header file */
-#define HEADER ?xml version=\1.0\ encoding=\UTF-8\?
-
-!DOCTYPE rss PUBLIC \-//Netscape
patch-Makefile is in order to make the port respect the CC and CXX
variables.
gsculpt-gcc33-patches.tar.gz contains a whole bunch of patches, mostly
'using std::foo' stuff.
Cheers,
Simon
--- Makefile.orig Mon Jul 21 19:59:12 2003
+++ MakefileMon Jul 21 19:59:38 2003
@@ -27,7 +27,6 @@
gsculpt-gcc33-patches.tar.gz contains a whole bunch of patches, mostly
'using std::foo' stuff.
Since the file was cut by the mailing list system: You can find it here:
http://www.leo.org/~barner/freebsd/gsculpt-gcc33-patches.tar.gz
signature.asc
Description: Digital signature
--- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001
+++ plugins/check_by_ssh.c Tue Jul 22 05:05:52 2003
@@ -191,7 +191,7 @@
if (commands1)
remotecmd=strscat(remotecmd,;echo STATUS CODE: $?;);
- if (strlen (remotecmd) = 1)
+ if (remotecmd==NULL)
Hi,
-ifstream fin( path );
+std::ifstream fin( path );
A much smaller patch could be produced with
using namespace std;
as appropriate.
Have you checked with the upstream author to see which approach is
likely to be rolled into the distribution?
Actually, upgrading the
[...]
If you are running 4.x, you can also help to develop fixes for these
ports by installing the gcc33 port and setting
CC=/usr/local/bin/gcc33
CXX=/usr/local/bin/g++33
[...]
Hi, since I have some spare time today, I fixed some of the broken
ports (I will start with those ports that
--- Makefile.orig Fri Jul 18 17:46:10 2003
+++ MakefileFri Jul 18 17:46:39 2003
@@ -21,11 +21,9 @@
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \
PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
-.include bsd.port.pre.mk
+CFLAGS += -Wno-deprecated
-.if ${OSVERSION} = 500113
-BROKEN=
--- messages.c.orig Fri Jul 18 17:14:00 2003
+++ messages.c Fri Jul 18 17:14:42 2003
@@ -43,7 +43,7 @@
Author: %Z, Site: %U\n\
Comment: %p\n\n\
Audio codec information:\n\
-Signatire: %w\t\tName: %P\n
+Signatire: %w\t\tName: %P\n\
--- html2h/html2h.c.origSat Jul 19 02:31:37 2003
+++ html2h/html2h.c Sat Jul 19 02:32:42 2003
@@ -6,15 +6,15 @@
void usage()
{
- printf(
-html2h v0.1
-usage:
- html2h input.html [output.h]
-
- if output is not set, input.h will be generated and overwritten!
--- freefem/fem/femDisk.cpp.origSat Jul 19 04:09:32 2003
+++ freefem/fem/femDisk.cpp Sat Jul 19 04:13:43 2003
@@ -95,7 +95,7 @@
char *result = 0;
int dummy;
-ifstream fin( path );
+std::ifstream fin( path );
if ( fin.fail() )
{
@@ -198,7 +198,7 @@
--- metaps.c.orig Sat Jul 19 02:38:38 2003
+++ metaps.cSat Jul 19 02:39:09 2003
@@ -209,7 +209,7 @@
// rectangle clipping
// x1 y1 x2 y2 setclip
static char setclipmacro[]= /setclip {\n\
-gsave
+gsave\
/y2 exch def\n\
/x2 exch def\n\
/y1 exch def\n\
--- screens/nc_about.c.orig Mon Jan 17 11:57:20 2000
+++ screens/nc_about.c Sat Jul 19 03:21:09 2003
@@ -86,856 +86,855 @@
*/
struct anim A[]=
-{{\
-
-___ _ __ __
- / / / / | / ___// / / /
- / /_ / / / /| | \\__ \\/ /_/ /
- / __/ / /___/ ___ |___/ /
Is marked broken:
BROKEN=Fails to patch
but the patches do apply and the port does build.
signature.asc
Description: Digital signature
--- htapp.cc.orig Sat Jul 19 05:35:07 2003
+++ htapp.ccSat Jul 19 05:39:02 2003
@@ -2028,7 +2028,7 @@
get_stdbounds_tool(b);
ht_project_window *project_window=new ht_project_window();
- project_window-init(b, project window, FS_KILLER |
--- rdf.c.orig Sat Jul 19 05:08:36 2003
+++ rdf.c Sat Jul 19 05:09:00 2003
@@ -445,8 +445,8 @@
printf(calculate_rdf(): a = %f b = %f c = %f alpha = %f beta = %f gamma = %f\n,
model-pbc[0], model-pbc[1], model-pbc[2],
model-pbc[3], model-pbc[4], model-pbc[5]);
-
--- main.c.orig Sat Jul 19 06:04:26 2003
+++ main.c Sat Jul 19 06:03:37 2003
@@ -21,7 +21,7 @@
#define USAGE usage: lsm [-h] [-o file] [dir] \n \
\n \
\th \t: print this help message\n \
-\tv \t: print current version\n
+\tv \t: print current version\n\
\to file \t: use file as output
The attached patch includes the existing patch file patch-ab, which is
obsolete now.
--- util.c.orig Tue Oct 31 13:06:05 2000
+++ util.c Sat Jul 19 05:45:59 2003
@@ -330,11 +330,11 @@
fclose(f);
if(pid0 useFifo)
{
-
38 matches
Mail list logo