[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767722: unblock: gnustep-netclasses/1.06.dfsg-7



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package gnustep-netclasses, it fixes RC bug #755514.

Debdiff attached.

unblock gnustep-netclasses/1.06.dfsg-7
diff --git a/debian/changelog b/debian/changelog
index a45be46..50c01e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gnustep-netclasses (1.06.dfsg-7) unstable; urgency=medium
+
+  * debian/patches/NSUInteger-fixes.patch: New; fixes bug with joining a
+    channel on 64-bit architectures (Closes: #755514).
+  * debian/patches/series: Update.
+
+ -- Yavor Doganov <yavor@gnu.org>  Wed, 29 Oct 2014 17:56:36 +0200
+
 gnustep-netclasses (1.06.dfsg-6) unstable; urgency=medium
 
   * debian/source/format: Switch to 3.0 (quilt).
diff --git a/debian/patches/NSUInteger-fixes.patch b/debian/patches/NSUInteger-fixes.patch
new file mode 100644
index 0000000..b3d90d5
--- /dev/null
+++ b/debian/patches/NSUInteger-fixes.patch
@@ -0,0 +1,61 @@
+Description: NSUInteger fixes for 64-bit platforms.
+Bug-Debian: https://bugs.debian.org/755514
+Origin: upstream, commit: r2540
+Last-Update: 2014-10-29
+---
+
+--- gnustep-netclasses.orig/Source/IRCObject.m
++++ gnustep-netclasses/Source/IRCObject.m
+@@ -143,7 +143,7 @@
+ 	
+ #define NEXT_NON_SPACE(__y, __z, __string)\
+ {\
+-	int __len = [(__string) length];\
++	NSUInteger __len = [(__string) length];\
+ 	id set = [NSCharacterSet whitespaceCharacterSet];\
+ 	__z = (__y);\
+ 	while (__z < __len && \
+@@ -152,9 +152,9 @@
+ 
+ static inline NSString *get_IRC_prefix(NSString *line, NSString **prefix)
+ {
+-	int beg;
+-	int end;
+-	int len = [line length];
++	NSUInteger beg;
++	NSUInteger end;
++	NSUInteger len = [line length];
+ 	
+ 	if (len == 0)
+ 	{
+@@ -205,9 +205,9 @@
+ 	
+ static inline NSString *get_next_IRC_word(NSString *line, NSString **prefix)
+ {
+-	int beg;
+-	int end;
+-	int len = [line length];
++	NSUInteger beg;
++	NSUInteger end;
++	NSUInteger len = [line length];
+ 	
+ 	if (len == 0)
+ 	{
+@@ -440,7 +440,7 @@
+ static void rec_part(IRCObject *client, NSString *command,
+                      NSString *prefix, NSArray *paramList)
+ {
+-	int x;
++	NSUInteger x;
+ 	
+ 	if (!prefix)
+ 	{	
+@@ -565,7 +565,7 @@
+                      NSArray *paramList)
+ {
+ 	NSArray *newParams;
+-	int x;
++	NSUInteger x;
+ 	
+ 	if (!prefix)
+ 	{
diff --git a/debian/patches/series b/debian/patches/series
index c354cf7..a4a526d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+NSUInteger-fixes.patch
 gcc-warnings.patch
 fix-log-format.patch
 link-libs.patch

Reply to: