1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix new compiler error in -current.

Noticed by:		bento
All no response from:	maintainer
This commit is contained in:
R. Imura 2000-02-12 18:15:48 +00:00
parent 2ed3b81778
commit 24765d07d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25695
5 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- Tools/xtermpipe/xtermpipe.cxx.orig Mon Nov 9 12:39:28 1998
+++ Tools/xtermpipe/xtermpipe.cxx Sat Feb 12 11:02:02 2000
@@ -31,7 +31,7 @@
select(pipe_id + 1, (int*)&readfds, (int*)&writefds, (int*)&exceptfds,
(void*)0);
# else
- select(pipe_id + 1, &readfds, &writefds, &exceptfds, (void*)0);
+ select(pipe_id + 1, &readfds, &writefds, &exceptfds, (timeval*)0);
# endif
if(FD_ISSET(0, &readfds))

13
misc/peq/files/patch-ae Normal file
View File

@ -0,0 +1,13 @@
--- read.cpp.orig Fri Mar 26 01:47:31 1999
+++ read.cpp Sat Feb 12 11:12:10 2000
@@ -1,8 +1,8 @@
#include "config.h"
-extern cho;
-extern qnum;
+extern int cho;
+extern long qnum;
extern char comp_time[30];
extern char quote[1500];
extern FILE *pql;

13
misc/peq/files/patch-af Normal file
View File

@ -0,0 +1,13 @@
--- show.cpp.orig Fri Mar 26 01:47:31 1999
+++ show.cpp Sat Feb 12 11:13:09 2000
@@ -3,8 +3,8 @@
extern int wrdnum;
extern char tot[300][100];
-extern author_wrd;
-extern contrib_wrd;
+extern int author_wrd;
+extern int contrib_wrd;
// This is the worst piece of shit (erm... code) you will ever see. It
// practically duplicates the same stuff FOUR TIMES!

12
net/ksamba/files/patch-aa Normal file
View File

@ -0,0 +1,12 @@
--- ksamba/myservicewidget_page1Data.cpp.orig Thu Apr 23 14:43:37 1998
+++ ksamba/myservicewidget_page1Data.cpp Sat Feb 12 05:16:31 2000
@@ -18,6 +18,9 @@
#include <qlabel.h>
#include <qbttngrp.h>
+#define QColor(i) (QColor)(i)
+#define QRgb(i) (QRgb)(i)
+
myservicewidget_page1Data::myservicewidget_page1Data
(
QWidget* parent,

12
net/ksamba/files/patch-ab Normal file
View File

@ -0,0 +1,12 @@
--- ksamba/myservicewidget_page4Data.cpp.orig Thu Apr 23 14:43:38 1998
+++ ksamba/myservicewidget_page4Data.cpp Sat Feb 12 05:18:18 2000
@@ -18,6 +18,9 @@
#include <qlabel.h>
#include <qbttngrp.h>
+#define QColor(i) (QColor)(i)
+#define QRgb(i) (QRgb)(i)
+
myservicewidget_page4Data::myservicewidget_page4Data
(
QWidget* parent,