r1897 - in glibc-package/branches/glibc-2.5/debian: . sysdeps
Author: aurel32
Date: 2007-01-08 22:01:51 +0100 (Mon, 08 Jan 2007)
New Revision: 1897
Modified:
glibc-package/branches/glibc-2.5/debian/changelog
glibc-package/branches/glibc-2.5/debian/sysdeps/sparc.mk
Log:
* sysdeps/sparc.mk: install 64-bit headers (actually gnu/stubs-64.h)
directly into /usr/include and provide /usr/include/sparc64-linux-gnu as
a symlink to /usr/include for compatibility reasons. Closes: #403980.
Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog 2007-01-08 11:23:30 UTC (rev 1896)
+++ glibc-package/branches/glibc-2.5/debian/changelog 2007-01-08 21:01:51 UTC (rev 1897)
@@ -64,6 +64,9 @@
(closes: bug#405738).
* debian/any/patches/local-linuxthreads-semaphore_h.diff: new patch (fix
/usr/include/semaphore.h with linuxthreads).
+ * sysdeps/sparc.mk: install 64-bit headers (actually gnu/stubs-64.h)
+ directly into /usr/include and provide /usr/include/sparc64-linux-gnu as
+ a symlink to /usr/include for compatibility reasons. Closes: #403980.
[ Denis Barbier ]
* Remove localedata/locale-en_NZ.diff (merged upstream).
Modified: glibc-package/branches/glibc-2.5/debian/sysdeps/sparc.mk
===================================================================
--- glibc-package/branches/glibc-2.5/debian/sysdeps/sparc.mk 2007-01-08 11:23:30 UTC (rev 1896)
+++ glibc-package/branches/glibc-2.5/debian/sysdeps/sparc.mk 2007-01-08 21:01:51 UTC (rev 1897)
@@ -7,9 +7,17 @@
sparc64_extra_cflags = -g1 -O3
sparc64_extra_config_options = $(extra_config_options) --disable-profile
libc6-sparc64_shlib_dep = libc6-sparc64 (>= $(shlib_dep_ver))
+ --includedir=/usr/include/sparc64-linux-gnu
sparc64_slibdir = /lib64
sparc64_libdir = /usr/lib64
+define libc6-dev-sparc64_extra_pkg_install
+mkdir -p debian/libc6-dev-sparc64/usr/include/gnu
+cp -af debian/tmp-sparc64/usr/include/sparc64-linux-gnu/gnu/stubs-64.h \
+ debian/libc6-dev-sparc64/usr/include/gnu
+ln -sf /usr/include/ debian/libc6-dev-sparc64/usr/include/sparc-linux-gnu
+endef
+
# build a sparcv9 optimized library
GLIBC_PASSES += sparcv9
DEB_ARCH_REGULAR_PACKAGES += libc6-sparcv9
Reply to: