update package libircclient

pull/13/head
Lothar May 13 years ago
parent 707237488b
commit 1c13ff1a2d

@ -3,35 +3,10 @@ See doc/index.html for further information.
Contains ad hoc patches for cross building.
From 7e5a98fd8854295cfde1987cb7d077c5876111b2 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Thu, 23 Jun 2011 15:45:49 +1000
Subject: [PATCH 1/3] The wrong source files are specified in the makefile.
There is one wrapper source file which includes all and
implements additional functions.
diff --git a/src/Makefile.in b/src/Makefile.in
index 091c6af..e3b7f81 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -20,7 +20,7 @@ install: lib
cp ../include/libirc_events.h @prefix@/include/libirc_events.h
cp libirc.a @prefix@/include/lib/libirc.a
-$(OBJS): utils.c dcc.c errors.c portable.c sockets.c colors.c
+$(OBJS): libircclient.c
libircclient.a: $(OBJS)
$(AR) libircclient.a $(OBJS)
--
1.7.3.4
From e7a3c62440a8c89c48914d8d45bb2e3d14b9bbd8 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Thu, 23 Jun 2011 15:47:52 +1000
Subject: [PATCH 2/3] IPv6 support is broken and is forced to be disabled.
Subject: [PATCH 1/2] IPv6 support is broken and is forced to be disabled.
This place is sufficient - IPv6 initialisation will now cause an error.
@ -55,7 +30,7 @@ index 5d266c0..1ec11c1 100644
From 78326f1af372da340197c15897b54fdd45652bf3 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Thu, 23 Jun 2011 15:48:33 +1000
Subject: [PATCH 3/3] Use the proper WIN32 define.
Subject: [PATCH 2/2] Use the proper WIN32 define.
diff --git a/include/libircclient.h b/include/libircclient.h

@ -5,8 +5,8 @@
# Note that IPv6 support is partly broken and therefore disabled.
PKG := libircclient
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.3
$(PKG)_CHECKSUM := 19b01d0227e717b58630037131798ee34fb0b414
$(PKG)_VERSION := 1.5
$(PKG)_CHECKSUM := 7aaffc82379db5238ccbf612bd7b85cd8f8306e9
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://sourceforge.net/projects/$(PKG)/
@ -26,7 +26,7 @@ define $(PKG)_BUILD
--disable-debug \
--enable-threads \
--disable-ipv6
$(MAKE) -C '$(1)'/src -j '$(JOBS)'
$(MAKE) -C '$(1)'/src -j '$(JOBS)' static
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
$(INSTALL) -m644 '$(1)/src/libircclient.a' '$(PREFIX)/$(TARGET)/lib/'
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include/libircclient'

Loading…
Cancel
Save