diff options
author | Ollivier Robert <roberto@FreeBSD.org> | 2003-03-09 17:08:10 +0000 |
---|---|---|
committer | Ollivier Robert <roberto@FreeBSD.org> | 2003-03-09 17:08:10 +0000 |
commit | 6b466daea7ef6eb23b45adcaef69ec8abd476426 (patch) | |
tree | 2f5cbd3289d31d75e4140170666054e14a0ce9ea /sysutils | |
parent | Add missing files. (diff) |
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)
Notes
Notes:
svn path=/head/; revision=77076
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/sjog/Makefile | 2 | ||||
-rw-r--r-- | sysutils/sjog/files/patch-setbrightness::setbrightness.c | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/sjog/Makefile b/sysutils/sjog/Makefile index 3a55069203c8..f95785f1569f 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 efe6cbaba3f5..40b9062531dd 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[]) { |