tags 337857 patch
thanks

Hi Sebastian,

I have prepared a porter NMU to fix this bug in libobjc-lf2, which is a
trivially fixable bug caused by some clearly incorrect overloading of
standard function prototypes on alpha only.  The patch to fix this is
attached; please forward it to upstream.

The NMU will be uploaded to incoming shortly.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/
diff -u libobjc-lf2-2.95.3r115/debian/changelog libobjc-lf2-2.95.3r115/debian/changelog
--- libobjc-lf2-2.95.3r115/debian/changelog
+++ libobjc-lf2-2.95.3r115/debian/changelog
@@ -1,3 +1,13 @@
+libobjc-lf2 (2.95.3r115-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * 0-day alpha porter NMU.
+  * Fix broken, alpha-specific override of memcpy() prototype, and drop
+    duplicate declaration of strlen(); this is why standard headers
+    exist (and why they're already included).  Closes: #337857.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Mon, 30 Apr 2007 23:43:25 -0700
+
 libobjc-lf2 (2.95.3r115-1) unstable; urgency=low
 
   * New upstream release.
only in patch2:
unchanged:
--- libobjc-lf2-2.95.3r115.orig/sarray.c
+++ libobjc-lf2-2.95.3r115/sarray.c
@@ -40,10 +40,6 @@
 
 const char* __objc_sparse2_id = "2 level sparse indices";
 
-#ifdef __alpha__
-const void *memcpy (void*, const void*, size_t);
-#endif
-
 static void sarray_free_garbage(void *vp);
 
 /* sparse array 2 */
only in patch2:
unchanged:
--- libobjc-lf2-2.95.3r115.orig/Object.m
+++ libobjc-lf2-2.95.3r115/Object.m
@@ -321,10 +321,6 @@
                      object_get_class_name(self), sel_get_name(aSel)];
 }
 
-#ifdef __alpha__
-extern size_t strlen(const char*);
-#endif
-
 - error:(const char *)aString, ...
 {
 #define FMT "error: %s (%s)\n%s\n"

Reply via email to