Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 456260 Details for
Bug 602714
app-misc/datefudge doesn’t compile with musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Untested patch
patch (text/plain), 1.05 KB, created by
Felix Janda
on 2016-12-14 23:59:50 UTC
(
hide
)
Description:
Untested patch
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2016-12-14 23:59:50 UTC
Size:
1.05 KB
patch
obsolete
>diff --git a/datefudge.c b/datefudge.c >index f816639..1501b10 100644 >--- a/datefudge.c >+++ b/datefudge.c >@@ -5,8 +5,6 @@ > * Copyright (C) 2008-2011, Robert Luberda <robert@debian.org> > * > */ >-#define _GNU_SOURCE >- > #include <sys/file.h> > #include <sys/stat.h> > #include <fcntl.h> >@@ -17,7 +15,7 @@ > #include <features.h> > #include <unistd.h> > #include <time.h> >-#include <sys/time.h> >+#include <sys/types.h> > > static int fudge = 0; > static int dostatic = 0; >@@ -62,8 +60,8 @@ time_t time(time_t *x) { > > #endif > >-int __gettimeofday(struct timeval *x, struct timezone *y) { >- static int (*libc_gettimeofday)(struct timeval *, struct timezone *) = NULL; >+int __gettimeofday(struct timeval *x, void *y) { >+ static int (*libc_gettimeofday)(struct timeval *, void *) = NULL; > int res; > > if(!libc_gettimeofday) >@@ -74,7 +72,7 @@ int __gettimeofday(struct timeval *x, struct timezone *y) { > return 0; > } > >-int gettimeofday(struct timeval *x, struct timezone *y) { >+int gettimeofday(struct timeval *x, void *y) { > return __gettimeofday(x,y); > } >
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 602714
:
456254
| 456260