summaryrefslogtreecommitdiff
path: root/audio/mp3check/patches/patch-ac
blob: ed109df4656bbdd01bf81619e899251bbfb73343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2003/02/16 23:08:25 abs Exp $

--- texception.h.orig	Tue Dec  3 22:00:57 2002
+++ texception.h
@@ -57,7 +57,7 @@ class TException {
       va_end(ap);
    }
 #endif
-#if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED)
+#ifndef HAVE_STRDUP
    static char *strdup(const char *str) { char *buf; vasprintf(&buf, "%s", str); return buf; }
 #endif
 };