Re: recode - uninitialized pointer resulting in corrupted text

2014-09-23 Thread Paul Stoeber
Christian Weisgerber: Can you provide an example that triggers the problem? Or an explanation? In the while (cursor input_buffer || input_char != EOF) loop, the cursor pointer sometimes refers to input_buffer and sometimes to output_buffer. It must refer to input_buffer at the start of the

recode - uninitialized pointer resulting in corrupted text

2014-09-19 Thread Paul Stoeber
--- recode-3.6/src/libiconv.c.orig Sat Jul 1 17:13:25 2000 +++ recode-3.6/src/libiconv.c Fri Sep 19 18:05:03 2014 @@ -195,9 +195,9 @@ memcpy() doesn't do here, because the regions might overlap. memmove() isn't worth it, because we rarely have to move more than

improper formatting in /usr/ports/INDEX

2007-09-23 Thread Paul Stoeber
Symptom: $ cd /usr/ports $ make search name=jeoip | grep '^Archs:' Archs: jre-=1.5.0:devel/jdk/1.5 $ make print-licenses | egrep -v '^.{40}([yn] ){4}' Fix: Index: ports/infrastructure/mk/bsd.port.mk === RCS file:

graphics/png doesn't honor the *OWN and *GRP variables

2006-10-24 Thread Paul Stoeber
I'm assuming it should, although there's a sentence in the FAQ that suggests this is unsupported (Examples are the _fake_ and install make targets.; my emphasis). Anyway, I'm doing 'make package' as non-root by setting these variables, and it mostly works. The diff looks wrong. Wouldn't it be

Re: pkg_dig - sh(1) script

2006-09-27 Thread Paul Stoeber
Here's a variation on the theme that serves me well. #!/bin/sh # # pkg_nuke - delete unneeded packages # # Usage: # pkg_info wanted # vi wanted # keep only the lines you want # pkg_nuke wanted # # All packages will be deleted, except the # wanted packages and their dependencies. # [ $#

Re: pfstat

2006-09-13 Thread Paul Stoeber
On Wed, 13 Sep 2006 16:30:23 +0200 Mohamed HARIZI [EMAIL PROTECTED] wrote: Then i have put ports.tar.gz from CD-ROM in /usr and made tar vxzf ports.tar.gz Try again with tar pvxzf ports.tar.gz (the 'p' flag might be important). Or install the compiled package: select a mirror from

Re: How to boot /dev/cd0a inside qemu-0.8.1

2006-09-12 Thread Paul Stoeber
On Tue, 12 Sep 2006 02:43:40 +0200 Zoran Ivanic [EMAIL PROTECTED] wrote: Nice, works ok for me with cdroms, but coredumps when trying to boot two bootable dvds i have. Floating point exception (core dumped) gdb says something about intentionally dividing by zero.. Here's a revised

Re: How to boot /dev/cd0a inside qemu-0.8.1

2006-09-12 Thread Paul Stoeber
On Tue, 12 Sep 2006 17:31:38 -0401 Ray Lai [EMAIL PROTECTED] wrote: Try to minimize the changes in your diff. Remember, these diffs may be sent upstream. No way they will accept a diff that removes __sun__ and _WIN32 defines! There is no need to change the !fstat() and if (ioctl()) to 0

How to boot /dev/cd0a inside qemu-0.8.1

2006-09-11 Thread Paul Stoeber
Step 1: Fix kernel/5235. http://article.gmane.org/gmane.os.openbsd.bugs/8586 has a suggestion. Step 2: Add the diff below as /usr/ports/emulators/qemu/patches/patch-block_c Step 3: Install the port, then qemu -cdrom /dev/cd0a -boot d -m 32 --- block.c.origMon Sep 11 21:36:19 2006 +++

How to build a non-coredumping aMule 2.1.3

2006-09-01 Thread Paul Stoeber
This build procedure works for me under an OpenBSD 3.9 user account. Unpack SHA1 (wxGTK-2.6.3.tar.bz2) = 7c2dfe27a56aa99b4ea557a436bf84a13a579a9d then ./configure --prefix=$HOME/local gmake gmake install Unpack SHA1 (aMule-2.1.3.tar.bz2) = dd47deb38e7a5b823550b85150f5a814c597b273 then apply