aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-10-28 10:15:11 +0800
committerfjoe <fjoe@FreeBSD.org>2003-10-28 10:15:11 +0800
commit03c540d9a82bc2786eab12bc699bd17c5afa420e (patch)
tree6ede714c24adf849444a8a933f7bb2f84852aecc /devel
parentbbb4b46e47303f462e427f0ca68d99961e3ff55b (diff)
downloadfreebsd-ports-gnome-03c540d9a82bc2786eab12bc699bd17c5afa420e.tar.gz
freebsd-ports-gnome-03c540d9a82bc2786eab12bc699bd17c5afa420e.tar.zst
freebsd-ports-gnome-03c540d9a82bc2786eab12bc699bd17c5afa420e.zip
Fix build on -CURRENT.
Bump PORTREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/rudiments/Makefile1
-rw-r--r--devel/rudiments/files/patch-config.mk.in8
-rw-r--r--devel/rudiments/files/patch-src-daemonprocess.C17
-rw-r--r--devel/rudiments/files/patch-src-genericsocket.C29
4 files changed, 51 insertions, 4 deletions
diff --git a/devel/rudiments/Makefile b/devel/rudiments/Makefile
index 1a606de0b7ca..de076cdf8715 100644
--- a/devel/rudiments/Makefile
+++ b/devel/rudiments/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rudiments
PORTVERSION= 0.24
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/rudiments/files/patch-config.mk.in b/devel/rudiments/files/patch-config.mk.in
index 45919ca56ddc..d90287d7c31a 100644
--- a/devel/rudiments/files/patch-config.mk.in
+++ b/devel/rudiments/files/patch-config.mk.in
@@ -1,5 +1,5 @@
---- config.mk.in.orig Fri Aug 10 12:23:23 2001
-+++ config.mk.in Sat Sep 22 02:04:54 2001
+--- config.mk.in.orig Mon Apr 15 11:21:21 2002
++++ config.mk.in Tue Oct 28 07:39:01 2003
@@ -7,13 +7,13 @@
exec_prefix = @exec_prefix@
incdir = @includedir@
@@ -12,7 +12,7 @@
# debug and optimization flags (-g, -O2, etc.)
-CXXFLAGS = -pedantic -w -O2 -fPIC @CXXFLAGS@
-+CXXFLAGS = -pedantic -w -fPIC @CXXFLAGS@
++CXXFLAGS = -w -fPIC @CXXFLAGS@
# command to build a shared object library
- DYNAMICAR = ld -G -o
+ DYNAMICAR = @DYNAMICAR@
diff --git a/devel/rudiments/files/patch-src-daemonprocess.C b/devel/rudiments/files/patch-src-daemonprocess.C
new file mode 100644
index 000000000000..5f5581f59087
--- /dev/null
+++ b/devel/rudiments/files/patch-src-daemonprocess.C
@@ -0,0 +1,17 @@
+--- src/daemonprocess.C.orig Tue Oct 28 07:43:40 2003
++++ src/daemonprocess.C Tue Oct 28 07:43:46 2003
+@@ -22,10 +22,10 @@
+ #include <rudiments/daemonprocess.h>
+
+ #ifdef __GNUC__
+-static signalhandler *daemonprocess::termhandler;
+-static signalhandler *daemonprocess::inthandler;
+-static void (*daemonprocess::shutdownfunc)(int);
+-static signalhandler *daemonprocess::deadchildhandler;
++signalhandler *daemonprocess::termhandler;
++signalhandler *daemonprocess::inthandler;
++void (*daemonprocess::shutdownfunc)(int);
++signalhandler *daemonprocess::deadchildhandler;
+ #endif
+
+ daemonprocess::daemonprocess() {
diff --git a/devel/rudiments/files/patch-src-genericsocket.C b/devel/rudiments/files/patch-src-genericsocket.C
new file mode 100644
index 000000000000..b7dc7089b985
--- /dev/null
+++ b/devel/rudiments/files/patch-src-genericsocket.C
@@ -0,0 +1,29 @@
+--- src/genericsocket.C.orig Mon Apr 15 11:21:24 2002
++++ src/genericsocket.C Tue Oct 28 08:10:37 2003
+@@ -211,7 +211,7 @@
+ // If we got no error, just didn't get
+ // all of the data, we need to get the
+ // rest.
+- return retval+safeRead(fd,buf+retval,
++ return retval+safeRead(fd,(char *)buf+retval,
+ realcount-retval);
+ } else if (errno && showerrors) {
+ cerr << "error: read failed: ";
+@@ -223,7 +223,7 @@
+
+ // handle cases where count>SSIZE_MAX by continuing to read
+ if (realcount<count) {
+- return retval+safeRead(fd,buf+retval,count-retval);
++ return retval+safeRead(fd,(char *)buf+retval,count-retval);
+ }
+
+ return retval;
+@@ -260,7 +260,7 @@
+
+ // must send at least 1 iovector with 1 byte of real data
+ struct iovec iovector[1];
+- iovector[0].iov_base=(void *)" ";
++ iovector[0].iov_base=const_cast<char *>(" ");
+ iovector[0].iov_len=sizeof(char);
+ messageheader.msg_iov=iovector;
+ messageheader.msg_iovlen=1;