summaryrefslogtreecommitdiff
path: root/net/gabber
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-08-19 20:21:45 +0000
committerSteve Price <steve@FreeBSD.org>2000-08-19 20:21:45 +0000
commitf68c29f1ca4a4387efb8c924b2f2b734e8f5283e (patch)
tree5c941d947bc8a8c273c9a56000b142c727c3893e /net/gabber
parentThis port has USE_AUTOMAKE=yes so we need to patch Makefile.am instead of (diff)
Make main return an int so this compiles on -current again.
Notes
Notes: svn path=/head/; revision=31771
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;
+ }