[Glibc-bsd-commits] r4380 - in trunk/freebsd-libs/debian: . patches

Christoph Egger christoph at alioth.debian.org
Sun Dec 30 00:18:45 UTC 2012


Author: christoph
Date: 2012-12-30 00:18:45 +0000 (Sun, 30 Dec 2012)
New Revision: 4380

Added:
   trunk/freebsd-libs/debian/patches/implicit-declaration
Modified:
   trunk/freebsd-libs/debian/changelog
   trunk/freebsd-libs/debian/patches/series
   trunk/freebsd-libs/debian/rules
Log:
* Upload to unstable
* Fix 'warning: implicit declaration of function 'reallocf'
  (and several other functions) (Closes: 685625)
* Make that warning an error so that it does not pass silently
  in the future 

Modified: trunk/freebsd-libs/debian/changelog
===================================================================
--- trunk/freebsd-libs/debian/changelog	2012-12-30 00:18:30 UTC (rev 4379)
+++ trunk/freebsd-libs/debian/changelog	2012-12-30 00:18:45 UTC (rev 4380)
@@ -1,3 +1,16 @@
+freebsd-libs (9.0+ds1-4) unstable; urgency=low
+
+  [ Christoph Egger ]
+  * Upload to unstable
+
+  [ Jeff Epler ]
+  * Fix 'warning: implicit declaration of function 'reallocf'
+    (and several other functions) (Closes: 685625)
+  * Make that warning an error so that it does not pass silently
+    in the future 
+
+ -- Christoph Egger <christoph at debian.org>  Sat, 29 Dec 2012 15:49:19 -0800
+
 freebsd-libs (9.0+ds1-3) unstable; urgency=low
 
   [ Robert Millan ]

Added: trunk/freebsd-libs/debian/patches/implicit-declaration
===================================================================
--- trunk/freebsd-libs/debian/patches/implicit-declaration	                        (rev 0)
+++ trunk/freebsd-libs/debian/patches/implicit-declaration	2012-12-30 00:18:45 UTC (rev 4380)
@@ -0,0 +1,70 @@
+Description: Fix crashes due to undeclared functions
+ The consequence of at least one of these (in geom_getxml.c) was a crash
+ when there was a lot of data in kern.geom.confdml.
+ .
+ freebsd-libs (9.0+ds1-3.1) UNRELEASED; urgency=low
+ .
+   * Fix 'warning: implicit declaration of function 'reallocf'
+     (and several other functions) (Closes: 685625)
+Author: Jeff Epler <jepler at unpythonic.net>
+Bug-Debian: http://bugs.debian.org/685625
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Forwarded: no
+Last-Update: <2012-12-21>
+
+--- freebsd-libs-9.0+ds1.orig/lib/libdevstat/devstat.c
++++ freebsd-libs-9.0+ds1/lib/libdevstat/devstat.c
+@@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
+ #include <sys/errno.h>
+ #include <sys/resource.h>
+ #include <sys/queue.h>
++#include <bsd/stdlib.h>
+ 
+ #include <ctype.h>
+ #include <err.h>
+--- freebsd-libs-9.0+ds1.orig/lib/libusbhid/usage.c
++++ freebsd-libs-9.0+ds1/lib/libusbhid/usage.c
+@@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$");
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <bsd/stdio.h>
+ 
+ #include "usbhid.h"
+ 
+--- freebsd-libs-9.0+ds1.orig/lib/libgeom/geom_ctl.c
++++ freebsd-libs-9.0+ds1/lib/libgeom/geom_ctl.c
+@@ -39,6 +39,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <paths.h>
++#include <bsd/stdlib.h>
+ 
+ #include <sys/queue.h>
+ 
+--- freebsd-libs-9.0+ds1.orig/lib/libgeom/geom_getxml.c
++++ freebsd-libs-9.0+ds1/lib/libgeom/geom_getxml.c
+@@ -33,6 +33,8 @@
+ #include <sys/sysctl.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <bsd/stdlib.h>
++
+ #include "libgeom.h"
+ 
+ char *
+--- freebsd-libs-9.0+ds1.orig/sys/netinet/libalias/alias_db.c
++++ freebsd-libs-9.0+ds1/sys/netinet/libalias/alias_db.c
+@@ -157,6 +157,7 @@ __FBSDID("$FreeBSD$");
+ #include <sys/errno.h>
+ #include <sys/time.h>
+ #include <unistd.h> 
++#include <bsd/stdlib.h>
+ #endif
+ 
+ #include <sys/socket.h>

Modified: trunk/freebsd-libs/debian/patches/series
===================================================================
--- trunk/freebsd-libs/debian/patches/series	2012-12-30 00:18:30 UTC (rev 4379)
+++ trunk/freebsd-libs/debian/patches/series	2012-12-30 00:18:45 UTC (rev 4380)
@@ -18,3 +18,4 @@
 libusb_backward.diff
 libbsd_nlist.diff
 kvm_size_t_kludge.diff
+implicit-declaration

Modified: trunk/freebsd-libs/debian/rules
===================================================================
--- trunk/freebsd-libs/debian/rules	2012-12-30 00:18:30 UTC (rev 4379)
+++ trunk/freebsd-libs/debian/rules	2012-12-30 00:18:45 UTC (rev 4380)
@@ -18,7 +18,8 @@
 revision	:= $(shell echo $(full_version) | sed -e 's/^[^+-]*//g')
 
 CFLAGS = -Wall -g -pipe -fPIC -I. -I$(CURDIR)/sys -D_GNU_SOURCE \
-         -D__va_list=__builtin_va_list
+         -D__va_list=__builtin_va_list \
+	 -Werror=implicit-function-declaration
 
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0




More information about the Glibc-bsd-commits mailing list