[Glibc-bsd-commits] r5323 - in trunk/ctfutils/debian: . patches

rmh at alioth.debian.org rmh at alioth.debian.org
Thu Jan 9 23:55:58 UTC 2014


Author: rmh
Date: 2014-01-09 23:55:58 +0000 (Thu, 09 Jan 2014)
New Revision: 5323

Removed:
   trunk/ctfutils/debian/patches/off64_t.diff
Modified:
   trunk/ctfutils/debian/changelog
   trunk/ctfutils/debian/patches/series
   trunk/ctfutils/debian/rules
Log:
Add -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE to CFLAGS. Thanks Aaron M. Ucko. (Closes: #734782)

Modified: trunk/ctfutils/debian/changelog
===================================================================
--- trunk/ctfutils/debian/changelog	2014-01-09 23:43:15 UTC (rev 5322)
+++ trunk/ctfutils/debian/changelog	2014-01-09 23:55:58 UTC (rev 5323)
@@ -1,3 +1,10 @@
+ctfutils (9.2-5) unstable; urgency=low
+
+  * Add -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE to CFLAGS. Thanks
+    Aaron M. Ucko. (Closes: #734782)
+
+ -- Robert Millan <rmh at debian.org>  Fri, 10 Jan 2014 00:54:09 +0100
+
 ctfutils (9.2-4) unstable; urgency=low
 
   * off64_t.diff: Fix off64_t typedef conflict.

Deleted: trunk/ctfutils/debian/patches/off64_t.diff
===================================================================
--- trunk/ctfutils/debian/patches/off64_t.diff	2014-01-09 23:43:15 UTC (rev 5322)
+++ trunk/ctfutils/debian/patches/off64_t.diff	2014-01-09 23:55:58 UTC (rev 5323)
@@ -1,12 +0,0 @@
---- a/sys/cddl/compat/opensolaris/sys/types.h
-+++ b/sys/cddl/compat/opensolaris/sys/types.h
-@@ -52,7 +52,8 @@
- typedef u_long		ulong_t;
- typedef long long	longlong_t;  
- typedef unsigned long long u_longlong_t;
--typedef off_t		off64_t;
-+typedef __off64_t	off64_t;
-+#define __off64_t_defined
- typedef id_t		taskid_t;
- typedef id_t		projid_t;
- typedef id_t		poolid_t;

Modified: trunk/ctfutils/debian/patches/series
===================================================================
--- trunk/ctfutils/debian/patches/series	2014-01-09 23:43:15 UTC (rev 5322)
+++ trunk/ctfutils/debian/patches/series	2014-01-09 23:55:58 UTC (rev 5323)
@@ -5,7 +5,6 @@
 
 # Other patches that might or might not be mergeable
 ulong_t.diff
-off64_t.diff
 
 # Patches that are likely to be Debian-specific
 makefile.diff

Modified: trunk/ctfutils/debian/rules
===================================================================
--- trunk/ctfutils/debian/rules	2014-01-09 23:43:15 UTC (rev 5322)
+++ trunk/ctfutils/debian/rules	2014-01-09 23:55:58 UTC (rev 5323)
@@ -15,6 +15,12 @@
 	-Werror=implicit-function-declaration \
 	$(NULL)
 
+# Satisfy 64-bit off_t assumptions in the compat layer (see #734782)
+CFLAGS += -D_FILE_OFFSET_BITS=64
+
+# Enable fseeko / ftello prototypes, used in the compat layer
+CFLAGS += -D_LARGEFILE_SOURCE
+
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else




More information about the Glibc-bsd-commits mailing list