Commit 97788194 authored by Ariadne Conill's avatar Ariadne Conill 🐰

community/unarj: time64 fixes

parent bf1288ed
......@@ -7,7 +7,8 @@ options="!check" # No testsuite
url="http://www.arjsoftware.com"
arch="all"
license="custom"
source="https://src.fedoraproject.org/repo/pkgs/unarj/unarj-$pkgver.tar.gz/c6fe45db1741f97155c7def322aa74aa/unarj-$pkgver.tar.gz"
source="https://src.fedoraproject.org/repo/pkgs/unarj/unarj-$pkgver.tar.gz/c6fe45db1741f97155c7def322aa74aa/unarj-$pkgver.tar.gz
time64.patch"
build() {
make
......@@ -17,4 +18,5 @@ package() {
install -D -m755 unarj $pkgdir/usr/bin/unarj
}
sha512sums="747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7 unarj-2.65.tar.gz"
sha512sums="747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7 unarj-2.65.tar.gz
5c699162ef6c1d66e9b25dd0eb9b1684211622c09665b467751a7cb599dba4b1e888818a89fb846574adc858ea962ec114e65f08e62e7d21d28f282ee797b330 time64.patch"
--- unarj-2.65.orig/environ.c
+++ unarj-2.65/environ.c
@@ -431,15 +431,8 @@
#define SUBS_DEFINED
#include <time.h>
-
-#ifndef time_t
-#define time_t long
-#endif
-
-extern struct tm *localtime();
-extern time_t time();
-extern char *strcpy();
-extern voidp *malloc();
+#include <string.h>
+#include <stdlib.h>
FILE *
file_open(name, mode)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment