Hello community, here is the log from the commit of package ncpfs checked in at Mon May 1 14:23:30 CEST 2006. -------- --- ncpfs/ncpfs.changes 2006-03-22 19:59:50.000000000 +0100 +++ STABLE/ncpfs/ncpfs.changes 2006-04-29 12:39:42.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Apr 29 12:39:28 CEST 2006 - olh@suse.de + +- use privat offsetof macro + +------------------------------------------------------------------- New: ---- ncpfs.offsetof.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ncpfs.spec ++++++ --- /var/tmp/diff_new_pack.sB5Z8V/_old 2006-05-01 14:23:18.000000000 +0200 +++ /var/tmp/diff_new_pack.sB5Z8V/_new 2006-05-01 14:23:18.000000000 +0200 @@ -16,7 +16,7 @@ Group: Productivity/Networking/Novell Autoreqprov: on Version: 2.2.6 -Release: 16 +Release: 22 PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Tools for Accessing Novell File Systems @@ -30,6 +30,7 @@ Patch2: ncpfs.LDFLAGS.patch Patch3: ncpfs.pam_ncp_auth.syslog.patch Patch4: ncpfs._PutFilterFirstPass.patch +Patch5: ncpfs.offsetof.patch %description With this program, you can mount Netware server file systems under @@ -68,6 +69,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 tar xfvj %{SOURCE12} if [ "$UID" = 0 ] ; then chown -R 0:0 . ; fi @@ -170,6 +172,8 @@ %{_libdir}/libncp.so %changelog -n ncpfs +* Sat Apr 29 2006 - olh@suse.de +- use privat offsetof macro * Wed Mar 22 2006 - lmuelle@suse.de - Add cups novell backend from the cups-backends package here. * Wed Jan 25 2006 - mls@suse.de ++++++ ncpfs.offsetof.patch ++++++ linux/stddef.h was included by accident. use private offsetof macro --- sutil/ncpm_common.h | 1 + 1 file changed, 1 insertion(+) Index: ncpfs-2.2.6/sutil/ncpm_common.h =================================================================== --- ncpfs-2.2.6.orig/sutil/ncpm_common.h +++ ncpfs-2.2.6/sutil/ncpm_common.h @@ -122,5 +122,6 @@ int proc_aftermount(const struct ncp_mou int proc_ncpm_umount(const char* dir); #define UNUSED(x) x __attribute__((unused)) +#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif /* __NCPM_COMMON_H__ */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de