Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 23:45:06 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58380: Update port: devel/clanlib to 0.7.5.2
Message-ID:  <20031022234506.71ebc9df.tkato@prontomail.com>
Resent-Message-ID: <200310221450.h9MEoI06011572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58380
>Category:       ports
>Synopsis:       Update port: devel/clanlib to 0.7.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 22 07:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 0.7.5-2

New file:
files/patch-inputbox.cpp
files/patch-soundprovider_recorder_oss.cpp
files/patch-thread_pthread.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/clanlib/Makefile devel/clanlib/Makefile
--- /usr/ports/devel/clanlib/Makefile	Fri Oct 17 19:43:09 2003
+++ devel/clanlib/Makefile	Tue Oct 21 10:42:47 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	clanlib
-PORTVERSION=	0.7.4.1
+PORTVERSION=	0.7.5.2
 CATEGORIES=	devel
 MASTER_SITES=	http://clanlib.org/~sphair/download/
 DISTNAME=	ClanLib-${PORTVERSION:R}-${PORTVERSION:E}
@@ -86,8 +86,10 @@
 	@${ECHO_MSG} ""
 
 post-patch:
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-lpthread||g'
+	@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+		's|SDL/SDL|SDL|g'
+	@${REINPLACE_CMD} -e 's|-lpthread||g' \
+		${WRKSRC}/Sources/Core/Makefile.in
 	@${REINPLACE_CMD} -e 's|@perl_exec@|${PERL}|g' \
 		${WRKSRC}/Documentation/Utilities/webbuilder.pl.in
 
diff -urN /usr/ports/devel/clanlib/distinfo devel/clanlib/distinfo
--- /usr/ports/devel/clanlib/distinfo	Thu Sep 25 03:34:05 2003
+++ devel/clanlib/distinfo	Tue Oct 21 00:40:35 2003
@@ -1 +1 @@
-MD5 (ClanLib-0.7.4-1.tar.bz2) = cf7aabf73590b4fedfa53907029de588
+MD5 (ClanLib-0.7.5-2.tar.bz2) = 40f56ddae5e136d126e6066dc4b6ef1a
diff -urN /usr/ports/devel/clanlib/files/patch-inputbox.cpp devel/clanlib/files/patch-inputbox.cpp
--- /usr/ports/devel/clanlib/files/patch-inputbox.cpp	Thu Jan  1 09:00:00 1970
+++ devel/clanlib/files/patch-inputbox.cpp	Tue Oct 21 04:05:34 2003
@@ -0,0 +1,10 @@
+--- Sources/GUI/inputbox.cpp.orig	Tue Oct 21 03:51:39 2003
++++ Sources/GUI/inputbox.cpp	Tue Oct 21 04:05:08 2003
+@@ -21,6 +21,7 @@
+ */
+ 
+ #include "precomp.h"
++#include <cstdio>
+ #include "API/Core/XML/dom_element.h"
+ #include "API/GUI/inputbox.h"
+ #include "API/GUI/stylemanager.h"
diff -urN /usr/ports/devel/clanlib/files/patch-soundprovider_recorder_oss.cpp devel/clanlib/files/patch-soundprovider_recorder_oss.cpp
--- /usr/ports/devel/clanlib/files/patch-soundprovider_recorder_oss.cpp	Thu Jan  1 09:00:00 1970
+++ devel/clanlib/files/patch-soundprovider_recorder_oss.cpp	Tue Oct 21 02:52:43 2003
@@ -0,0 +1,16 @@
+--- Sources/Sound/SoundProviders/Unix/soundprovider_recorder_oss.cpp.orig	Tue Sep 23 07:15:13 2003
++++ Sources/Sound/SoundProviders/Unix/soundprovider_recorder_oss.cpp	Tue Oct 21 02:52:21 2003
+@@ -34,6 +34,13 @@
+ #include <sys/select.h>
+ #endif
+ 
++#if !defined(AFMT_S16_NE)
++#if defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN)
++#define AFMT_S16_NE AFMT_S16_BE
++#else
++#define AFMT_S16_NE AFMT_S16_LE
++#endif
++#endif
+ 
+ /////////////////////////////////////////////////////////////////////////////
+ // CL_SoundProvider_Recorder_OSS_Session construction:
diff -urN /usr/ports/devel/clanlib/files/patch-thread_pthread.cpp devel/clanlib/files/patch-thread_pthread.cpp
--- /usr/ports/devel/clanlib/files/patch-thread_pthread.cpp	Thu Jan  1 09:00:00 1970
+++ devel/clanlib/files/patch-thread_pthread.cpp	Tue Oct 21 01:22:53 2003
@@ -0,0 +1,9 @@
+--- Sources/Core/System/Unix/thread_pthread.cpp.orig	Thu Oct  9 02:43:49 2003
++++ Sources/Core/System/Unix/thread_pthread.cpp	Tue Oct 21 01:22:12 2003
+@@ -158,5 +158,5 @@
+ 
+ int CL_Thread::get_current_id()
+ {
+-	return pthread_self();
++	return (int)pthread_self();
+ }
diff -urN /usr/ports/devel/clanlib/pkg-plist devel/clanlib/pkg-plist
--- /usr/ports/devel/clanlib/pkg-plist	Thu Sep 25 03:34:06 2003
+++ devel/clanlib/pkg-plist	Tue Oct 21 10:12:58 2003
@@ -91,6 +91,7 @@
 include/ClanLib-0.7/ClanLib/Display/display_window.h
 include/ClanLib-0.7/ClanLib/Display/display_window_description.h
 include/ClanLib-0.7/ClanLib/Display/font.h
+include/ClanLib-0.7/ClanLib/Display/frameratecounter.h
 include/ClanLib-0.7/ClanLib/Display/glyph_buffer.h
 include/ClanLib-0.7/ClanLib/Display/gradient.h
 include/ClanLib-0.7/ClanLib/Display/graphic_context.h
@@ -123,13 +124,11 @@
 include/ClanLib-0.7/ClanLib/GUI/component.h
 include/ClanLib-0.7/ClanLib/GUI/component_manager.h
 include/ClanLib-0.7/ClanLib/GUI/component_move_handler.h
-include/ClanLib-0.7/ClanLib/GUI/component_options.h
 include/ClanLib-0.7/ClanLib/GUI/component_resize_handler.h
 include/ClanLib-0.7/ClanLib/GUI/component_style.h
 include/ClanLib-0.7/ClanLib/GUI/component_type.h
 include/ClanLib-0.7/ClanLib/GUI/filedialog.h
 include/ClanLib-0.7/ClanLib/GUI/frame.h
-include/ClanLib-0.7/ClanLib/GUI/gui_file_parser.h
 include/ClanLib-0.7/ClanLib/GUI/gui_manager.h
 include/ClanLib-0.7/ClanLib/GUI/image.h
 include/ClanLib-0.7/ClanLib/GUI/inputbox.h
@@ -180,6 +179,7 @@
 include/ClanLib-0.7/ClanLib/Network/Browse/browse_client.h
 include/ClanLib-0.7/ClanLib/Network/Browse/browse_master.h
 include/ClanLib-0.7/ClanLib/Network/Browse/browse_server.h
+include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h
 include/ClanLib-0.7/ClanLib/Network/IRC/irc_connection.h
 include/ClanLib-0.7/ClanLib/Network/IRC/irc_numerics.h
 include/ClanLib-0.7/ClanLib/Network/NetObjects/netobject_client.h
@@ -223,6 +223,7 @@
 include/ClanLib-0.7/ClanLib/Sound/SoundFilters/inverse_echofilter.h
 include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_factory.h
 include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_raw.h
+include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_recorder.h
 include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_type.h
 include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_type_register.h
 include/ClanLib-0.7/ClanLib/Sound/SoundProviders/soundprovider_wave.h
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031022234506.71ebc9df.tkato>