summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2003-03-09 17:08:10 +0000
committerroberto <roberto@FreeBSD.org>2003-03-09 17:08:10 +0000
commit3d4001f7889441f363702909821a58960d0c0336 (patch)
treea7771fa13528268d05f271be7f7709714c1b484f /sysutils
parent13e40a524e1dde2d1e1304f4515b9e4184aef19b (diff)
downloadFreeBSD-ports-3d4001f7889441f363702909821a58960d0c0336.zip
FreeBSD-ports-3d4001f7889441f363702909821a58960d0c0336.tar.gz
1. Fix the build under CURRENT
2. make myself maintainer as the previous one has no hardware anymore to test it. Approved by: portmgr(will)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sjog/Makefile2
-rw-r--r--sysutils/sjog/files/patch-setbrightness::setbrightness.c12
2 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/sjog/Makefile b/sysutils/sjog/Makefile
index 3a55069..f95785f 100644
--- a/sysutils/sjog/Makefile
+++ b/sysutils/sjog/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= alan@clegg.com
+MAINTAINER= roberto@FreeBSD.org
COMMENT= Userland daemon for Sony Vaio Jog Dial
ONLY_FOR_ARCHS= i386
diff --git a/sysutils/sjog/files/patch-setbrightness::setbrightness.c b/sysutils/sjog/files/patch-setbrightness::setbrightness.c
index efe6cba..40b9062 100644
--- a/sysutils/sjog/files/patch-setbrightness::setbrightness.c
+++ b/sysutils/sjog/files/patch-setbrightness::setbrightness.c
@@ -1,6 +1,10 @@
---- setbrightness/setbrightness.c.orig Fri Nov 15 12:59:59 2002
-+++ setbrightness/setbrightness.c Fri Nov 15 13:02:36 2002
-@@ -4,41 +4,52 @@
+--- setbrightness/setbrightness.c.orig Sat Jul 28 19:16:22 2001
++++ setbrightness/setbrightness.c Sun Mar 9 16:19:26 2003
+@@ -1,44 +1,56 @@
+ #define _XOPEN_SOURCE 500
++#define __BSD_VISIBLE 1
+ #include <stdio.h>
+ #include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
@@ -59,7 +63,7 @@
while (inw(CST_REG) & 2) usleep(1);
return (inw(DATA_REG)&255);
}
-@@ -52,14 +63,17 @@
+@@ -52,14 +64,17 @@
int main(int argc, char *argv[])
{
OpenPOWER on IntegriCloud