Skip to content

Commit

Permalink
fixes for 11-CURRENT
Browse files Browse the repository at this point in the history
  • Loading branch information
Zirias committed Apr 18, 2016
1 parent eb6514e commit 2dadd67
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
6 changes: 1 addition & 5 deletions obsolete/acroread9/Makefile
Expand Up @@ -20,15 +20,11 @@ LICENSE_PERMS= auto-accept

RUN_DEPENDS= acroreadwrapper>=0.0.20110529:${PORTSDIR}/print/acroreadwrapper

FORBIDDEN= No longer maintained upstream since 2013-06-26
DEPRECATED= No longer maintained upstream since 2013-06-26
EXPIRATION_DATE=2014-08-31

USES= tar:bzip2
RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html
ONLY_FOR_ARCHS= amd64 i386
USE_LINUX= yes
USE_LINUX_APPS= cups-libs gdkpixbuf gtk2 libgcrypt libgpg-error libxml2 pango
USE_LINUX_APPS= cups-libs gdkpixbuf2 gtk2 libgcrypt libgpg-error libxml2 pango
USE_LDCONFIG= yes
#USE_GNOME= desktopfileutils
NO_BUILD= yes
Expand Down
34 changes: 34 additions & 0 deletions obsolete/acroreadwrapper/files/patch-linux__adobe.c
@@ -0,0 +1,34 @@
--- linux_adobe.c.orig 2016-04-18 20:25:50 UTC
+++ linux_adobe.c
@@ -44,14 +44,16 @@ __FBSDID("$FreeBSD$");
#ifdef COMPAT_LINUX32
#include <machine/../linux32/linux.h>
#include <machine/../linux32/linux32_proto.h>
+#define LXSYSENT linux32_sysent
#else
#include <machine/../linux/linux.h>
#include <machine/../linux/linux_proto.h>
+#define LXSYSENT linux_sysent
#endif

#define LINUX_ADOBE_PROCNAME "acroread"

-extern struct sysent linux_sysent[];
+extern struct sysent LXSYSENT[];
#define SYS_linux_sched_setscheduler (156)

static int
@@ -111,11 +113,11 @@ linux_adobe_load(struct module *module,

switch (cmd) {
case MOD_LOAD:
- linux_sysent[SYS_linux_sched_setscheduler].sy_call =
+ LXSYSENT[SYS_linux_sched_setscheduler].sy_call =
(sy_call_t *)linux_adobe_linux_sched_setscheduler;
break;
case MOD_UNLOAD:
- linux_sysent[SYS_linux_sched_setscheduler].sy_call =
+ LXSYSENT[SYS_linux_sched_setscheduler].sy_call =
(sy_call_t *)linux_sched_setscheduler;
break;
default:
4 changes: 0 additions & 4 deletions obsolete/linux-libgtkembedmoz/Makefile
Expand Up @@ -11,10 +11,6 @@ DISTNAME= nvu-1.0-pc-linux2.6.10-gnu
MAINTAINER= hrs@FreeBSD.org
COMMENT= HTML rendering library

BROKEN= No public distfiles
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2015-10-31

NO_BUILD= yes
ONLY_FOR_ARCHS= amd64 i386
USES= uidfix tar:bzip2
Expand Down

0 comments on commit 2dadd67

Please sign in to comment.