summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/lostirc/Makefile10
-rw-r--r--irc/lostirc/distinfo3
-rw-r--r--irc/lostirc/files/patch-src::gtkmm::Prefs.cpp11
-rw-r--r--irc/lostirc/files/patch-src::libirc::DCC.cpp17
4 files changed, 35 insertions, 6 deletions
diff --git a/irc/lostirc/Makefile b/irc/lostirc/Makefile
index 1e30ac7..98c0b65 100644
--- a/irc/lostirc/Makefile
+++ b/irc/lostirc/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lostirc
-PORTVERSION= 0.2.7
-PORTREVISION= 2
+PORTVERSION= 0.3.2
CATEGORIES= irc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://demian.dyndns.org/src/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= rael@vectorstar.net
@@ -38,8 +38,8 @@ post-patch:
${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
pre-install:
- ${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/intl/Makefile
- ${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/po/Makefile
+ ${REINPLACE_CMD} -E 's|mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)|mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) "${ECHO} $(MKINSTALLDIRS)" ;; *) "${ECHO} $(top_builddir)/$(MKINSTALLDIRS)" ;; esac`|g' ${WRKSRC}/intl/Makefile
+ ${REINPLACE_CMD} -E 's|mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)|mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) "${ECHO} $(MKINSTALLDIRS)" ;; *) "${ECHO} $(top_builddir)/$(MKINSTALLDIRS)" ;; esac`|g' ${WRKSRC}/po/Makefile
post-install:
.if !defined(NOPORTDOCS)
diff --git a/irc/lostirc/distinfo b/irc/lostirc/distinfo
index f7ddd91..7db255b 100644
--- a/irc/lostirc/distinfo
+++ b/irc/lostirc/distinfo
@@ -1 +1,2 @@
-MD5 (lostirc-0.2.7.tar.gz) = 0b6f09dcbcb06076bdc6b17e39456c5c
+MD5 (lostirc-0.3.2.tar.gz) = 551f5c344b14b1fdd8f9f54792a69afc
+SIZE (lostirc-0.3.2.tar.gz) = 557774
diff --git a/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp b/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp
new file mode 100644
index 0000000..4067be0
--- /dev/null
+++ b/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp
@@ -0,0 +1,11 @@
+--- src/gtkmm/Prefs.cpp.ori Sat Feb 7 17:42:11 2004
++++ src/gtkmm/Prefs.cpp Sat Feb 7 17:42:45 2004
+@@ -127,7 +127,7 @@
+ row++;
+
+ // Buffer size for text
+- bufferspin.set_value(double(App->options.buffer_size()));
++ bufferspin.set_value(double(*App->options.buffer_size()));
+ Gtk::Label *plabel4 = manage(new Gtk::Label(_("Maximium number of lines to cache:"), Gtk::ALIGN_LEFT));
+ _prefs_table.attach(*plabel4, 0, 1, row, row + 1);
+ _prefs_table.attach(bufferspin, 1, 2, row, row + 1);
diff --git a/irc/lostirc/files/patch-src::libirc::DCC.cpp b/irc/lostirc/files/patch-src::libirc::DCC.cpp
new file mode 100644
index 0000000..ebebd25
--- /dev/null
+++ b/irc/lostirc/files/patch-src::libirc::DCC.cpp
@@ -0,0 +1,17 @@
+--- src/libirc/DCC.cpp.ori Sat Feb 7 17:25:51 2004
++++ src/libirc/DCC.cpp Sat Feb 7 17:27:32 2004
+@@ -16,12 +16,13 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
++#include <sys/types.h>
++
+ #ifndef WIN32
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #else
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ #define stat _stat
+ #endif
OpenPOWER on IntegriCloud