Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 533628 Details for
Bug 340953
linux-pcnfsd2-1.6.640.1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for linux-pcnfsd2-1.6.643.1.ebuild adding support for building with libtirpc
linux-pcnfsd2-ebuild.patch (text/plain), 1.21 KB, created by
Mads
on 2018-05-28 08:26:27 UTC
(
hide
)
Description:
Patch for linux-pcnfsd2-1.6.643.1.ebuild adding support for building with libtirpc
Filename:
MIME Type:
Creator:
Mads
Created:
2018-05-28 08:26:27 UTC
Size:
1.21 KB
patch
obsolete
>diff --git a/files/build-with-libtirpc.patch b/files/build-with-libtirpc.patch >new file mode 100644 >index 0000000..5aab567 >--- /dev/null >+++ b/files/build-with-libtirpc.patch >@@ -0,0 +1,32 @@ >+diff --git a/Makefile.linux b/Makefile.linux >+index 0779af2..c5d6f4f 100644 >+--- a/Makefile.linux >++++ b/Makefile.linux >+@@ -40,9 +40,9 @@ HDRS= pcnfsd.h common.h >+ >+ LINTFLAGS= -hbax >+ # uncomment as appropriate for debugging >+-CFLAGS = -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 $(RPM_OPT_FLAGS) >++CFLAGS = -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -I/usr/include/tirpc $(RPM_OPT_FLAGS) >+ #CFLAGS = -g -DDEBUG -DOSVER_BSD386 >+-LIBS = #-lrpc >++LIBS = -ltirpc >+ LIBCRYPT = -lcrypt >+ LFLAGS = >+ >+diff --git a/pcnfsd_svc.c b/pcnfsd_svc.c >+index 3c98fb5..041c95e 100644 >+--- a/pcnfsd_svc.c >++++ b/pcnfsd_svc.c >+@@ -441,9 +441,9 @@ getcallername() >+ struct sockaddr_in actual; >+ struct hostent *hp; >+ static struct in_addr prev; >+- static char cname[128]; >++ static char cname[128]; >+ >+- actual = *svc_getcaller(caller); >++ actual = *((struct sockaddr_in*)svc_getcaller(caller)); >+ >+ if (memcmp((char *)&actual.sin_addr, (char *)&prev, >+ sizeof(struct in_addr)) == 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 340953
:
250551
|
250553
|
279407
|
279409
| 533628