aboutsummaryrefslogtreecommitdiffstats
path: root/net/gabber
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-20 04:21:45 +0800
committersteve <steve@FreeBSD.org>2000-08-20 04:21:45 +0800
commita904a0321342d0ddb495c16e766187ec2721969e (patch)
tree92ac3e028047691a64a5cca731b63a7bf454e933 /net/gabber
parentb68e497f7bd773ef81452c342186f1e7ddc02460 (diff)
downloadfreebsd-ports-gnome-a904a0321342d0ddb495c16e766187ec2721969e.tar.gz
freebsd-ports-gnome-a904a0321342d0ddb495c16e766187ec2721969e.tar.zst
freebsd-ports-gnome-a904a0321342d0ddb495c16e766187ec2721969e.zip
Make main return an int so this compiles on -current again.
Diffstat (limited to 'net/gabber')
-rw-r--r--net/gabber/files/patch-ag17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/gabber/files/patch-ag b/net/gabber/files/patch-ag
new file mode 100644
index 000000000000..122152059342
--- /dev/null
+++ b/net/gabber/files/patch-ag
@@ -0,0 +1,17 @@
+--- jabberoo/test/jidtest.cc.orig Thu Aug 17 16:31:50 2000
++++ jabberoo/test/jidtest.cc Thu Aug 17 16:32:35 2000
+@@ -4,7 +4,7 @@
+ #include <iostream>
+ using namespace std;
+
+-void main(int argc, char** argv)
++int main(int argc, char** argv)
+ {
+ string jid = "user@host.com/resource";
+ cerr << "JID: " << jid << endl
+@@ -20,4 +20,5 @@
+ << "2: " << jid2 << "\t" << JID::getHost(jid2) << endl
+ << "3: " << jid3 << "\t" << JID::getHost(jid3) << endl
+ << "4: " << jid4 << "\t" << JID::getHost(jid4) << endl;
++ return 0;
+ }