Skip to content

Instantly share code, notes, and snippets.

View jricesterenator's full-sized avatar

jricesterenator

View GitHub Profile
Justin
Jonathan
@jricesterenator
jricesterenator / meanwhile.rb.dff
Created July 9, 2013 18:39
Change to Adium's homebrew meanwhile.rb configuration to get meanwhile building correctly.
--- a/Library/Formula/meanwhile.rb
+++ b/Library/Formula/meanwhile.rb
@@ -39,6 +39,8 @@ class Meanwhile < Formula
ENV.append_to_cflags("-D_FORTIFY_SOURCE=2")
ENV.append_to_cflags("-fstack-protector-all")
+ ENV['CC'] = 'gcc'
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--disable-doxygen",
@jricesterenator
jricesterenator / session.c.diff
Created August 22, 2012 13:57
meanwhile changes to log server version on connect
--- src/session.c 2005-12-15 14:11:47.000000000 -0600
+++ src/session.c 2012-08-22 08:40:54.043701375 -0500
@@ -448,6 +448,8 @@
property_set(s, mwSession_SERVER_VER_MAJOR, GPOINTER(msg->major), NULL);
property_set(s, mwSession_SERVER_VER_MINOR, GPOINTER(msg->minor), NULL);
+ g_info("Sametime server version (major/minor): 0x%x / 0x%x", msg->major, msg->minor);
+
/* compose the login message */
log = (struct mwMsgLogin *) mwMessage_new(mwMessage_LOGIN);
@jricesterenator
jricesterenator / srvc_place.c
Created August 22, 2012 02:39
final groupchat fix with sametime version check
/*
Meanwhile - Unofficial Lotus Sametime Community Client Library
Copyright (C) 2004 Christopher (siege) O'Brien
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.